add runway to experience
This commit is contained in:
+62
-2
@@ -469,12 +469,11 @@ h2 {
|
||||
min-width: 0;
|
||||
}
|
||||
.track {
|
||||
margin: 0 0 0 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
.track li {
|
||||
position: relative;
|
||||
@@ -486,6 +485,67 @@ h2 {
|
||||
.track li.now {
|
||||
border-color: var(--line-2);
|
||||
}
|
||||
.track .rwy {
|
||||
position: relative;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
background: #151a17;
|
||||
border-left: 2px solid var(--flap);
|
||||
border-right: 2px solid var(--flap);
|
||||
color: var(--flap);
|
||||
line-height: 1;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.track > div:first-child .rwy::before,
|
||||
.track > div:last-child .rwy::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 64px;
|
||||
height: 20px;
|
||||
background: repeating-linear-gradient(
|
||||
90deg,
|
||||
var(--flap) 0 5px,
|
||||
transparent 5px 10px
|
||||
);
|
||||
z-index: 1;
|
||||
}
|
||||
.track > div:first-child .rwy::before {
|
||||
top: 0;
|
||||
}
|
||||
.track > div:last-child .rwy::before {
|
||||
bottom: 0;
|
||||
}
|
||||
.track .rwy::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
width: 4px;
|
||||
transform: translateX(-50%);
|
||||
background: repeating-linear-gradient(
|
||||
180deg,
|
||||
var(--flap) 0 24px,
|
||||
transparent 24px 48px
|
||||
);
|
||||
}
|
||||
.track > div:first-child .rwy::after {
|
||||
clip-path: inset(50% 0 0 0);
|
||||
}
|
||||
.track > div:last-child .rwy::after {
|
||||
clip-path: inset(0 0 50% 0);
|
||||
}
|
||||
.track .rwy span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 8px 0;
|
||||
background: #151a17;
|
||||
}
|
||||
.track > div:not(:last-child) > li {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.track .dot {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
|
||||
Reference in New Issue
Block a user