aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-09-26 15:15:55 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-09-26 15:15:55 +0200
commit4bfb0c48530ed0e28229a0e8df97491ffa255616 (patch)
treebcee2b9b105584f81845fb7503d28e1764a8f3c3
parent294608dabdb642e7fff6bf1d6fd5dc2c7a7aa9ce (diff)
css: minor cleanup
-rw-r--r--src/styles/style.css24
1 files changed, 8 insertions, 16 deletions
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;
}