mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-25 07:26:58 +00:00
Fix portfolio timeline on dark mode
This commit is contained in:
@@ -118,8 +118,6 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
background-color: #222;
|
|
||||||
color: #fff;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
@@ -128,6 +126,14 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
|
background-color: $light-color;
|
||||||
|
color: $light-background;
|
||||||
|
|
||||||
|
.dark-theme & {
|
||||||
|
background-color: $dark-color;
|
||||||
|
color: $dark-background;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
@@ -137,11 +143,10 @@
|
|||||||
top: -50px;
|
top: -50px;
|
||||||
width: calc(50% + 50px);
|
width: calc(50% + 50px);
|
||||||
height: calc(100% + 83px);
|
height: calc(100% + 83px);
|
||||||
background: rbga(0, 0, 255, 0.3);
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
border-bottom: 3px solid #222;
|
border-bottom: 3px solid;
|
||||||
border-top: 3px solid #222;
|
border-top: 3px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
@@ -154,7 +159,7 @@
|
|||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
left: -50px;
|
left: -50px;
|
||||||
border-left: 3px solid #222;
|
border-left: 3px solid;
|
||||||
border-radius: 15px 0 0 15px;
|
border-radius: 15px 0 0 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -168,7 +173,7 @@
|
|||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
right: -50px;
|
right: -50px;
|
||||||
border-right: 3px solid #222;
|
border-right: 3px solid;
|
||||||
border-radius: 0 15px 15px 0;
|
border-radius: 0 15px 15px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user