From 3278bd5c66af7312beea65d63d43a6f0b279c079 Mon Sep 17 00:00:00 2001 From: infidel Date: Sat, 30 Dec 2023 16:59:28 +0700 Subject: [PATCH] Update nav bar and enable theme toggle --- assets/css/template-styles.css | 14 ++++---------- layouts/index.html | 2 +- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/assets/css/template-styles.css b/assets/css/template-styles.css index 6a7c1a2..49865a0 100644 --- a/assets/css/template-styles.css +++ b/assets/css/template-styles.css @@ -11,7 +11,6 @@ *::before, *::after { font-family: inherit; - background-color: inherit; color: inherit; margin: 0; padding: 0; @@ -21,9 +20,7 @@ html { font-size: calc(1em + 0.25vw); font-family: Didact Gothic, Arial, Helvetica Neue, sans-serif; line-height: 1.2; - color: rgb(255, 255, 255); - opacity: .85; - background-color: #39424E; + background-color: #dfdfdf; } template { display: none !important; @@ -134,7 +131,6 @@ h3 { h4, h5 { font-size: 1rem; - font-family: PT Sans, sans-serif; } h5 { font-size: 0.85rem; @@ -323,8 +319,8 @@ caption { overflow-x: hidden; } .intro-and-nav { - font-size: 1rem; - width: 20rem; + font-size: .9rem; + width: 15rem; height: 100vh; position: fixed; top: 0; @@ -345,7 +341,6 @@ caption { } .logo { border: 0; - margin : 2.25rem; } .logo img { width: 100%; @@ -362,7 +357,7 @@ caption { max-width: 25rem; } .main-and-footer { - margin-left: 20rem; + margin-left: 15rem; } .main-and-footer > div { max-width: 55rem; @@ -1129,6 +1124,5 @@ main p { margin-bottom: 1em; line-height: 1.5; letter-spacing: .2px; - opacity: 0.8; } diff --git a/layouts/index.html b/layouts/index.html index 32dc93d..274310d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ {{ .Content }}