Styles: Prevent syntax-highlighted code from being over-sized.

This commit is contained in:
Maciej Smolinski
2016-07-20 16:55:58 +02:00
parent 38e6108000
commit 262202fbad
+10 -1
View File
@@ -186,11 +186,20 @@ blockquote {
}
code, pre {
font-size: 1.05em;
background: #efefef;
font-family: monospace;
}
/* Code tags alone to be slightly bigger than defaults */
code {
font-size: 1.05em;
}
/* Prevent over-sized code in when syntax-highlighted */
pre code {
font-size: 1em;
}
pre {
border: 1px solid #aaa;
padding: 0.5em;