diff --git a/sass/main.scss b/sass/main.scss index d562a64..680b3f5 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -44,11 +44,11 @@ --code-font: 'Cascadia Code'; + --background-color: white; --bg-0: #f0f0f0; --bg-1: #e7e7e7; --bg-2: #fefefe; --hover-color: white; - --background-color: white; --primary-color: #91D8E4; --secondary-color: rgb(158, 158, 158); --links: #78cfcb; @@ -56,17 +56,17 @@ --quote-color: #355f62; --border-color: rgb(114, 114, 114); --light-border-color: rgba(255, 255, 255, 0.1); - --meta-color: rgb(53, 53, 53); + --meta-color: #757575; --accent-color: #087E96; --table-header-color: #BFEAF5; } [data-theme='dark'] { + --background-color: #1f1f1f; --bg-0: #2f2f2f; --bg-1: rgba(133, 133, 133, 0.5); --bg-2: rgba(23, 23, 23, 100%); --primary-color: #7cc4d1; --hover-color: white; - --background-color: #1f1f1f; --secondary-color: #696969; --links: #8fdfe5; --text-color: #eae9e9; @@ -74,7 +74,7 @@ --code: #ef476f; --border-color: rgb(0, 0, 0); --light-border-color: rgba(255, 255, 255, 0.1); - --meta-color: rgb(198, 197, 197); + --meta-color: #BBBBBB; --accent-color: #91e0ee; --table-header-color: #b7e4e4; @@ -104,6 +104,11 @@ body { min-height: 80vh; } +article{ + max-width: calc(var(--max-layout-width) - 14rem); + margin: 0 auto; +} + .section-title { display: block; font-size: 2.2em; @@ -111,47 +116,48 @@ body { margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: 650; + font-weight: 550; } h1 { display: block; font-size: 2em; + font-size: 1.375em; margin-top: 0.67em; margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: 650; + font-weight: 550; } h2 { display: block; - font-size: 1.7em; + font-size: 1.2em; margin-top: 0.83em; margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: bold; + font-weight: 550; } h3 { display: block; - font-size: 1.5em; + font-size: 1.15em; margin-top: 0.83em; margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: bold; + font-weight: 550; } h4 { display: block; - font-size: 1.2em; + font-size: 1em; margin-top: 0.83em; margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: bold; + font-weight: 550; } h5 { @@ -161,12 +167,14 @@ h5 { margin-bottom: 0em; margin-left: 0; margin-right: 0; - font-weight: bold; + font-weight: 550; } p { font-family: 'Source Serif Pro', serif; - font-size: 1.2em; + margin-top: 0.4rem; + margin-bottom: 2.3vmin; + font-size: 1em; } @media only screen and (max-width: 1000px) { diff --git a/sass/parts/_code.scss b/sass/parts/_code.scss index b9ac97e..dc70591 100644 --- a/sass/parts/_code.scss +++ b/sass/parts/_code.scss @@ -17,7 +17,6 @@ pre { pre code { background-color: transparent; color: inherit; - font-size: 100%; padding: 0; // We only want a border around `code` and not `pre code` blocks. diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index 1c99d97..ef5500e 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -62,7 +62,7 @@ header { .home-title { font-size: 1.7em; - font-weight: 600; + font-weight: 450; padding-right: 0.33rem; border: none; color: var(--accent-color); @@ -72,6 +72,13 @@ header { .meta { color: var(--meta-color); letter-spacing: -0.5px; + font-size: 0.8rem; + font-weight: 300; + padding-bottom: 1vmin; +} + +.card-meta { + color: var(--meta-color); } @media only screen and (max-width: 1000px) { diff --git a/sass/parts/_home-banner.scss b/sass/parts/_home-banner.scss index f5f970a..644b8a9 100644 --- a/sass/parts/_home-banner.scss +++ b/sass/parts/_home-banner.scss @@ -21,6 +21,13 @@ color: var(--accent-color); } +.home-banner-header { + margin-top: 2rem; + margin-bottom: 1rem; + font-size: 2.8rem; + font-weight: 600; +} + #banner-home-subtitle { width: 95%; padding-right: 5%; diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index df069fa..29e4bc1 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -10,6 +10,17 @@ background-color: var(--primary-color); } +.article-title { + padding-bottom: 1.2vmin; + display: block; + font-size: 2.2em; + margin-top: 0.67em; + margin-bottom: 0em; + margin-left: 0; + margin-right: 0; + font-weight: 550; +} + .title-container { border-bottom: var(--secondary-color) solid 0.5px; padding-bottom: 15px; @@ -46,7 +57,7 @@ blockquote { a { color: var(--text-color); text-decoration-color: var(--links); - font-weight: 600; + font-weight: 580; } a:hover { diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 6ab5804..e5b2883 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -6,7 +6,7 @@ {{page.title}} -