From 4bfb0c48530ed0e28229a0e8df97491ffa255616 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Mon, 26 Sep 2022 15:15:55 +0200 Subject: css: minor cleanup --- src/styles/style.css | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/styles/style.css b/src/styles/style.css index b65c38a..992dae0 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -38,14 +38,6 @@ header { color: var(--footer); } -.nav-left { - float:left; -} - -.nav-right { - float:right; -} - footer { margin-top: 3em; margin-bottom: 2em; @@ -63,21 +55,20 @@ a:hover { text-decoration: underline; } -pre > code { - display: block; - padding: 10px 15px; - white-space: pre-wrap; - line-height: 1.4em; -} - pre, code { font-family: 'Fira Code', monospace; font-size: 0.98em; - /* color: var(--fg); */ background-color: var(--code); border-radius: 5px; } +pre > code { + display: block; + padding: 10px 15px; + white-space: pre-wrap; + line-height: 1.4em; +} + code { padding: 3px 5px; white-space: nowrap; @@ -113,6 +104,7 @@ blockquote { #title { margin-top: 0; } + #date { margin-bottom: 0; } -- cgit v1.2.3-70-g09d2