add runway to experience
This commit is contained in:
@@ -12,7 +12,7 @@ var it = 0;
|
||||
it++;
|
||||
return (
|
||||
<div class="flex">
|
||||
<div class="font-runway text-5xl flex-none w-16 flex items-center justify-center">{it.toString().padStart(2, "0")}</div>
|
||||
<div class="rwy font-runway text-5xl flex-none w-32 flex items-center justify-center"><span>{it.toString().padStart(2, "0")}</span></div>
|
||||
<li class="flex-auto" class:list={{ now: e.current }}>
|
||||
<!-- <span class="dot" style={`width:${s}px;height:${s}px;left:${-23 - s}px;background:${colors[Math.min(i, colors.length - 1)]}`} /> -->
|
||||
<div class="dates">{e.dates}</div>
|
||||
|
||||
+9
-11
@@ -37,9 +37,7 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
|
||||
</section>
|
||||
|
||||
<section class="section" id="projects" aria-labelledby="projects-h">
|
||||
<div class="section-head">
|
||||
<div class="t"><span class="tag">RNG 1</span><h2 id="projects-h">Projects</h2></div>
|
||||
</div>
|
||||
<SectionHeader tag="RNG 1" title="Projects" />
|
||||
<ul class="legend">
|
||||
{domains.map((d) => <li data-domain={d.domain}><i></i>{d.label}</li>)}
|
||||
</ul>
|
||||
@@ -49,17 +47,17 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
|
||||
</section>
|
||||
|
||||
<section class="section" id="history" aria-labelledby="history-h">
|
||||
<div class="cols">
|
||||
<div class="hist">
|
||||
<div class="section-head" style="margin-bottom:28px"><div class="t"><span class="tag">RNG 2</span><h2 id="history-h">Track history</h2></div></div>
|
||||
<Timeline />
|
||||
</div>
|
||||
<Channels />
|
||||
</div>
|
||||
<SectionHeader tag="RNG 2" title="Experience" />
|
||||
<Timeline />
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<SectionHeader tag="RNG 3" title="Skills" />
|
||||
<Channels />
|
||||
</section>
|
||||
|
||||
<section class="section" id="captures" aria-labelledby="captures-h">
|
||||
<SectionHeader tag="RNG 3" title="Captures" />
|
||||
<SectionHeader tag="RNG 4" title="Captures" />
|
||||
<Captures />
|
||||
</section>
|
||||
|
||||
|
||||
+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