1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

make pre font-size a percentage of @baseFontSize

This commit is contained in:
Mark Otto 2012-03-10 14:36:58 -08:00
parent aef230d40a
commit 67aa00d0bb
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -525,7 +525,7 @@ pre {
display: block; display: block;
padding: 8.5px; padding: 8.5px;
margin: 0 0 9px; margin: 0 0 9px;
font-size: 12px; font-size: 12.025px;
line-height: 18px; line-height: 18px;
background-color: #f5f5f5; background-color: #f5f5f5;
border: 1px solid #ccc; border: 1px solid #ccc;

View file

@ -25,7 +25,7 @@ pre {
display: block; display: block;
padding: (@baseLineHeight - 1) / 2; padding: (@baseLineHeight - 1) / 2;
margin: 0 0 @baseLineHeight / 2; margin: 0 0 @baseLineHeight / 2;
font-size: 12px; font-size: @baseFontSize * .925; // 13px to 12px
line-height: @baseLineHeight; line-height: @baseLineHeight;
background-color: #f5f5f5; background-color: #f5f5f5;
border: 1px solid #ccc; // fallback for IE7-8 border: 1px solid #ccc; // fallback for IE7-8