summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-09-23 14:48:51 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-09-23 14:48:51 -0400
commit64407c1a751f35c627f977f79acde3095e02bac6 (patch)
tree87c1d6692213176755a73ae7aaa82d0852639249
parentfa2d59ff0aa955f4845b870920f3f5074a43003c (diff)
css: Render <code> tags with a light gray background.
-rw-r--r--css/dthompson.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/css/dthompson.css b/css/dthompson.css
index 8ad28cf..26df51b 100644
--- a/css/dthompson.css
+++ b/css/dthompson.css
@@ -49,10 +49,15 @@ pre {
display: inline-block;
}
-code {
+pre code {
font-family: "Inconsolata",monospace;
}
+p code {
+ font-family: "Inconsolata",monospace;
+ background-color: #eee;
+}
+
blockquote {
padding-left: 2rem;
border-left: 5px solid #eee;