new scroll css
This commit is contained in:
+3
-12
@@ -1,20 +1,11 @@
|
|||||||
{{define "nav"}}
|
{{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>
|
<div>
|
||||||
<p class="sidebar-label">pages</p>
|
<p class="sidebar-label">pages</p>
|
||||||
<div class="sidebar-links">
|
<div class="sidebar-links">
|
||||||
<a href="/research">research</a>
|
<a href="/research">Research</a>
|
||||||
<a href="/bookkeeping">bookkeeping</a>
|
<a href="/bookkeeping">Bookkeeping</a>
|
||||||
<a href="/personal">personal</a>
|
<a href="/personal">Personal</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 131 KiB |
+15
-5
@@ -78,7 +78,8 @@ body{
|
|||||||
font-family:var(--ff-sans);
|
font-family:var(--ff-sans);
|
||||||
font-weight:300;
|
font-weight:300;
|
||||||
line-height:1.7;
|
line-height:1.7;
|
||||||
min-height:100vh;
|
height:100vh;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* subtle dot grid */
|
/* subtle dot grid */
|
||||||
@@ -96,7 +97,7 @@ nav{
|
|||||||
backdrop-filter:blur(10px);
|
backdrop-filter:blur(10px);
|
||||||
border-bottom:1px solid var(--border);
|
border-bottom:1px solid var(--border);
|
||||||
padding:0 clamp(1rem,5vw,3rem);
|
padding:0 clamp(1rem,5vw,3rem);
|
||||||
height:52px;
|
height:60px;
|
||||||
}
|
}
|
||||||
.nav-logo{
|
.nav-logo{
|
||||||
font-family:var(--ff-mono);font-size:0.78rem;font-weight:500;
|
font-family:var(--ff-mono);font-size:0.78rem;font-weight:500;
|
||||||
@@ -113,7 +114,7 @@ nav{
|
|||||||
position:relative;z-index:1;
|
position:relative;z-index:1;
|
||||||
display:grid;
|
display:grid;
|
||||||
grid-template-columns:220px 1fr;
|
grid-template-columns:220px 1fr;
|
||||||
min-height:calc(100vh - 52px);
|
height:calc(100vh - 120px);
|
||||||
max-width:1100px;
|
max-width:1100px;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
}
|
}
|
||||||
@@ -152,10 +153,19 @@ aside{
|
|||||||
.skill-item:hover{border-color:var(--accent);color:var(--text);}
|
.skill-item:hover{border-color:var(--accent);color:var(--text);}
|
||||||
|
|
||||||
main{
|
main{
|
||||||
padding:3rem clamp(1.5rem,4vw,3rem);
|
padding:3rem clamp(1.5rem,4vw,3rem) 120px;
|
||||||
display:flex;flex-direction:column;gap:4rem;
|
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{
|
.hero-eyebrow{
|
||||||
font-family:var(--ff-mono);font-size:0.72rem;color:var(--green);
|
font-family:var(--ff-mono);font-size:0.72rem;color:var(--green);
|
||||||
letter-spacing:0.18em;margin-bottom:1rem;
|
letter-spacing:0.18em;margin-bottom:1rem;
|
||||||
@@ -286,7 +296,7 @@ footer{
|
|||||||
display:flex;align-items:center;justify-content:space-between;
|
display:flex;align-items:center;justify-content:space-between;
|
||||||
flex-wrap:wrap;gap:0.5rem;
|
flex-wrap:wrap;gap:0.5rem;
|
||||||
background:var(--surface);
|
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{font-family:var(--ff-mono);font-size:0.78rem;color:var(--accent);text-decoration:none;}
|
||||||
.footer-contact a:hover{text-decoration:underline;}
|
.footer-contact a:hover{text-decoration:underline;}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user