| 1 |
@import "../utilities/mixins" |
| 2 |
|
| 3 |
$body-background-color: $scheme-main !default |
| 4 |
$body-size: 16px !default |
| 5 |
$body-min-width: 300px !default |
| 6 |
$body-rendering: optimizeLegibility !default |
| 7 |
$body-family: $family-primary !default |
| 8 |
$body-overflow-x: hidden !default |
| 9 |
$body-overflow-y: scroll !default |
| 10 |
|
| 11 |
$body-color: $text !default |
| 12 |
$body-font-size: 1em !default |
| 13 |
$body-weight: $weight-normal !default |
| 14 |
$body-line-height: 1.5 !default |
| 15 |
|
| 16 |
$code-family: $family-code !default |
| 17 |
$code-padding: 0.25em 0.5em 0.25em !default |
| 18 |
$code-weight: normal !default |
| 19 |
$code-size: 0.875em !default |
| 20 |
|
| 21 |
$small-font-size: 0.875em !default |
| 22 |
|
| 23 |
$hr-background-color: $background !default |
| 24 |
$hr-height: 2px !default |
| 25 |
$hr-margin: 1.5rem 0 !default |
| 26 |
|
| 27 |
$strong-color: $text-strong !default |
| 28 |
$strong-weight: $weight-bold !default |
| 29 |
|
| 30 |
$pre-font-size: 0.875em !default |
| 31 |
$pre-padding: 1.25rem 1.5rem !default |
| 32 |
$pre-code-font-size: 1em !default |
| 33 |
|
| 34 |
html |
| 35 |
background-color: $body-background-color |
| 36 |
font-size: $body-size |
| 37 |
-moz-osx-font-smoothing: grayscale |
| 38 |
-webkit-font-smoothing: antialiased |
| 39 |
min-width: $body-min-width |
| 40 |
overflow-x: $body-overflow-x |
| 41 |
overflow-y: $body-overflow-y |
| 42 |
text-rendering: $body-rendering |
| 43 |
text-size-adjust: 100% |
| 44 |
|
| 45 |
article, |
| 46 |
aside, |
| 47 |
figure, |
| 48 |
footer, |
| 49 |
header, |
| 50 |
hgroup, |
| 51 |
section |
| 52 |
display: block |
| 53 |
|
| 54 |
body, |
| 55 |
button, |
| 56 |
input, |
| 57 |
optgroup, |
| 58 |
select, |
| 59 |
textarea |
| 60 |
font-family: $body-family |
| 61 |
|
| 62 |
code, |
| 63 |
pre |
| 64 |
-moz-osx-font-smoothing: auto |
| 65 |
-webkit-font-smoothing: auto |
| 66 |
font-family: $code-family |
| 67 |
|
| 68 |
body |
| 69 |
color: $body-color |
| 70 |
font-size: $body-font-size |
| 71 |
font-weight: $body-weight |
| 72 |
line-height: $body-line-height |
| 73 |
|
| 74 |
// Inline |
| 75 |
|
| 76 |
a |
| 77 |
color: $link |
| 78 |
cursor: pointer |
| 79 |
text-decoration: none |
| 80 |
strong |
| 81 |
color: currentColor |
| 82 |
&:hover |
| 83 |
color: $link-hover |
| 84 |
|
| 85 |
code |
| 86 |
background-color: $code-background |
| 87 |
color: $code |
| 88 |
font-size: $code-size |
| 89 |
font-weight: $code-weight |
| 90 |
padding: $code-padding |
| 91 |
|
| 92 |
hr |
| 93 |
background-color: $hr-background-color |
| 94 |
border: none |
| 95 |
display: block |
| 96 |
height: $hr-height |
| 97 |
margin: $hr-margin |
| 98 |
|
| 99 |
img |
| 100 |
height: auto |
| 101 |
max-width: 100% |
| 102 |
|
| 103 |
input[type="checkbox"], |
| 104 |
input[type="radio"] |
| 105 |
vertical-align: baseline |
| 106 |
|
| 107 |
small |
| 108 |
font-size: $small-font-size |
| 109 |
|
| 110 |
span |
| 111 |
font-style: inherit |
| 112 |
font-weight: inherit |
| 113 |
|
| 114 |
strong |
| 115 |
color: $strong-color |
| 116 |
font-weight: $strong-weight |
| 117 |
|
| 118 |
// Block |
| 119 |
|
| 120 |
fieldset |
| 121 |
border: none |
| 122 |
|
| 123 |
pre |
| 124 |
+overflow-touch |
| 125 |
background-color: $pre-background |
| 126 |
color: $pre |
| 127 |
font-size: $pre-font-size |
| 128 |
overflow-x: auto |
| 129 |
padding: $pre-padding |
| 130 |
white-space: pre |
| 131 |
word-wrap: normal |
| 132 |
code |
| 133 |
background-color: transparent |
| 134 |
color: currentColor |
| 135 |
font-size: $pre-code-font-size |
| 136 |
padding: 0 |
| 137 |
|
| 138 |
table |
| 139 |
td, |
| 140 |
th |
| 141 |
vertical-align: top |
| 142 |
&:not([align]) |
| 143 |
text-align: inherit |
| 144 |
th |
| 145 |
color: $text-strong |