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

Loading…
Cancel
Save