new scroll css

This commit is contained in:
samantha42
2026-09-11 09:52:25 +02:00
parent bee8ca54de
commit 989ae62915
4 changed files with 19 additions and 18 deletions
+3 -12
View File
@@ -1,20 +1,11 @@
{{define "nav"}}
<div>
<p class="sidebar-label">navigate</p>
<div class="sidebar-links">
<a href="#about">about</a>
<a href="#experience">experience</a>
<a href="#education">education</a>
<a href="#interests">interests</a>
</div>
</div>
<div>
<p class="sidebar-label">pages</p>
<div class="sidebar-links">
<a href="/research">research</a>
<a href="/bookkeeping">bookkeeping</a>
<a href="/personal">personal</a>
<a href="/research">Research</a>
<a href="/bookkeeping">Bookkeeping</a>
<a href="/personal">Personal</a>
</div>
</div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

+15 -5
View File
@@ -78,7 +78,8 @@ body{
font-family:var(--ff-sans);
font-weight:300;
line-height:1.7;
min-height:100vh;
height:100vh;
overflow-y: hidden;
}
/* subtle dot grid */
@@ -96,7 +97,7 @@ nav{
backdrop-filter:blur(10px);
border-bottom:1px solid var(--border);
padding:0 clamp(1rem,5vw,3rem);
height:52px;
height:60px;
}
.nav-logo{
font-family:var(--ff-mono);font-size:0.78rem;font-weight:500;
@@ -113,7 +114,7 @@ nav{
position:relative;z-index:1;
display:grid;
grid-template-columns:220px 1fr;
min-height:calc(100vh - 52px);
height:calc(100vh - 120px);
max-width:1100px;
margin:0 auto;
}
@@ -152,10 +153,19 @@ aside{
.skill-item:hover{border-color:var(--accent);color:var(--text);}
main{
padding:3rem clamp(1.5rem,4vw,3rem);
padding:3rem clamp(1.5rem,4vw,3rem) 120px;
display:flex;flex-direction:column;gap:4rem;
overflow-y:auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* old Edge/IE */
}
main::-webkit-scrollbar{
display: none; /* Chrome, Safari, new Edge */
}
.hero-eyebrow{
font-family:var(--ff-mono);font-size:0.72rem;color:var(--green);
letter-spacing:0.18em;margin-bottom:1rem;
@@ -286,7 +296,7 @@ footer{
display:flex;align-items:center;justify-content:space-between;
flex-wrap:wrap;gap:0.5rem;
background:var(--surface);
height: 100px;
height: 70px;
}
.footer-contact a{font-family:var(--ff-mono);font-size:0.78rem;color:var(--accent);text-decoration:none;}
.footer-contact a:hover{text-decoration:underline;}
File diff suppressed because one or more lines are too long