From 081784d083bb9e8e1f2bc953d539aebfb02e1118 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Sat, 28 Dec 2019 21:43:06 +0100 Subject: [PATCH] Just move the code css into global css --- static/global.css | 24 ++++++++++++++++++++++++ static/prism.css | 24 ------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/static/global.css b/static/global.css index 867e702..cb52624 100644 --- a/static/global.css +++ b/static/global.css @@ -57,6 +57,30 @@ a:hover { text-decoration: underline; } +code, +pre { + font-family: menlo, inconsolata, monospace; + font-size: 0.92em; + background-color: #f0f0f0; + padding: 0.2em 0.4em; + color: #464646; + text-shadow: 0 1px white; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + p { margin: 0; } diff --git a/static/prism.css b/static/prism.css index ab0ad88..88ab3cf 100644 --- a/static/prism.css +++ b/static/prism.css @@ -6,30 +6,6 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc * @author Lea Verou */ -code, -pre { - font-family: menlo, inconsolata, monospace; - font-size: 0.92em; - background-color: #f0f0f0; - padding: 0.2em 0.4em; - color: #464646; - text-shadow: 0 1px white; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - pre[class*='language-']::-moz-selection, pre[class*='language-'] ::-moz-selection, code[class*='language-']::-moz-selection,