diff options
Diffstat (limited to 'css/main.scss')
-rw-r--r-- | css/main.scss | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/css/main.scss b/css/main.scss index 878b2d1..730347c 100644 --- a/css/main.scss +++ b/css/main.scss @@ -1,4 +1,6 @@ -$monospaceFont: "Fira Mono", "monospace"; +$mainFont: "Montserrat", "sans-serif"; +$specialFont: "Raleway", "sans-serif"; +$codeFont: "Fira Mono", "Martian Mono", "monospace"; $contentWidth: 72rem; $padding: 1rem; @@ -6,17 +8,17 @@ $separatorWidth: 0.25rem; $shadowColour: color-mix(in srgb, black, transparent 50%); -@mixin separator($width) { +@mixin separator { background-color: var(--textColour); border-radius: calc($separatorWidth / 3); content: ""; display: block; height: $separatorWidth; - width: $width; + width: 100%; } :root { - font-family: "Raleway", "sans-serif"; + font-family: $mainFont; scroll-behavior: smooth; } @@ -52,7 +54,7 @@ a, a:visited { } code { - font-family: $monospaceFont; + font-family: $codeFont; } ul { |