about summary refs log tree commit diff
path: root/static/css
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-06 12:30:59 -0700
committerFranck Cuny <franck@fcuny.net>2021-04-06 12:30:59 -0700
commit89d64dc4be2f8342d449d9ef9d807b5e41476f57 (patch)
treecedb55e085b6d3e0fcdadca160f2010367de2e68 /static/css
parentcss: change the default font (diff)
downloadfcuny.net-89d64dc4be2f8342d449d9ef9d807b5e41476f57.tar.gz
css: set background color for code block
Indent properly the CSS for the `pre` tag.
Diffstat (limited to 'static/css')
-rw-r--r--static/css/custom.css14
1 files changed, 9 insertions, 5 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index c84a013..b3c3e2f 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -38,10 +38,14 @@ span.published, span.updated {
     font-style: oblique;
 }
 
+code {
+    background-color: #eeeeee;
+}
+
 pre {
-  padding: 1rem 2rem;
-  margin: 0;
-  font-size: 16px;
-  font-family: "Roboto Mono", Monaco, "Lucida Console", monospace;
-  overflow: scroll;
+    padding: 1rem 2rem;
+    margin: 0;
+    font-size: 16px;
+    font-family: "Roboto Mono", Monaco, "Lucida Console", monospace;
+    overflow: scroll;
 }