aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less21
1 files changed, 13 insertions, 8 deletions
diff --git a/less/type.less b/less/type.less
index 91298f1c0..6ab3c0804 100644
--- a/less/type.less
+++ b/less/type.less
@@ -62,7 +62,7 @@ p {
.lead {
margin-bottom: @line-height-computed;
font-size: floor((@font-size-base * 1.15));
- font-weight: 200;
+ font-weight: 300;
line-height: 1.4;
@media (min-width: @screen-sm-min) {
@@ -74,12 +74,11 @@ p {
// Emphasis & misc
// -------------------------
-// Ex: 14px base font * 85% = about 12px
+// Ex: (12px small font / 14px base font) * 100% = about 85%
small,
-.small { font-size: 85%; }
-
-// Undo browser default styling
-cite { font-style: normal; }
+.small {
+ font-size: floor((100% * @font-size-small / @font-size-base));
+}
mark,
.mark {
@@ -92,6 +91,12 @@ mark,
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
+.text-nowrap { white-space: nowrap; }
+
+// Transformation
+.text-lowercase { text-transform: lowercase; }
+.text-uppercase { text-transform: uppercase; }
+.text-capitalize { text-transform: capitalize; }
// Contextual colors
.text-muted {
@@ -209,13 +214,13 @@ dd {
@media (min-width: @grid-float-breakpoint) {
dt {
float: left;
- width: (@component-offset-horizontal - 20);
+ width: (@dl-horizontal-offset - 20);
clear: left;
text-align: right;
.text-overflow();
}
dd {
- margin-left: @component-offset-horizontal;
+ margin-left: @dl-horizontal-offset;
}
}
}