summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2021-09-11 14:41:04 +0200
committerVincent Douillet <vincent@vdouillet.fr>2021-09-11 14:41:04 +0200
commit03b7ae45a97a75738146ee2678de2e0a2864e85a (patch)
treedb09f5f06d100f9c08b8f2065be265c8b28a8a0c
parente78dd2f6212bfbd293b98e4278ead77d5ab70984 (diff)
Add style for code blocks
-rw-r--r--static/css/style.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 2e26b99..7404523 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -49,6 +49,12 @@ footer.copyright {
content: " | ";
}
+pre {
+ border: 2px solid gray;
+ padding: 0.5em;
+ background: white;
+}
+
@media(prefers-color-scheme: light) {
html {
background: #efeee3;
@@ -81,4 +87,8 @@ footer.copyright {
footer.copyright {
color: #b0b0b0;
}
+
+ pre {
+ background: black;
+ }
}