2017-09-22 13:22:47 +00:00
|
|
|
|
|
|
|
/* Basic */
|
|
|
|
|
|
|
|
@-ms-viewport {
|
2017-09-23 22:54:08 +00:00
|
|
|
width: device-width;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2017-09-23 22:54:08 +00:00
|
|
|
background: _palette(bg);
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
&.is-loading {
|
|
|
|
*, *:before, *:after {
|
|
|
|
@include vendor('animation', 'none !important');
|
|
|
|
@include vendor('transition', 'none !important');
|
|
|
|
}
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body, input, select, textarea {
|
2017-09-23 22:54:08 +00:00
|
|
|
color: _palette(fg);
|
|
|
|
font-family: _font(family);
|
|
|
|
font-size: 15pt;
|
|
|
|
font-weight: _font(weight);
|
|
|
|
letter-spacing: _size(letter-spacing);
|
|
|
|
line-height: 1.65em;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
@include breakpoint(xlarge) {
|
|
|
|
font-size: 13pt;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
@include breakpoint(large) {
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
@include breakpoint(small) {
|
|
|
|
font-size: 11pt;
|
|
|
|
letter-spacing: _size(letter-spacing) * 0.5;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-09-23 22:54:08 +00:00
|
|
|
@include vendor('transition', ('color #{_duration(transitions)} ease', 'border-bottom-color #{_duration(transitions)} ease'));
|
|
|
|
border-bottom: dotted 1px;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
&:hover {
|
|
|
|
border-bottom-color: transparent;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
strong, b {
|
2017-09-23 22:54:08 +00:00
|
|
|
color: _palette(fg-bold);
|
|
|
|
font-weight: _font(weight-bold);
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
em, i {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-style: italic;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2017-09-23 22:54:08 +00:00
|
|
|
margin: 0 0 _size(element-margin) 0;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
.h1, .h2, .h3, .h4, .h5, .h6,
|
2017-09-22 13:22:47 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2017-09-23 22:54:08 +00:00
|
|
|
color: _palette(fg-bold);
|
|
|
|
font-weight: _font(weight-extrabold);
|
|
|
|
letter-spacing: _size(letter-spacing-alt);
|
|
|
|
line-height: 1em;
|
|
|
|
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
|
|
|
text-transform: uppercase;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
h2,
|
|
|
|
.h2 {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 1.35em;
|
|
|
|
line-height: 1.4;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
@include breakpoint(small) {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
.h3,
|
2017-09-22 13:22:47 +00:00
|
|
|
h3 {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 1.15em;
|
|
|
|
line-height: 1.4;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
@include breakpoint(small) {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
.h4,
|
2017-09-22 13:22:47 +00:00
|
|
|
h4 {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.5em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
.h5,
|
2017-09-22 13:22:47 +00:00
|
|
|
h5 {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.5em;
|
2018-08-21 15:35:38 +00:00
|
|
|
font-style: italic;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
2017-09-22 15:11:09 +00:00
|
|
|
.h6,
|
2017-09-22 13:22:47 +00:00
|
|
|
h6 {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 0.7em;
|
|
|
|
line-height: 1.5em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
position: relative;
|
|
|
|
top: 0.5em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sup {
|
2017-09-23 22:54:08 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
position: relative;
|
|
|
|
top: -0.5em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2017-09-23 22:54:08 +00:00
|
|
|
border: 0;
|
|
|
|
border-bottom: solid 2px _palette(border);
|
|
|
|
margin: (_size(element-margin) * 1.5) 0;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
&.major {
|
|
|
|
margin: (_size(element-margin) * 2.25) 0;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2017-09-23 22:54:08 +00:00
|
|
|
border-left: solid 4px _palette(border);
|
|
|
|
font-style: italic;
|
|
|
|
margin: 0 0 _size(element-margin) 0;
|
|
|
|
padding: 0.5em 0 0.5em 2em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2017-09-23 22:54:08 +00:00
|
|
|
background: _palette(border-bg);
|
|
|
|
border-radius: 3px;
|
|
|
|
font-family: _font(family-fixed);
|
|
|
|
font-size: 0.9em;
|
|
|
|
letter-spacing: 0;
|
|
|
|
margin: 0 0.25em;
|
|
|
|
padding: 0.25em 0.65em;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2017-09-23 22:54:08 +00:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
font-family: _font(family-fixed);
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0 0 _size(element-margin) 0;
|
2017-09-22 13:22:47 +00:00
|
|
|
|
2017-09-23 22:54:08 +00:00
|
|
|
code {
|
|
|
|
display: block;
|
|
|
|
line-height: 1.75em;
|
|
|
|
padding: 1em 1.5em;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.align-left {
|
2017-09-23 22:54:08 +00:00
|
|
|
text-align: left;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.align-center {
|
2017-09-23 22:54:08 +00:00
|
|
|
text-align: center;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.align-right {
|
2017-09-23 22:54:08 +00:00
|
|
|
text-align: right;
|
2017-09-22 13:22:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
2017-09-23 22:54:08 +00:00
|
|
|
p {
|
|
|
|
color: _palette(fg-light);
|
|
|
|
position: relative;
|
|
|
|
top: -0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 + p {
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 + p {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 + p,
|
|
|
|
h5 + p,
|
|
|
|
h6 + p {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.major {
|
|
|
|
margin: 0 0 (_size(element-margin) * 1.75) 0;
|
|
|
|
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
|
|
border-bottom: solid 2px _palette(border);
|
|
|
|
display: inline-block;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
color: _palette(fg);
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(small) {
|
|
|
|
margin: 0 0 _size(element-margin) 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-08-21 15:35:38 +00:00
|
|
|
}
|