254 lines
3.5 KiB
SCSS
254 lines
3.5 KiB
SCSS
html {
|
|
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
|
font-size: 1em;
|
|
line-height: 1.5;
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
color: $body-color;
|
|
background-color: $body-background-color;
|
|
}
|
|
article, aside, footer, header, nav, section, figcaption, figure, main, details, menu {
|
|
display: block;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, hr{
|
|
line-height: 1.3;
|
|
margin: 0.7em 0;
|
|
font-weight: 500;
|
|
small{
|
|
color: lighten($body-color, 15%);
|
|
font-weight: 200;
|
|
}
|
|
}
|
|
|
|
h1{
|
|
font-size: 2em;
|
|
}
|
|
|
|
h2{
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
h3{
|
|
font-size: 1.15em;
|
|
}
|
|
|
|
h4{
|
|
font-size: 1em;
|
|
}
|
|
|
|
h5{
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
h6{
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
small{
|
|
font-size: 75%;
|
|
}
|
|
|
|
p, pre {
|
|
margin: 0 0 0.6em;
|
|
}
|
|
|
|
ul, ol {
|
|
margin-top: 0;
|
|
margin-bottom: 0.6em;
|
|
ul, ol {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
hr {
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
border:0;
|
|
border-top:1px solid darken($body-background-color, 15%);
|
|
}
|
|
|
|
code, pre, kbd, samp{
|
|
font-family: monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
code, pre {
|
|
padding: 2px 4px;
|
|
background-color: darken($body-background-color, 8.5%);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
kbd {
|
|
padding: 2px 4px;
|
|
color: $body-background-color;
|
|
background-color: lighten($body-color, 3.5%);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
pre {
|
|
display: block;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
code {
|
|
padding: 0;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
white-space: pre-wrap;
|
|
background-color: transparent;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
background-color: transparent;
|
|
-webkit-text-decoration-skip: objects;
|
|
color: $a-color;
|
|
&:active, &:hover{
|
|
outline-width: 0;
|
|
color: lighten($a-color, 10%);
|
|
}
|
|
&:visited{
|
|
color: darken($a-color, 10%);
|
|
&:active, &:hover{
|
|
color: $a-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
figure {
|
|
margin: 1em 40px;
|
|
}
|
|
|
|
abbr[title] {
|
|
border-bottom: none;
|
|
text-decoration: underline;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
b, strong {
|
|
font-weight: inherit;
|
|
}
|
|
|
|
b, strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
dfn {
|
|
font-style: italic;
|
|
}
|
|
|
|
mark {
|
|
background-color: $mark-color;
|
|
color: $body-color;
|
|
}
|
|
|
|
sub, sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
[hidden], .hidden, template {
|
|
display: none;
|
|
}
|
|
|
|
audio, video {
|
|
display: inline-block;
|
|
}
|
|
|
|
audio:not([controls]) {
|
|
display: none;
|
|
height: 0;
|
|
}
|
|
|
|
img {
|
|
border-style: none;
|
|
}
|
|
|
|
svg:not(:root) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
button, input, optgroup, select, textarea {
|
|
font-family: "Helvetica Neue", Helvetica, sans-serif;
|
|
font-size: 100%;
|
|
line-height: 1.3;
|
|
margin: 0;
|
|
}
|
|
|
|
button, input, hr {
|
|
overflow: visible;
|
|
}
|
|
|
|
button, select {
|
|
text-transform: none;
|
|
}
|
|
|
|
button, html [type="button"], [type="reset"], [type="submit"] {
|
|
-webkit-appearance: button;
|
|
&::-moz-focus-inner{
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
&:-moz-focusring{
|
|
outline: 1px dotted ButtonText;
|
|
}
|
|
}
|
|
|
|
fieldset {
|
|
border: 1px solid darken($body-background-color, 15%);
|
|
border-radius: 4px;
|
|
margin: 0 2px;
|
|
padding: 0.35em 0.65em 0.75em;
|
|
}
|
|
|
|
[type="checkbox"], [type="radio"], legend {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
legend {
|
|
color: inherit;
|
|
display: table;
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
}
|
|
|
|
progress {
|
|
display: inline-block;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
textarea {
|
|
overflow: auto;
|
|
}
|
|
|
|
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
[type="search"] {
|
|
-webkit-appearance: textfield;
|
|
outline-offset: -2px;
|
|
&::-webkit-search-cancel-button, &::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
}
|
|
|
|
::-webkit-file-upload-button {
|
|
-webkit-appearance: button;
|
|
font: inherit;
|
|
} |