From 7cd84feb3e56b4037073afc7ebe29a25bf7554e4 Mon Sep 17 00:00:00 2001 From: Evan Frick Date: Sat, 31 Aug 2024 22:23:30 -0700 Subject: [PATCH] a --- index.html | 2 +- style.css | 30 ++++++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 29778c6..348d0cd 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@

Home

About

- pfp.png + pfp.png

Hi, I'm Evan. I am an Electrical Engineering and Computer Science (EECS) master's student at UC Berkeley, advised by Professor Jiantao Jiao. I also completed my bachelor's degree in computer science at Berkeley.


diff --git a/style.css b/style.css index a2b9249..a582de2 100644 --- a/style.css +++ b/style.css @@ -12,16 +12,23 @@ --body-font: 'Courier New', serif; --body-font-weight: normal; --site-width: 40%; + @media only screen and (max-width: 600px) { + --site-width: 90%; + } /* TODO: color scheme */ --clr-bg: #1e1f1e; --clr-fg: #d1cdc3; - --clr-accent: #2069e0; + /* --clr-accent: #5b5de5; */ + /* --clr-accent: #c7881c; */ + --clr-accent: #628e81; + /* --clr-accent: #927cae; */ --clr-medium: #878683; } html { scroll-behavior: smooth; + scroll-padding-top: 80px; } body { @@ -53,6 +60,16 @@ body { } +a { + color: var(--clr-accent); + text-decoration: none; + font-weight: bold; +} + +a:hover { + text-decoration: underline; +} + section { width: 100%; /* height: 30vh; */ @@ -80,10 +97,13 @@ section styles /* display: inline-block; */ display: flex; justify-content: center; + position: fixed; + z-index: 1; .nav { + /* top: 4vh; */ /* position: absolute; - top: 4vh; + left: 4vw; */ @@ -99,9 +119,10 @@ section styles gap: 20px; .link { + color: var(--clr-fg); text-decoration: none; font-family: var(--header-font); - font-weight: var(--body-font-weight); + /* font-weight: var(--body-font-weight); */ } } .hide { @@ -111,6 +132,7 @@ section styles } #about { + padding-top: 5%; .hero { .container { position: relative; @@ -130,7 +152,7 @@ section styles } p { - text-align: justify; + /* text-align: justify; */ } /* border: 1px solid white; display: flex;