aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-07 01:30:28 -0800
committerMark Otto <[email protected]>2014-03-07 01:30:28 -0800
commit0143e38a672335b7ca2d73d0de5b2a2b4618f9e9 (patch)
tree7188809b7c2194fc0aca9a65b7d07725ee4206d5 /less/type.less
parent642fd5100293755a6003448d4a481f3b314edf15 (diff)
parent1f148427de6d35a06e225deeee0b162b11955232 (diff)
downloadbootstrap-0143e38a672335b7ca2d73d0de5b2a2b4618f9e9.tar.xz
bootstrap-0143e38a672335b7ca2d73d0de5b2a2b4618f9e9.zip
Merge branch 'master' into document_popover_focus
Conflicts: docs/assets/js/docs.min.js
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less22
1 files changed, 16 insertions, 6 deletions
diff --git a/less/type.less b/less/type.less
index 5e2a21905..91298f1c0 100644
--- a/less/type.less
+++ b/less/type.less
@@ -81,6 +81,12 @@ small,
// Undo browser default styling
cite { font-style: normal; }
+mark,
+.mark {
+ background-color: @state-warning-bg;
+ padding: .2em;
+}
+
// Alignment
.text-left { text-align: left; }
.text-right { text-align: right; }
@@ -141,7 +147,7 @@ cite { font-style: normal; }
// Lists
-// --------------------------------------------------
+// -------------------------
// Unordered and Ordered lists
ul,
@@ -195,8 +201,12 @@ dd {
// Defaults to being stacked without any of the below styles applied, until the
// grid breakpoint is reached (default of ~768px).
-@media (min-width: @grid-float-breakpoint) {
- .dl-horizontal {
+.dl-horizontal {
+ dd {
+ &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
+ }
+
+ @media (min-width: @grid-float-breakpoint) {
dt {
float: left;
width: (@component-offset-horizontal - 20);
@@ -206,13 +216,13 @@ dd {
}
dd {
margin-left: @component-offset-horizontal;
- &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
}
}
}
-// MISC
-// ----
+
+// Misc
+// -------------------------
// Abbreviations and acronyms
abbr[title],