Improve snake timeline styling

alternate-navbar
Maik de Kruif 3 years ago
parent f162356627
commit 1cfa38596d
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 9
      themes/maik-blog/assets/scss/_portfolios.scss

@ -40,8 +40,7 @@
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
align-items: center; align-items: center;
padding: 30px; margin: 80px 0;
margin: 80px;
position: relative; position: relative;
counter-increment: portfolio; counter-increment: portfolio;
@ -106,7 +105,7 @@
min-height: 50px; min-height: 50px;
line-height: 50px; line-height: 50px;
text-align: center; text-align: center;
top: 70px; top: 30px;
z-index: 10; z-index: 10;
} }
@ -124,7 +123,7 @@
} }
&:nth-child(odd) { &:nth-child(odd) {
margin-left: 40px; // margin-left: 40px;
// background: #cfc; // background: #cfc;
&::before { &::before {
@ -138,7 +137,7 @@
} }
} }
&:nth-child(even) { &:nth-child(even) {
margin-left: -40px; // margin-left: -40px;
// background: #fcc; // background: #fcc;
&::before { &::before {

Loading…
Cancel
Save