all repos — site @ 9be0a5e9b8fa3735f448d8e12b8ace3d782b3cb0

source for my site, found at icyphox.sh

More font-size fixes, subtle bg for code
Anirudh Oppiliappan x@icyphox.sh
Tue, 03 Nov 2020 09:03:55 +0530
commit

9be0a5e9b8fa3735f448d8e12b8ace3d782b3cb0

parent

c71a01bf87f4c5fb748d68b3a7f78fd71d4cc0b7

2 files changed, 19 insertions(+), 14 deletions(-)

jump to
M config.yamlconfig.yaml

@@ -51,5 +51,5 @@

prebuild: # - bin/update_index.py postbuild: - - bin/rss.py + # - bin/rss.py - bin/plaintext.sh
M static/style.cssstatic/style.css

@@ -36,6 +36,7 @@ --light-gray: #eee;

--gray: #6a6a6a; --code: #666; --dark: #444; + --code-bg: #0000000a; } body {

@@ -43,7 +44,7 @@ text-align: center;

} html { - background: var(--bg); + /* background: var(--bg);*/ font-size: 19px; line-height: 1.5; }

@@ -79,7 +80,7 @@

article a, a:hover { color: inherit; - background: 0; + background: 0; text-decoration: underline; outline: 0; }

@@ -150,8 +151,8 @@ overflow-x: auto;

overflow-y: hidden; padding: 10px; min-width: 0; - background: var(--bg) - font-size: 18px; + background-color: var(--code-bg) !important; + font-size: 18px !important; } pre > code {

@@ -160,7 +161,7 @@ }

code { font-variant: normal; - font-size: 19px; + font-size: 18px !important; color: var(--dark); border-bottom: unset; }

@@ -173,14 +174,6 @@ grid-column: 9 / 13;

grid-row: 1; } - html { - font-size: 21px; - } - - pre { - font-size: 19px; - } - .sep { display: hidden; }

@@ -214,6 +207,18 @@ text-align: left;

grid-column: 8 / 10; padding-left: 10%; grid-row: 1; + } + + html { + font-size: 20px; + } + + code { + font-size: 19px; + } + + pre { + font-size: 19px; } .sep {