diff options
author | Markus Eliasson <markus.eliasson@gmail.com> | 2017-09-27 22:22:12 +0300 |
---|---|---|
committer | Markus Eliasson <markus.eliasson@gmail.com> | 2017-09-27 22:22:12 +0300 |
commit | 0e400eaa05359021205aa31cc24fd1286566de61 (patch) | |
tree | a4def515b0335621edb9a3de682fbb5c5343a297 | |
parent | 55615792f5b05665702380e8344b984e18f96eb0 (diff) |
Move code style from article to base
No need to limit base styling to `li-article` descendants.
Fix for #13
-rw-r--r-- | static/css/liquorice.css | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/static/css/liquorice.css b/static/css/liquorice.css index f2db0b0..eddeb91 100644 --- a/static/css/liquorice.css +++ b/static/css/liquorice.css @@ -42,6 +42,17 @@ h1,h2,h3,h4,h5,h6 { font-weight: lighter; } +pre { + background-color: #fafafa; + border: 1px solid #ccc; + border-radius: 4px; + padding: 32px; +} + +pre code { + display: inline-block; +} + /** Screen furniture ********************************************************/ .li-page-header { background-color: #202020; @@ -91,7 +102,6 @@ h1,h2,h3,h4,h5,h6 { display: none; } - /** Article *****************************************************************/ .li-article { margin-bottom: 32px; @@ -102,13 +112,6 @@ h1,h2,h3,h4,h5,h6 { max-width: 100%; } -.li-article pre { - background-color: #fafafa; - border: 1px solid #ccc; - border-radius: 4px; - padding: 32px; -} - ul.li-article-list { list-style: none; margin: 0px; |