The top bar's accent button becomes Portfolio (Email stays in the hero and the contact band), the hero gets a Full portfolio button, and the project list ends with a large block linking to it. The link points at Gitea's list of repos with the portfolio topic; the sync supplies the count and the resume file can override the target and label. Also eases the display weight and tracking of the name in the dark theme. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XtcZtnG4GQA1d6mW5PNrS9
100 lines
1.7 KiB
CSS
100 lines
1.7 KiB
CSS
.bar {
|
|
position: fixed;
|
|
z-index: 50;
|
|
inset: 0 0 auto 0;
|
|
border-bottom: 1px solid transparent;
|
|
transition: background-color 0.25s, border-color 0.25s;
|
|
}
|
|
|
|
.solid {
|
|
background: var(--topbar-bg);
|
|
border-bottom-color: var(--line);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.inner {
|
|
width: var(--shell);
|
|
height: 68px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
|
|
.mark {
|
|
margin-right: auto;
|
|
font: 700 20px/1 var(--font-head);
|
|
letter-spacing: -0.03em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
gap: 28px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav a {
|
|
text-decoration: none;
|
|
padding: 6px 0;
|
|
background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
|
|
transition: background-size 0.25s;
|
|
}
|
|
|
|
.nav a:hover {
|
|
background-size: 100% 1.5px;
|
|
}
|
|
|
|
.cta {
|
|
margin-left: -12px;
|
|
padding: 10px 18px;
|
|
border-radius: var(--radius-control);
|
|
background: var(--ink);
|
|
color: var(--paper);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.cta:hover {
|
|
background: var(--z);
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.toggle {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-control);
|
|
background: transparent;
|
|
color: var(--ink);
|
|
box-shadow: inset 0 0 0 1px var(--line);
|
|
cursor: pointer;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.toggle:hover {
|
|
box-shadow: inset 0 0 0 1.5px var(--ink);
|
|
}
|
|
|
|
.toggle svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|