+$body-background-color: #fff !default
+$body-size: 16px !default
+$body-rendering: optimizeLegibility !default
+$body-family: $family-sans-serif !default
+$body-color: $text !default
+$body-weight: $weight-normal !default
+$body-line-height: 1.5 !default
+
+$code-family: $family-monospace !default
+$code-padding: 0.25em 0.5em 0.25em !default
+$code-weight: normal !default
+$code-size: 0.875em !default
+
+$hr-background-color: $border !default
+$hr-height: 1px !default
+$hr-margin: 1.5rem 0 !default
+
+$strong-color: $text-strong !default
+$strong-weight: $weight-bold !default
+
html
- background-color: $body-background
+ background-color: $body-background-color
font-size: $body-size
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
- text-rendering: $render-mode
+ text-rendering: $body-rendering
article,
aside,
input,
select,
textarea
- font-family: $family-primary
+ font-family: $body-family
code,
pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
- font-family: $family-code
+ font-family: $code-family
body
- color: $text
+ color: $body-color
font-size: 1rem
- font-weight: $weight-normal
- line-height: 1.5
+ font-weight: $body-weight
+ line-height: $body-line-height
// Inline
color: $link
cursor: pointer
text-decoration: none
- transition: none $speed $easing
&:hover
color: $link-hover
code
background-color: $code-background
color: $code
- font-size: 0.8em
- font-weight: normal
- padding: 0.25em 0.5em 0.25em
+ font-size: $code-size
+ font-weight: $code-weight
+ padding: $code-padding
hr
- background-color: $border
+ background-color: $hr-background-color
border: none
display: block
- height: 1px
- margin: 1.5rem 0
+ height: $hr-height
+ margin: $hr-margin
img
height: auto
font-weight: inherit
strong
- color: $text-strong
- font-weight: $weight-bold
+ color: $strong-color
+ font-weight: $strong-weight
// Block
pre
background-color: $pre-background
color: $pre
- font-size: 0.8em
+ font-size: 0.875em
white-space: pre
word-wrap: normal
code
padding: 1.25rem 1.5rem
table
- width: 100%
td,
th
text-align: left