diff options
Diffstat (limited to 'web/source/css/status.css')
-rw-r--r-- | web/source/css/status.css | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/web/source/css/status.css b/web/source/css/status.css index 019fbd0b4..009dd9f2b 100644 --- a/web/source/css/status.css +++ b/web/source/css/status.css @@ -19,7 +19,6 @@ @import "photoswipe/dist/photoswipe.css"; @import "photoswipe-dynamic-caption-plugin/photoswipe-dynamic-caption-plugin.css"; @import "plyr/dist/plyr.css"; -@import "./prism.css"; main { background: transparent; @@ -194,68 +193,6 @@ main { line-height: initial; } - pre, code { - background-color: $gray2; - } - - /* - Just code on its own inside status - content, ie, `here is some code`. - */ - code { - padding: 0.25rem; - border-radius: $br-inner; - white-space: pre-wrap; - } - - /* - Restyle Prism code highlighting toolbar - plugin buttons to our own button style. - */ - .code-toolbar .toolbar { - margin-right: 0.5rem; - display: flex; - gap: 0.25rem; - - .toolbar-item { - span, button { - color: $button-fg; - background: $button-bg; - font-weight: bold; - } - - .copy-to-clipboard-button, span { - box-shadow: $boxshadow; - } - - .copy-to-clipboard-button:hover, .copy-to-clipboard-button:hover span { - background: $button-hover-bg; - } - } - } - - pre, pre[class*="language-"] { - border-radius: $br; - padding: 0.5rem; - white-space: pre; - overflow-x: auto; - - /* - Code inside a pre block, ie., - - ``` - here is some code - ``` - */ - code { - width: 100%; - padding: 0; - white-space: pre; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - } - } - img { max-width: 100%; margin: 5px auto; |