diff options
author | Franck Cuny <franck@fcuny.net> | 2021-04-06 12:30:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-04-06 12:30:59 -0700 |
commit | 12d5254bde5bca032dcd4932504df7ae1709984b (patch) | |
tree | 6bae6b8e6ad526a280d51afe91c241ffb4789da0 /users/fcuny | |
parent | css: change the default font (diff) | |
download | world-12d5254bde5bca032dcd4932504df7ae1709984b.tar.gz |
css: set background color for code block
Indent properly the CSS for the `pre` tag.
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/blog/static/css/custom.css | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/users/fcuny/blog/static/css/custom.css b/users/fcuny/blog/static/css/custom.css index c84a013..b3c3e2f 100644 --- a/users/fcuny/blog/static/css/custom.css +++ b/users/fcuny/blog/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; } |