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