aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-10-20 22:55:45 -0700
committerMark Otto <[email protected]>2013-10-20 22:55:45 -0700
commit2eec3f919e7bd7ee847c2631ae9c53515cac1c8f (patch)
treeb9dd9c6b61fcb72aafe47dd85beac8cfb9da4fe2 /less/type.less
parentab3d0a27b3d93eebff3852728f94ddc4fcb35199 (diff)
parent6585c5898a47deb2df5f7db4f9ef3fe8fa1e5a4a (diff)
downloadbootstrap-2eec3f919e7bd7ee847c2631ae9c53515cac1c8f.tar.xz
bootstrap-2eec3f919e7bd7ee847c2631ae9c53515cac1c8f.zip
Merge branch 'master' into pr/10656
Conflicts: dist/css/bootstrap.min.css
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less22
1 files changed, 12 insertions, 10 deletions
diff --git a/less/type.less b/less/type.less
index 2f154516c..e5544ab3e 100644
--- a/less/type.less
+++ b/less/type.less
@@ -11,11 +11,11 @@ p {
}
.lead {
margin-bottom: @line-height-computed;
- font-size: (@font-size-base * 1.15);
+ font-size: floor(@font-size-base * 1.15);
font-weight: 200;
line-height: 1.4;
- @media (min-width: @screen-sm) {
+ @media (min-width: @screen-sm-min) {
font-size: (@font-size-base * 1.5);
}
}
@@ -82,7 +82,8 @@ h1, h2, h3, h4, h5, h6,
line-height: @headings-line-height;
color: @headings-color;
- small {
+ small,
+ .small {
font-weight: normal;
line-height: 1;
color: @headings-small-color;
@@ -95,7 +96,8 @@ h3 {
margin-top: @line-height-computed;
margin-bottom: (@line-height-computed / 2);
- small {
+ small,
+ .small {
font-size: 65%;
}
}
@@ -105,7 +107,8 @@ h6 {
margin-top: (@line-height-computed / 2);
margin-bottom: (@line-height-computed / 2);
- small {
+ small,
+ .small {
font-size: 75%;
}
}
@@ -240,10 +243,12 @@ blockquote {
border-right: 5px solid @blockquote-border-color;
border-left: 0;
p,
- small {
+ small,
+ .small {
text-align: right;
}
- small {
+ small,
+ .small {
&:before {
content: '';
}
@@ -255,8 +260,6 @@ blockquote {
}
// Quotes
-q:before,
-q:after,
blockquote:before,
blockquote:after {
content: "";
@@ -264,7 +267,6 @@ blockquote:after {
// Addresses
address {
- display: block;
margin-bottom: @line-height-computed;
font-style: normal;
line-height: @line-height-base;