2017-10-03 11:34:56 +08:00
|
|
|
// stylelint-disable declaration-no-important, selector-list-comma-newline-after
|
|
|
|
|
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
|
|
|
//
|
2013-12-01 06:58:35 +08:00
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6,
|
|
|
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
2015-11-11 13:19:33 +08:00
|
|
|
margin-bottom: $headings-margin-bottom;
|
2014-12-03 06:02:35 +08:00
|
|
|
font-family: $headings-font-family;
|
|
|
|
font-weight: $headings-font-weight;
|
|
|
|
line-height: $headings-line-height;
|
|
|
|
color: $headings-color;
|
2013-12-01 06:58:35 +08:00
|
|
|
}
|
|
|
|
|
2017-06-09 09:05:27 +08: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-12-01 06:58:35 +08:00
|
|
|
|
2012-01-25 15:35:34 +08:00
|
|
|
.lead {
|
2015-08-14 14:18:32 +08:00
|
|
|
font-size: $lead-font-size;
|
|
|
|
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
|
|
|
|
.display-1 {
|
|
|
|
font-size: $display1-size;
|
|
|
|
font-weight: $display1-weight;
|
2017-01-03 03:03:25 +08:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 12:17:27 +08:00
|
|
|
}
|
|
|
|
.display-2 {
|
|
|
|
font-size: $display2-size;
|
|
|
|
font-weight: $display2-weight;
|
2017-01-03 03:03:25 +08:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 12:17:27 +08:00
|
|
|
}
|
|
|
|
.display-3 {
|
|
|
|
font-size: $display3-size;
|
|
|
|
font-weight: $display3-weight;
|
2017-01-03 03:03:25 +08:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 12:17:27 +08:00
|
|
|
}
|
|
|
|
.display-4 {
|
|
|
|
font-size: $display4-size;
|
|
|
|
font-weight: $display4-weight;
|
2017-01-03 03:03:25 +08:00
|
|
|
line-height: $display-line-height;
|
2015-08-10 12:17:27 +08:00
|
|
|
}
|
|
|
|
|
2012-07-06 06:11:54 +08:00
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2015-04-17 08:10:47 +08:00
|
|
|
// Horizontal rules
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
2015-04-17 08:10:47 +08:00
|
|
|
|
|
|
|
hr {
|
2017-10-23 21:13:18 +08:00
|
|
|
margin-top: $hr-margin-y;
|
|
|
|
margin-bottom: $hr-margin-y;
|
2015-04-17 08:10:47 +08:00
|
|
|
border: 0;
|
2015-08-14 14:18:32 +08:00
|
|
|
border-top: $hr-border-width solid $hr-border-color;
|
2015-04-17 08:10:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-04-19 02:13:45 +08:00
|
|
|
//
|
|
|
|
// Emphasis
|
|
|
|
//
|
2012-08-20 04:12:19 +08:00
|
|
|
|
2013-08-28 00:21:09 +08:00
|
|
|
small,
|
2014-04-26 14:30:50 +08:00
|
|
|
.small {
|
2016-10-17 09:49:55 +08:00
|
|
|
font-size: $small-font-size;
|
2016-10-20 03:41:27 +08:00
|
|
|
font-weight: $font-weight-normal;
|
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,
|
|
|
|
.mark {
|
2016-02-16 15:55:19 +08:00
|
|
|
padding: $mark-padding;
|
2016-02-16 16:04:30 +08:00
|
|
|
background-color: $mark-bg;
|
2014-03-07 16:10:46 +08:00
|
|
|
}
|
|
|
|
|
2012-08-20 04:12:19 +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 {
|
2015-10-06 18:43:59 +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 {
|
2015-10-06 18:43:59 +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 {
|
2012-02-20 04:24:06 +08:00
|
|
|
font-size: 90%;
|
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 {
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
font-size: $blockquote-font-size;
|
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 {
|
|
|
|
display: block;
|
2018-08-14 16:35:11 +08:00
|
|
|
font-size: $blockquote-small-font-size;
|
2015-11-03 17:17:21 +08:00
|
|
|
color: $blockquote-small-color;
|
2015-04-19 02:13:45 +08:00
|
|
|
|
2015-11-03 17:17:21 +08:00
|
|
|
&::before {
|
|
|
|
content: "\2014 \00A0"; // em dash, nbsp
|
2015-04-19 02:13:45 +08:00
|
|
|
}
|
|
|
|
}
|