mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-24 06:56:59 +00:00
Improve snake timeline styling
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user