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
|
|
|
//
|
2019-04-30 10:00:34 +02:00
|
|
|
.h1 {
|
|
|
|
@extend h1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h2 {
|
|
|
|
@extend h2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h3 {
|
|
|
|
@extend h3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h4 {
|
|
|
|
@extend h4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h5 {
|
|
|
|
@extend h5;
|
|
|
|
}
|
2013-11-30 23:58:35 +01:00
|
|
|
|
2019-04-30 10:00:34 +02:00
|
|
|
.h6 {
|
|
|
|
@extend h6;
|
2013-11-30 23:58:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-01-25 08:35:34 +01:00
|
|
|
.lead {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($lead-font-size);
|
2015-08-14 08:18:32 +02:00
|
|
|
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 {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($display1-size);
|
2015-08-10 06:17:27 +02:00
|
|
|
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 {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($display2-size);
|
2015-08-10 06:17:27 +02:00
|
|
|
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 {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($display3-size);
|
2015-08-10 06:17:27 +02:00
|
|
|
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 {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($display4-size);
|
2015-08-10 06:17:27 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2015-04-18 20:13:45 +02:00
|
|
|
//
|
|
|
|
// Emphasis
|
|
|
|
//
|
2014-04-26 08:30:50 +02:00
|
|
|
.small {
|
2019-04-30 10:00:34 +02:00
|
|
|
@extend small;
|
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 {
|
2019-04-30 10:00:34 +02:00
|
|
|
@extend mark;
|
2014-03-07 09:10:46 +01: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 {
|
2019-07-24 08:41:18 +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 {
|
2019-07-24 08:41:18 +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 {
|
2019-02-07 23:32:05 +01:00
|
|
|
@include 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;
|
2019-02-07 23:32:05 +01:00
|
|
|
@include 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;
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($blockquote-small-font-size);
|
2015-11-03 10:17:21 +01:00
|
|
|
color: $blockquote-small-color;
|
2015-04-18 20:13:45 +02:00
|
|
|
|
2015-11-03 10:17:21 +01:00
|
|
|
&::before {
|
2018-08-14 10:38:57 +02:00
|
|
|
content: "\2014\00A0"; // em dash, nbsp
|
2015-04-18 20:13:45 +02:00
|
|
|
}
|
|
|
|
}
|