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
|
2020-04-14 13:57:11 +02:00
|
|
|
@each $display, $font-size in $display-font-sizes {
|
|
|
|
.display-#{$display} {
|
|
|
|
@include font-size($font-size);
|
2022-07-11 23:16:33 +02:00
|
|
|
font-family: $display-font-family;
|
|
|
|
font-style: $display-font-style;
|
2020-04-14 13:57:11 +02:00
|
|
|
font-weight: $display-font-weight;
|
|
|
|
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-08-22 10:14:42 +02:00
|
|
|
@include font-size($initialism-font-size);
|
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 {
|
2020-06-12 23:26:37 +02:00
|
|
|
margin-bottom: $blockquote-margin-y;
|
2019-02-07 23:32:05 +01:00
|
|
|
@include font-size($blockquote-font-size);
|
2020-06-12 23:26:37 +02:00
|
|
|
|
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
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 {
|
2020-06-12 23:26:37 +02:00
|
|
|
margin-top: -$blockquote-margin-y;
|
|
|
|
margin-bottom: $blockquote-margin-y;
|
|
|
|
@include font-size($blockquote-footer-font-size);
|
|
|
|
color: $blockquote-footer-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
|
|
|
}
|
|
|
|
}
|