From f8a68933c55d66a23bb29c5849aeda59d79c67fa Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 13 Oct 2023 17:36:33 +0200 Subject: [PATCH] more global style --- static/css/index.css | 11 ----------- static/css/style.css | 17 +++++++++++++++-- 2 files changed, 15 insertions(+), 13 deletions(-) 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 {