2015-04-19 02:13:45 +08:00
|
|
|
//
|
2013-12-01 06:58:35 +08:00
|
|
|
// Headings
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2019-04-30 16:00:34 +08:00
|
|
|
.h1 {
|
|
|
|
@extend h1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h2 {
|
|
|
|
@extend h2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h3 {
|
|
|
|
@extend h3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h4 {
|
|
|
|
@extend h4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h5 {
|
|
|
|
@extend h5;
|
|
|
|
}
|
2013-12-01 06:58:35 +08:00
|
|
|
|
2019-04-30 16:00:34 +08:00
|
|
|
.h6 {
|
|
|
|
@extend h6;
|
2013-12-01 06:58:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-01-25 15:35:34 +08:00
|
|
|
.lead {
|
2019-02-08 06:32:05 +08:00
|
|
|
@include font-size($lead-font-size);
|
2015-08-14 14:18:32 +08:00
|
|
|
font-weight: $lead-font-weight;
|
2012-01-25 15:35:34 +08:00
|
|
|
}
|
2011-05-04 09:09:25 +08:00
|
|
|
|
2015-08-10 12:17:27 +08:00
|
|
|
// Type display classes
|
2020-04-14 19:57:11 +08:00
|
|
|
@each $display, $font-size in $display-font-sizes {
|
|
|
|
.display-#{$display} {
|
2022-07-12 05:16:33 +08:00
|
|
|
font-family: $display-font-family;
|
|
|
|
font-style: $display-font-style;
|
2020-04-14 19:57:11 +08:00
|
|
|
font-weight: $display-font-weight;
|
|
|
|
line-height: $display-line-height;
|
2024-07-16 05:10:14 +08:00
|
|
|
@include font-size($font-size);
|
2020-04-14 19:57:11 +08:00
|
|
|
}
|
2015-08-10 12:17:27 +08:00
|
|
|
}
|
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
|
|
|
// Emphasis
|
|
|
|
//
|
2014-04-26 14:30:50 +08:00
|
|
|
.small {
|
2019-04-30 16:00:34 +08:00
|
|
|
@extend small;
|
2014-04-26 14:30:50 +08:00
|
|
|
}
|
2012-11-01 01:46:04 +08:00
|
|
|
|
2014-03-07 16:10:46 +08:00
|
|
|
.mark {
|
2019-04-30 16:00:34 +08:00
|
|
|
@extend mark;
|
2014-03-07 16:10:46 +08:00
|
|
|
}
|
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2012-07-06 06:11:54 +08:00
|
|
|
// Lists
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2013-03-28 06:42:11 +08:00
|
|
|
|
|
|
|
.list-unstyled {
|
2019-07-24 14:41:18 +08:00
|
|
|
@include list-unstyled();
|
2011-05-04 09:09:25 +08:00
|
|
|
}
|
2013-10-26 21:13:34 +08:00
|
|
|
|
2013-03-28 06:42:11 +08:00
|
|
|
// Inline turns list items into inline-block
|
|
|
|
.list-inline {
|
2019-07-24 14:41:18 +08:00
|
|
|
@include list-unstyled();
|
2015-11-03 08:53:28 +08:00
|
|
|
}
|
|
|
|
.list-inline-item {
|
|
|
|
display: inline-block;
|
2015-12-08 15:31:02 +08:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: $list-inline-padding;
|
|
|
|
}
|
2012-10-26 15:47:55 +08:00
|
|
|
}
|
2011-05-04 09:09:25 +08:00
|
|
|
|
2014-02-23 04:13:11 +08:00
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2014-02-23 04:13:11 +08:00
|
|
|
// Misc
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2015-04-17 09:39:45 +08:00
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
// Builds on `abbr`
|
2013-12-01 08:18:07 +08:00
|
|
|
.initialism {
|
2019-08-22 16:14:42 +08:00
|
|
|
@include font-size($initialism-font-size);
|
2015-03-02 06:11:22 +08:00
|
|
|
text-transform: uppercase;
|
2012-02-20 04:24:06 +08:00
|
|
|
}
|
2011-10-18 05:17:29 +08:00
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
// Blockquotes
|
|
|
|
.blockquote {
|
2020-06-13 05:26:37 +08:00
|
|
|
margin-bottom: $blockquote-margin-y;
|
2019-02-08 06:32:05 +08:00
|
|
|
@include font-size($blockquote-font-size);
|
2020-06-13 05:26:37 +08:00
|
|
|
|
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-11-03 17:17:21 +08:00
|
|
|
}
|
2015-04-19 02:13:45 +08:00
|
|
|
|
2015-11-03 17:17:21 +08:00
|
|
|
.blockquote-footer {
|
2020-06-13 05:26:37 +08:00
|
|
|
margin-top: -$blockquote-margin-y;
|
|
|
|
margin-bottom: $blockquote-margin-y;
|
|
|
|
@include font-size($blockquote-footer-font-size);
|
|
|
|
color: $blockquote-footer-color;
|
2015-04-19 02:13:45 +08:00
|
|
|
|
2015-11-03 17:17:21 +08:00
|
|
|
&::before {
|
2018-08-14 16:38:57 +08:00
|
|
|
content: "\2014\00A0"; // em dash, nbsp
|
2015-04-19 02:13:45 +08:00
|
|
|
}
|
|
|
|
}
|