From 2de23ee71332e41754428ae39e717262c50a0a1e Mon Sep 17 00:00:00 2001 From: cark Date: Thu, 26 Aug 2021 00:39:18 +0100 Subject: [PATCH] code block now have styles --- sass/main.scss | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/sass/main.scss b/sass/main.scss index 089ec9a..36eccf5 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -1,4 +1,5 @@ @import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap'); // hello if you are reading this please remind me to clean this up body { @@ -136,4 +137,32 @@ a, a:focus { .infobox-important { background: #faecc0; -} \ No newline at end of file +} + +pre { + width: calc(100% - 72px); + margin: 24px; + padding: 4px 12px; + + background: #423c63; + border: 1px #6a6391 solid; + border-radius: 4px; + box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25); + color: #d9d5f3; + + font-family: 'Jetbrains Mono', monospace; + font-size: 0.8em; +} + +code { + padding: 0 4px; + + background: #423c63; + border: 1px #6a6391 solid; + border-radius: 4px; + color: #d9d5f3; + + font-family: 'Jetbrains Mono', monospace; + font-size: 0.8em; + +} \ No newline at end of file