From bca83cc910de311258c6044ac6ec5656930bc800 Mon Sep 17 00:00:00 2001 From: chaosarium Date: Wed, 8 Mar 2023 21:02:44 -0500 Subject: [PATCH] style --- assets/styles/custom.scss | 36 ++++++++++++++++++++++++++++++++++-- layouts/_default/canvas.html | 2 +- 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/assets/styles/custom.scss b/assets/styles/custom.scss index fc8156f..e4e3413 100644 --- a/assets/styles/custom.scss +++ b/assets/styles/custom.scss @@ -137,14 +137,14 @@ body.resume article { .TOC { display: none; } - h2 { + .text-chunk > a > h2 { font-size: 1.35em; margin-top: 1em; font-weight: 720; font-family: "Inter"; border-bottom: solid 2px var(--outlinegray); } - h3 { + .text-chunk > a > h3 { font-size: 1.2em; margin-top: 1em; font-weight: 500; @@ -230,4 +230,36 @@ blockquote[class*=minimal-callout] { border-bottom: 0px !important; border-bottom-left-radius: 5px; } +} + +div.portfolio-nav { + padding: 0.75em 1em; + margin: 1em 0; + border: var(--outlinegray)1px solid; + border-radius: 5px; + // background-color: var(--background-modifier-cover); + + line-height: 1.5; + + font-family: "Inter"; + margin: 16px 0; + color: var(--tertiary); + a { + // font-family: "Inter"; + font-weight: unset; + text-decoration: none; + background-color: var(--link-background-color); + color: var(--tertiary); + padding: 0 0.1em; + margin: auto -0.1em; + border-radius: 3px; + } + a:hover { + color: var(--primary); + } + b > a { + font-weight: 800; + background-color: #c7c7c750; + color: var(--dark); + } } \ No newline at end of file diff --git a/layouts/_default/canvas.html b/layouts/_default/canvas.html index 533bbad..09ac2ba 100644 --- a/layouts/_default/canvas.html +++ b/layouts/_default/canvas.html @@ -2,7 +2,7 @@ {{ partial "head.html" . }} - +
{{partial "header.html" .}}