Browse Source

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

master
Maciej Smolinski 10 years ago
parent
commit
262202fbad
  1. 11
      resources/public/style.css

11
resources/public/style.css

@ -186,11 +186,20 @@ blockquote { @@ -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;

Loading…
Cancel
Save