3 // --------------------------------------------------
7 // -------------------------
9 h1, h2, h3, h4, h5, h6,
10 .h1, .h2, .h3, .h4, .h5, .h6 {
11 font-family: @headings-font-family;
12 font-weight: @headings-font-weight;
13 line-height: @headings-line-height;
14 color: @headings-color;
20 color: @headings-small-color;
27 margin-top: @line-height-computed;
28 margin-bottom: (@line-height-computed / 2);
38 margin-top: (@line-height-computed / 2);
39 margin-bottom: (@line-height-computed / 2);
47 h1, .h1 { font-size: @font-size-h1; }
48 h2, .h2 { font-size: @font-size-h2; }
49 h3, .h3 { font-size: @font-size-h3; }
50 h4, .h4 { font-size: @font-size-h4; }
51 h5, .h5 { font-size: @font-size-h5; }
52 h6, .h6 { font-size: @font-size-h6; }
56 // -------------------------
59 margin: 0 0 (@line-height-computed / 2);
63 margin-bottom: @line-height-computed;
64 font-size: floor((@font-size-base * 1.15));
68 @media (min-width: @screen-sm-min) {
69 font-size: (@font-size-base * 1.5);
75 // -------------------------
77 // Ex: (12px small font / 14px base font) * 100% = about 85%
80 font-size: floor((100% * @font-size-small / @font-size-base));
85 background-color: @state-warning-bg;
90 .text-left { text-align: left; }
91 .text-right { text-align: right; }
92 .text-center { text-align: center; }
93 .text-justify { text-align: justify; }
94 .text-nowrap { white-space: nowrap; }
97 .text-lowercase { text-transform: lowercase; }
98 .text-uppercase { text-transform: uppercase; }
99 .text-capitalize { text-transform: capitalize; }
106 .text-emphasis-variant(@brand-primary);
109 .text-emphasis-variant(@state-success-text);
112 .text-emphasis-variant(@state-info-text);
115 .text-emphasis-variant(@state-warning-text);
118 .text-emphasis-variant(@state-danger-text);
121 // Contextual backgrounds
122 // For now we'll leave these alongside the text classes until v4 when we can
123 // safely shift things around (per SemVer rules).
125 // Given the contrast here, this is the only class to have its color inverted
128 .bg-variant(@brand-primary);
131 .bg-variant(@state-success-bg);
134 .bg-variant(@state-info-bg);
137 .bg-variant(@state-warning-bg);
140 .bg-variant(@state-danger-bg);
145 // -------------------------
148 padding-bottom: ((@line-height-computed / 2) - 1);
149 margin: (@line-height-computed * 2) 0 @line-height-computed;
150 border-bottom: 1px solid @page-header-border-color;
155 // -------------------------
157 // Unordered and Ordered lists
161 margin-bottom: (@line-height-computed / 2);
170 // Unstyled keeps list items block level, just removes default browser padding and list-style
176 // Inline turns list items into inline-block
182 display: inline-block;
190 margin-top: 0; // Remove browser default
191 margin-bottom: @line-height-computed;
195 line-height: @line-height-base;
201 margin-left: 0; // Undo browser default
204 // Horizontal description lists
206 // Defaults to being stacked without any of the below styles applied, until the
207 // grid breakpoint is reached (default of ~768px).
211 &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
214 @media (min-width: @grid-float-breakpoint) {
217 width: (@dl-horizontal-offset - 20);
223 margin-left: @dl-horizontal-offset;
230 // -------------------------
232 // Abbreviations and acronyms
234 // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
235 abbr[data-original-title] {
237 border-bottom: 1px dotted @abbr-border-color;
246 padding: (@line-height-computed / 2) @line-height-computed;
247 margin: 0 0 @line-height-computed;
248 font-size: @blockquote-font-size;
249 border-left: 5px solid @blockquote-border-color;
259 // Note: Deprecated small and .small as of v3.1.0
260 // Context: https://github.com/twbs/bootstrap/issues/11660
265 font-size: 80%; // back to default font-size
266 line-height: @line-height-base;
267 color: @blockquote-small-color;
270 content: '\2014 \00A0'; // em dash, nbsp
275 // Opposite alignment of blockquote
277 // Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
279 blockquote.pull-right {
282 border-right: 5px solid @blockquote-border-color;
286 // Account for citation
290 &:before { content: ''; }
292 content: '\00A0 \2014'; // nbsp, em dash
299 margin-bottom: @line-height-computed;
301 line-height: @line-height-base;