Just move the code css into global css

This commit is contained in:
Michal Vanko 2019-12-28 21:43:06 +01:00
parent d4c82cc746
commit 081784d083
2 changed files with 24 additions and 24 deletions

View File

@ -57,6 +57,30 @@ a:hover {
text-decoration: underline; 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 { p {
margin: 0; margin: 0;
} }

View File

@ -6,30 +6,6 @@ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javasc
* @author Lea Verou * @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,
pre[class*='language-'] ::-moz-selection, pre[class*='language-'] ::-moz-selection,
code[class*='language-']::-moz-selection, code[class*='language-']::-moz-selection,