diff options
author | Tobias Pfandzelter <tobias@pfandzelter.com> | 2020-08-31 14:21:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 14:21:57 +0300 |
commit | 0877e851915dcdb691995d621a9b22566532f649 (patch) | |
tree | 73ff2d3537461c57a7db212ed1865333e0dd5382 | |
parent | 6d7e3bfa3e4554312a29d9e91a1b1212ea30befa (diff) |
move padding to apply to only inline code
-rw-r--r-- | static/css/style.css | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/css/style.css b/static/css/style.css index 4db8cfe..ee47c26 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,7 +1,6 @@ html {overflow-y: scroll} body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}} -code{padding:2px} -p > code{color: #FFFFFF; background:#000000} +p > code{color: #FFFFFF; background:#000000; padding:2px} pre{color: #FFFFFF; background:#000000; padding:24px; white-space: pre-wrap} article{padding:24px 0} .center {display: block;margin-left: auto;margin-right: auto;width: 100%;} |