2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

consolidate font resets into scaffolding

This commit is contained in:
Mark Otto
2012-11-30 00:24:17 -08:00
parent 71d8bebfbc
commit 4fd164d45b
3 changed files with 19 additions and 41 deletions
-15
View File
@@ -30,21 +30,6 @@ legend {
border-bottom: 1px solid #e5e5e5;
}
// Set font for forms
label,
input,
button,
select,
textarea {
#font > .shorthand(@baseFontSize,normal,@baseLineHeight); // Set size, weight, line-height here
}
input,
button,
select,
textarea {
font-family: @baseFontFamily; // And only set font-family here for those that need it (note the missing label element)
}
// Identify controls by their labels
label {
display: block;
+10 -2
View File
@@ -8,11 +8,19 @@
body {
margin: 0;
color: @textColor;
background-color: @bodyBackground;
}
// Reset fonts for revelant elements
body,
input,
button,
select,
textarea {
font-family: @baseFontFamily;
font-size: @baseFontSize;
line-height: @baseLineHeight;
color: @textColor;
background-color: @bodyBackground;
}