diff --git a/static/css/index.css b/static/css/index.css index e703844..cd8cd28 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -20,17 +20,6 @@ --title-weight: 600; } -/* Page theme */ -main { - color: var(--font-color); - font-size: var(--font-size); - padding: 2em 1em; - font-family: var(--font-family); - color: var(--font-color); - margin: 0 auto; - max-width: 640px; /* breakpoint */ -} - /* Name header */ .name { font-size: calc(var(--font-size) * 2.5); diff --git a/static/css/style.css b/static/css/style.css index 7bcb88d..822f620 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -10,6 +10,21 @@ a { font-size: var(--font-size); } +a:hover { + opacity: 0.6; + transition: opacity 0.2s; +} + +main { + color: var(--font-color); + font-size: var(--font-size); + padding: 2em 1em; + font-family: var(--font-family); + color: var(--font-color); + margin: 0 auto; + max-width: 640px; /* breakpoint */ +} + /* Navigation bar across all of the pages */ .navbar { text-align: center; @@ -42,8 +57,6 @@ a { .navbar a:hover { text-decoration: underline; - opacity: 0.6; - transition: opacity 0.2s; } .bold {