From 55758d6871606022d2ae6e14e3dcbd10ba54816c Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 9 Jun 2025 17:34:25 -0400 Subject: [PATCH] made subheadings light and italic --- site/css/fonts.css | 36 +++++------------------------------- site/css/looks.css | 46 +++++++++++++++++++++------------------------- 2 files changed, 26 insertions(+), 56 deletions(-) diff --git a/site/css/fonts.css b/site/css/fonts.css index 1d483b4..88c29b6 100644 --- a/site/css/fonts.css +++ b/site/css/fonts.css @@ -1,31 +1,3 @@ -/* @font-face { - font-family: 'Heading'; - src: url('../assets/fonts/Besley/Besley-Book.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Heading'; - src: url('../assets/fonts/Besley/Besley-BookItalic.ttf') format('truetype'); - font-weight: normal; - font-style: italic; -} - -@font-face { - font-family: 'Heading'; - src: url('../assets/fonts/Besley/Besley-Fatface.ttf') format('truetype'); - font-weight: bold; - font-style: normal; -} - -@font-face { - font-family: 'Heading'; - src: url('../assets/fonts/Besley/Besley-FatfaceItalic.ttf') format('truetype'); - font-weight: bold; - font-style: italic; -} */ - @font-face { font-family: 'Heading'; src: url('../assets/fonts/LiterataTT/LiterataTT-SubheadRegular.woff2') format('woff2'); @@ -77,7 +49,7 @@ @font-face { font-family: 'Subheading'; - src: url('../assets/fonts/LiterataTT/LiterataTT-SubheadSemioldItalic.woff2') format('woff2'); + src: url('../assets/fonts/LiterataTT/LiterataTT-SubheadSemiboldItalic.woff2') format('woff2'); font-weight: bold; font-style: italic; } @@ -126,14 +98,14 @@ @font-face { font-family: 'BodySans'; - src: url('../assets/fonts/Source_Sans_3/static/SourceSans3-Bold.ttf') format('truetype'); + src: url('../assets/fonts/Source_Sans_3/static/SourceSans3-SemiBold.ttf') format('truetype'); font-weight: bold; font-style: normal; } @font-face { font-family: 'BodySans'; - src: url('../assets/fonts/Source_Sans_3/static/SourceSans3-BoldItalic.ttf') format('truetype'); + src: url('../assets/fonts/Source_Sans_3/static/SourceSans3-SemiBoldItalic.ttf') format('truetype'); font-weight: bold; font-style: italic; } @@ -193,6 +165,8 @@ h4, h5, h6 { font-family: "Subheading"; + font-style: italic; + font-weight: normal; } h1 { diff --git a/site/css/looks.css b/site/css/looks.css index 10a4740..2c327e2 100644 --- a/site/css/looks.css +++ b/site/css/looks.css @@ -1,38 +1,34 @@ code:not(pre code) { - font-weight: bold; + font-weight: bold; } pre { - background-color: white; - color: black; - overflow-x: auto; - border-style: solid; - border-radius: 3px; - border-width: 2px; - border-color: gainsboro; - padding-left: 0.35em; - padding-top: 0.1em; - padding-bottom: 0.2em; + background-color: white; + overflow-x: auto; + border-style: solid; + border-radius: 3px; + border-width: 2px; + border-color: gainsboro; + padding-left: 0.35em; + padding-top: 0.1em; + padding-bottom: 0.2em; } body { - background-color: rgb(255, 255, 255); - color: rgb(30, 25, 20); + background-color: rgb(255, 255, 255); + color: rgb(60, 55, 50); +} + +h2, h3, h4, h5, h6 { + color: rgb(60, 55, 50); +} + +h1 { + color: rgb(10, 5, 0); } blockquote { font-style: italic; border-left: 6px solid black; padding-left: 0.7em; -} -/* -blockquote:before { - color: black; - content: '>'; - font-weight: bold; - font-size: 1.2em; -} - -blockquote p { - display: inline; -} */ \ No newline at end of file +} \ No newline at end of file