2015-04-18 14:13:45 -04:00
|
|
|
//
|
2013-11-30 17:58:35 -05:00
|
|
|
// Headings
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2013-11-30 17:58:35 -05:00
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6,
|
|
|
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
2015-11-11 00:19:33 -05:00
|
|
|
margin-bottom: $headings-margin-bottom;
|
2014-12-02 17:02:35 -05:00
|
|
|
font-family: $headings-font-family;
|
|
|
|
font-weight: $headings-font-weight;
|
|
|
|
line-height: $headings-line-height;
|
|
|
|
color: $headings-color;
|
2013-11-30 17:58:35 -05:00
|
|
|
}
|
|
|
|
|
2016-02-04 03:02:25 -05:00
|
|
|
h1, .h1 { font-size: $font-size-h1; }
|
|
|
|
h2, .h2 { font-size: $font-size-h2; }
|
|
|
|
h3, .h3 { font-size: $font-size-h3; }
|
|
|
|
h4, .h4 { font-size: $font-size-h4; }
|
|
|
|
h5, .h5 { font-size: $font-size-h5; }
|
|
|
|
h6, .h6 { font-size: $font-size-h6; }
|
2013-11-30 17:58:35 -05:00
|
|
|
|
2012-01-25 02:35:34 -05:00
|
|
|
.lead {
|
2015-08-14 02:18:32 -04:00
|
|
|
font-size: $lead-font-size;
|
|
|
|
font-weight: $lead-font-weight;
|
2012-01-25 02:35:34 -05:00
|
|
|
}
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2015-08-10 00:17:27 -04:00
|
|
|
// Type display classes
|
|
|
|
.display-1 {
|
|
|
|
font-size: $display1-size;
|
|
|
|
font-weight: $display1-weight;
|
2017-01-02 14:03:25 -05:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 00:17:27 -04:00
|
|
|
}
|
|
|
|
.display-2 {
|
|
|
|
font-size: $display2-size;
|
|
|
|
font-weight: $display2-weight;
|
2017-01-02 14:03:25 -05:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 00:17:27 -04:00
|
|
|
}
|
|
|
|
.display-3 {
|
|
|
|
font-size: $display3-size;
|
|
|
|
font-weight: $display3-weight;
|
2017-01-02 14:03:25 -05:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 00:17:27 -04:00
|
|
|
}
|
|
|
|
.display-4 {
|
|
|
|
font-size: $display4-size;
|
|
|
|
font-weight: $display4-weight;
|
2017-01-02 14:03:25 -05:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 00:17:27 -04:00
|
|
|
}
|
|
|
|
|
2012-07-05 18:11:54 -04:00
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2015-04-16 20:10:47 -04:00
|
|
|
// Horizontal rules
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2015-04-16 20:10:47 -04:00
|
|
|
|
|
|
|
hr {
|
2017-03-05 15:20:44 -05:00
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
2015-04-16 20:10:47 -04:00
|
|
|
border: 0;
|
2015-08-14 02:18:32 -04:00
|
|
|
border-top: $hr-border-width solid $hr-border-color;
|
2015-04-16 20:10:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
|
|
|
// Emphasis
|
|
|
|
//
|
2012-08-19 16:12:19 -04:00
|
|
|
|
2013-08-27 12:21:09 -04:00
|
|
|
small,
|
2014-04-26 02:30:50 -04:00
|
|
|
.small {
|
2016-10-16 21:49:55 -04:00
|
|
|
font-size: $small-font-size;
|
2016-10-19 15:41:27 -04:00
|
|
|
font-weight: $font-weight-normal;
|
2014-04-26 02:30:50 -04:00
|
|
|
}
|
2012-10-31 13:46:04 -04:00
|
|
|
|
2014-03-07 03:10:46 -05:00
|
|
|
mark,
|
|
|
|
.mark {
|
2016-02-16 02:55:19 -05:00
|
|
|
padding: $mark-padding;
|
2016-02-16 03:04:30 -05:00
|
|
|
background-color: $mark-bg;
|
2014-03-07 03:10:46 -05:00
|
|
|
}
|
|
|
|
|
2012-08-19 16:12:19 -04:00
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2012-07-05 18:11:54 -04:00
|
|
|
// Lists
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2013-03-27 18:42:11 -04:00
|
|
|
|
|
|
|
.list-unstyled {
|
2015-10-06 06:43:59 -04:00
|
|
|
@include list-unstyled;
|
2011-05-03 21:09:25 -04:00
|
|
|
}
|
2013-10-26 09:13:34 -04:00
|
|
|
|
2013-03-27 18:42:11 -04:00
|
|
|
// Inline turns list items into inline-block
|
|
|
|
.list-inline {
|
2015-10-06 06:43:59 -04:00
|
|
|
@include list-unstyled;
|
2015-11-02 19:53:28 -05:00
|
|
|
}
|
|
|
|
.list-inline-item {
|
|
|
|
display: inline-block;
|
2015-12-08 02:31:02 -05:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: $list-inline-padding;
|
|
|
|
}
|
2012-10-26 03:47:55 -04:00
|
|
|
}
|
2011-05-03 21:09:25 -04:00
|
|
|
|
2014-02-22 15:13:11 -05:00
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2014-02-22 15:13:11 -05:00
|
|
|
// Misc
|
2015-04-18 14:13:45 -04:00
|
|
|
//
|
2015-04-16 21:39:45 -04:00
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
// Builds on `abbr`
|
2013-11-30 19:18:07 -05:00
|
|
|
.initialism {
|
2012-02-19 15:24:06 -05:00
|
|
|
font-size: 90%;
|
2015-03-01 17:11:22 -05:00
|
|
|
text-transform: uppercase;
|
2012-02-19 15:24:06 -05:00
|
|
|
}
|
2011-10-17 17:17:29 -04:00
|
|
|
|
2015-04-18 14:13:45 -04:00
|
|
|
// Blockquotes
|
|
|
|
.blockquote {
|
|
|
|
padding: ($spacer / 2) $spacer;
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
font-size: $blockquote-font-size;
|
2016-01-15 01:27:08 -05:00
|
|
|
border-left: $blockquote-border-width solid $blockquote-border-color;
|
2015-11-03 04:17:21 -05:00
|
|
|
}
|
2015-04-18 14:13:45 -04:00
|
|
|
|
2015-11-03 04:17:21 -05:00
|
|
|
.blockquote-footer {
|
|
|
|
display: block;
|
|
|
|
font-size: 80%; // back to default font-size
|
|
|
|
color: $blockquote-small-color;
|
2015-04-18 14:13:45 -04:00
|
|
|
|
2015-11-03 04:17:21 -05:00
|
|
|
&::before {
|
|
|
|
content: "\2014 \00A0"; // em dash, nbsp
|
2015-04-18 14:13:45 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Opposite alignment of blockquote
|
|
|
|
.blockquote-reverse {
|
|
|
|
padding-right: $spacer;
|
|
|
|
padding-left: 0;
|
|
|
|
text-align: right;
|
2016-01-15 01:27:08 -05:00
|
|
|
border-right: $blockquote-border-width solid $blockquote-border-color;
|
2015-04-18 14:13:45 -04:00
|
|
|
border-left: 0;
|
2015-11-03 04:17:21 -05:00
|
|
|
}
|
2015-04-18 14:13:45 -04:00
|
|
|
|
2015-11-03 04:17:21 -05:00
|
|
|
.blockquote-reverse .blockquote-footer {
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\00A0 \2014"; // nbsp, em dash
|
2015-04-18 14:13:45 -04:00
|
|
|
}
|
|
|
|
}
|