diff options
| author | 南小北 <nanxiaobei@gmail.com> | 2018-10-31 22:26:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-31 22:26:44 +0800 |
| commit | 9db7d78fbde28918a0ea7e33df9a969f07f8f3d2 (patch) | |
| tree | 4b4b94c3698917767dcdb55f14c8435b1292f2be /static/css | |
| parent | 35582be92b287972d867032a9b463e70715814c5 (diff) | |
| parent | 27edd6d94ea32e0a91651ab9f3431fc675892dc8 (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'static/css')
| -rw-r--r-- | static/css/style.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index 536ac23..489c51c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -488,3 +488,43 @@ pre, code { display: none; } } + +/* Highlight +------------------------------ */ +.post-content pre code { + display: block; +} +.post-content table code { + padding-top: 0; + padding-bottom: 0; +} +.post-content pre { + margin: 30px 0px; + border-radius: 6px; +} +.post-content table pre { + margin: 20px 0px; +} +.highlight table { + margin: 30px 0 !important; +} +.highlight div { + border-radius: 6px; +} +.post-content table code { + white-space: pre; +} +.highlight td:nth-child(2) { + width: 100%; +} + +/* Unflavored code fences +------------------------------ */ +code { + padding: 20px; +} +pre { + border-radius: 6px; + background-color: #272822; + color: white; +}
\ No newline at end of file |
