Use em for controls

This commit is contained in:
Jeremy Thomas
2016-10-29 18:53:30 +01:00
parent 6012880751
commit a2afb61ffe
16 changed files with 542 additions and 1476 deletions

View File

@@ -31,13 +31,12 @@ pre
-moz-osx-font-smoothing: auto
-webkit-font-smoothing: auto
font-family: $family-code
line-height: 1.25
body
color: $text
font-size: 1rem
font-weight: $weight-normal
line-height: 1.428571428571429
line-height: 1.5
// Inline
@@ -52,16 +51,16 @@ a
code
background-color: $code-background
color: $code
font-size: 12px
font-size: 0.75em
font-weight: normal
padding: 1px 2px 2px
padding: 0.25em 0.5em 0.25em
hr
background-color: $border
border: none
display: block
height: 1px
margin: 20px 0
margin: 1.5rem 0
img
max-width: 100%
@@ -86,14 +85,16 @@ strong
pre
background-color: $pre-background
color: $pre
font-size: 0.8em
white-space: pre
word-wrap: normal
code
background-color: $pre-background
color: $pre
display: block
font-size: 1em
overflow-x: auto
padding: 16px 20px
padding: 1.25rem 1.5rem
table
width: 100%