aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-12 20:45:21 -0700
committerMark Otto <[email protected]>2015-08-12 20:45:21 -0700
commitb1a74195c8c2a9a103b7a167122bbce68e5c67e2 (patch)
tree85fdd7cc488ff57c864cda93575a76f30cb6e833 /scss
parent314161cb179be0846ac1190abf2fc442965ea300 (diff)
downloadbootstrap-b1a74195c8c2a9a103b7a167122bbce68e5c67e2.tar.xz
bootstrap-b1a74195c8c2a9a103b7a167122bbce68e5c67e2.zip
simpler type, docs callout for reproducing the v3 style headings and small text
Diffstat (limited to 'scss')
-rw-r--r--scss/_type.scss21
1 files changed, 2 insertions, 19 deletions
diff --git a/scss/_type.scss b/scss/_type.scss
index 07a616291..3d9988949 100644
--- a/scss/_type.scss
+++ b/scss/_type.scss
@@ -13,34 +13,17 @@ h1, h2, h3, h4, h5, h6,
font-weight: $headings-font-weight;
line-height: $headings-line-height;
color: $headings-color;
-
- small,
- .small {
- font-weight: normal;
- line-height: 1;
- color: $headings-small-color;
- }
}
h1, .h1,
h2, .h2,
h3, .h3 {
margin-bottom: ($spacer / 2);
-
- small,
- .small {
- font-size: 65%;
- }
}
h4, .h4,
h5, .h5,
h6, .h6 {
margin-bottom: ($spacer / 2);
-
- small,
- .small {
- font-size: 75%;
- }
}
h1, .h1 { font-size: $font-size-h1; }
@@ -90,10 +73,10 @@ hr {
// Emphasis
//
-// Ex: (12px small font / 14px base font) * 100% = about 85%
small,
.small {
- font-size: floor((100% * $font-size-sm / $font-size-base));
+ font-size: 80%;
+ font-weight: normal;
}
mark,