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
|
|
|
}
|
|
|
|
|
2016-02-04 16:02:25 +08:00
|
|
|
h1, .h1 { font-size: $font-size-h1; }
|
|
|
|
h2, .h2 { font-size: $font-size-h2; }
|
|
|
|
h3, .h3 { font-size: $font-size-h3; }
|
|
|
|
h4, .h4 { font-size: $font-size-h4; }
|
|
|
|
h5, .h5 { font-size: $font-size-h5; }
|
|
|
|
h6, .h6 { font-size: $font-size-h6; }
|
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;
|
|
|
|
}
|
|
|
|
.display-2 {
|
|
|
|
font-size: $display2-size;
|
|
|
|
font-weight: $display2-weight;
|
|
|
|
}
|
|
|
|
.display-3 {
|
|
|
|
font-size: $display3-size;
|
|
|
|
font-weight: $display3-weight;
|
|
|
|
}
|
|
|
|
.display-4 {
|
|
|
|
font-size: $display4-size;
|
|
|
|
font-weight: $display4-weight;
|
|
|
|
}
|
|
|
|
|
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 {
|
2015-08-14 14:18:32 +08:00
|
|
|
margin-top: $spacer-y;
|
|
|
|
margin-bottom: $spacer-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;
|
2015-08-13 11:45:21 +08:00
|
|
|
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 {
|
|
|
|
padding: ($spacer / 2) $spacer;
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
font-size: $blockquote-font-size;
|
2016-01-15 14:27:08 +08:00
|
|
|
border-left: $blockquote-border-width solid $blockquote-border-color;
|
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;
|
|
|
|
font-size: 80%; // back to default font-size
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Opposite alignment of blockquote
|
|
|
|
.blockquote-reverse {
|
|
|
|
padding-right: $spacer;
|
|
|
|
padding-left: 0;
|
|
|
|
text-align: right;
|
2016-01-15 14:27:08 +08:00
|
|
|
border-right: $blockquote-border-width solid $blockquote-border-color;
|
2015-04-19 02:13:45 +08:00
|
|
|
border-left: 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-reverse .blockquote-footer {
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: "\00A0 \2014"; // nbsp, em dash
|
2015-04-19 02:13:45 +08:00
|
|
|
}
|
|
|
|
}
|
2016-02-07 12:01:37 +08:00
|
|
|
|
2016-02-07 12:02:39 +08:00
|
|
|
@if not $enable-flex {
|
|
|
|
// Clean up some horizontal `<dl>`s built with grids
|
|
|
|
// scss-lint:disable QualifyingElement
|
|
|
|
dl.row {
|
|
|
|
> dd + dt {
|
|
|
|
clear: left;
|
|
|
|
}
|
2016-02-07 12:01:37 +08:00
|
|
|
}
|
2016-02-07 12:02:39 +08:00
|
|
|
// scss-lint:enable QualifyingElement
|
2016-02-07 12:01:37 +08:00
|
|
|
}
|