3 // --------------------------------------------------
7 // -------------------------
10 margin: 0 0 (@line-height-computed / 2);
13 margin-bottom: @line-height-computed;
14 font-size: floor(@font-size-base * 1.15);
18 @media (min-width: @screen-sm-min) {
19 font-size: (@font-size-base * 1.5);
25 // -------------------------
27 // Ex: 14px base font * 85% = about 12px
29 .small { font-size: 85%; }
31 // Undo browser default styling
32 cite { font-style: normal; }
34 // Contextual emphasis
39 color: @brand-primary;
41 color: darken(@brand-primary, 10%);
45 color: @state-warning-text;
47 color: darken(@state-warning-text, 10%);
51 color: @state-danger-text;
53 color: darken(@state-danger-text, 10%);
57 color: @state-success-text;
59 color: darken(@state-success-text, 10%);
63 color: @state-info-text;
65 color: darken(@state-info-text, 10%);
70 .text-left { text-align: left; }
71 .text-right { text-align: right; }
72 .text-center { text-align: center; }
76 // -------------------------
78 h1, h2, h3, h4, h5, h6,
79 .h1, .h2, .h3, .h4, .h5, .h6 {
80 font-family: @headings-font-family;
81 font-weight: @headings-font-weight;
82 line-height: @headings-line-height;
83 color: @headings-color;
89 color: @headings-small-color;
96 margin-top: @line-height-computed;
97 margin-bottom: (@line-height-computed / 2);
107 margin-top: (@line-height-computed / 2);
108 margin-bottom: (@line-height-computed / 2);
116 h1, .h1 { font-size: @font-size-h1; }
117 h2, .h2 { font-size: @font-size-h2; }
118 h3, .h3 { font-size: @font-size-h3; }
119 h4, .h4 { font-size: @font-size-h4; }
120 h5, .h5 { font-size: @font-size-h5; }
121 h6, .h6 { font-size: @font-size-h6; }
125 // -------------------------
128 padding-bottom: ((@line-height-computed / 2) - 1);
129 margin: (@line-height-computed * 2) 0 @line-height-computed;
130 border-bottom: 1px solid @page-header-border-color;
136 // --------------------------------------------------
138 // Unordered and Ordered lists
142 margin-bottom: (@line-height-computed / 2);
151 // Unstyled keeps list items block level, just removes default browser padding and list-style
157 // Inline turns list items into inline-block
162 display: inline-block;
174 margin-bottom: @line-height-computed;
178 line-height: @line-height-base;
184 margin-left: 0; // Undo browser default
187 // Horizontal description lists
189 // Defaults to being stacked without any of the below styles applied, until the
190 // grid breakpoint is reached (default of ~768px).
192 @media (min-width: @grid-float-breakpoint) {
196 width: (@component-offset-horizontal - 20);
202 margin-left: @component-offset-horizontal;
203 .clearfix(); // Clear the floated `dt` if an empty `dd` is present
211 // Abbreviations and acronyms
213 // Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
214 abbr[data-original-title] {
216 border-bottom: 1px dotted @abbr-border-color;
220 text-transform: uppercase;
225 padding: (@line-height-computed / 2) @line-height-computed;
226 margin: 0 0 @line-height-computed;
227 border-left: 5px solid @blockquote-border-color;
229 font-size: (@font-size-base * 1.25);
238 line-height: @line-height-base;
239 color: @blockquote-small-color;
241 content: '\2014 \00A0'; // EM DASH, NBSP
245 // Float right with text-align: right
249 border-right: 5px solid @blockquote-border-color;
262 content: '\00A0 \2014'; // NBSP, EM DASH
276 margin-bottom: @line-height-computed;
278 line-height: @line-height-base;