diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:26:50 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:26:50 +0200 |
commit | ec1341fcd178d72e1accd308d1ae314702e69c01 (patch) | |
tree | 927c5113475a982af7a4809af78a8f4b4990be62 /themes/beautifulhugo/static/css/codeblock.css | |
parent | 05bc58562c52539f196ae4357afd80a23d34e812 (diff) |
use new theme
Diffstat (limited to 'themes/beautifulhugo/static/css/codeblock.css')
-rw-r--r-- | themes/beautifulhugo/static/css/codeblock.css | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/beautifulhugo/static/css/codeblock.css b/themes/beautifulhugo/static/css/codeblock.css new file mode 100644 index 0000000..cf80033 --- /dev/null +++ b/themes/beautifulhugo/static/css/codeblock.css @@ -0,0 +1,33 @@ +/* --- Code blocks --- */ + +.chroma .ln { + margin-right: 0.8em; + padding: 0 0.4em 0 0.4em; +} +pre code.hljs { + padding: 9.5px; +} + +.highlight tr, .highlight pre { + border: none; +} + +.highlight div:first-child { + border-radius: 4px; +} + +.highlight td:first-child pre, .highlight pre { + border-top-left-radius: 4px; + border-top-right-radius: unset; + border-bottom-left-radius: 4px; + border-bottom-right-radius: unset; + overflow: hidden; +} + +.highlight td:last-child pre, .highlight pre { + border-radius: unset; +} + +.highlight td:last-child pre code, .highlight pre code { + white-space: pre; +}
\ No newline at end of file |