Scale code and pre contents with font size

Fixes Trac #893.

(imported from commit ef376a4921d682d48e86a3a442877c0e5b15feef)
This commit is contained in:
Reid Barton 2013-02-14 22:01:54 -05:00
parent 00445c843e
commit b558d062ba

View File

@ -57,9 +57,19 @@ li, .table th, .table td {
/* Inline and block code */
code {
/* 12/14 em, so bootstrap's default 12 px,
when body is the default 14 px */
font-size: 0.857em;
white-space: nowrap;
}
pre {
/* 13/14 em, so bootstrap's default 13 px,
when body is the default 14 px */
font-size: 0.929em;
}
pre code {
white-space: pre;
}