From d627086025ebd9b8e20e0379a25e66113355eda0 Mon Sep 17 00:00:00 2001 From: Theo Date: Tue, 29 Oct 2024 16:00:49 +0100 Subject: [PATCH] Font fix & title style --- fonts/mononoki/mononoki.css | 13 +++++++++++-- frontpage.css | 2 +- portfolio/portfolio.css | 10 ++++++++++ style.css | 13 +++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/fonts/mononoki/mononoki.css b/fonts/mononoki/mononoki.css index ada7e6e..a9990c5 100644 --- a/fonts/mononoki/mononoki.css +++ b/fonts/mononoki/mononoki.css @@ -3,6 +3,13 @@ src: url(MononokiNerdFont-Regular.ttf); } +@font-face { + font-family: mononoki; + src: url(MononokiNerdFont-Regular.ttf); + font-weight: normal; +} + + @font-face { font-family: mononoki; src: url(MononokiNerdFont-Bold.ttf); @@ -12,11 +19,13 @@ @font-face { font-family: mononoki; src: url(MononokiNerdFont-Italic.ttf); - font-weight: italic; + font-weight: normal; + font-style: italic; } @font-face { font-family: mononoki; src: url(MononokiNerdFont-BoldItalic.ttf); - font-weight: bold italic; + font-weight: bold; + font-style: italic; } diff --git a/frontpage.css b/frontpage.css index e677763..2c2bd0d 100644 --- a/frontpage.css +++ b/frontpage.css @@ -2,4 +2,4 @@ img { width: 100%; -} \ No newline at end of file +} diff --git a/portfolio/portfolio.css b/portfolio/portfolio.css index 4891c72..07ab5c7 100644 --- a/portfolio/portfolio.css +++ b/portfolio/portfolio.css @@ -18,13 +18,23 @@ div.side-by-side article { } a.hidden { + font-weight: normal; font-style: normal; text-decoration: none; color: var(--main-ft-color); } +h1 a.hidden { + font-weight: bold; +} + +h3 { + margin-left: .65em; +} + article header { margin-top: 5px; + font-size: large; } main p { diff --git a/style.css b/style.css index c5cc511..f95edda 100644 --- a/style.css +++ b/style.css @@ -26,13 +26,26 @@ body { * { font-family: 'mononoki'; + font-weight: normal; } h1 { + font-size: 2.5em; + font-weight: bold; text-decoration: double underline; } +h2 { + font-size: xx-large; +} + +h3 { + font-size: x-large; +} + a.button { + font-style: normal ; + text-decoration: none; color: var(--main-a-color);