Improve snake timeline styling

This commit is contained in:
2021-08-27 00:12:35 +02:00
parent f162356627
commit 1cfa38596d
@@ -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 {