spaCy/website/assets/css/_base/_reset.sass

101 lines
1.5 KiB
Sass
Raw Normal View History

2016-10-31 18:04:15 +00:00
//- 💫 CSS > BASE > RESET
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
*
box-sizing: border-box
padding: 0
margin: 0
border: 0
outline: 0
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
html
font-family: sans-serif
2016-10-31 18:04:15 +00:00
text-rendering: optimizeSpeed
2016-10-03 18:19:13 +00:00
-ms-text-size-adjust: 100%
-webkit-text-size-adjust: 100%
2016-10-31 18:04:15 +00:00
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
body
margin: 0
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
article, aside, details, figcaption, figure, footer, header, main, menu, nav,
section, summary, progress
display: block
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
a
background-color: transparent
color: inherit
text-decoration: none
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
&:active,
&:hover
outline: 0
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
abbr[title]
border-bottom: none
text-decoration: underline
text-decoration: underline dotted
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
b, strong
font-weight: inherit
font-weight: bolder
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
small
font-size: 80%
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
sub, sup
position: relative
font-size: 65%
line-height: 0
vertical-align: baseline
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
sup
top: -0.5em
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
sub
bottom: -0.15em
img
2016-03-31 14:24:48 +00:00
border: 0
2016-10-03 18:19:13 +00:00
height: auto
max-width: 100%
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
svg
2016-10-31 18:04:15 +00:00
max-width: 100%
2016-10-03 18:19:13 +00:00
color-interpolation-filters: sRGB
fill: currentColor
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
&:not(:root)
overflow: hidden
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
hr
box-sizing: content-box
overflow: visible
height: 0
pre
overflow: auto
code, pre
font-family: monospace, monospace
font-size: 1em
2016-03-31 14:24:48 +00:00
table
text-align: left
width: 100%
2016-10-03 18:19:13 +00:00
max-width: 100%
border-collapse: collapse
2016-03-31 14:24:48 +00:00
2016-10-31 18:04:15 +00:00
td, th
2016-03-31 14:24:48 +00:00
vertical-align: top
2016-10-31 18:04:15 +00:00
ul, ol
2016-03-31 14:24:48 +00:00
list-style: none
2016-10-31 18:04:15 +00:00
input, button
2016-10-03 18:19:13 +00:00
appearance: none
2016-03-31 14:24:48 +00:00
2016-10-03 18:19:13 +00:00
button
2016-10-31 18:04:15 +00:00
background: transparent
2016-10-03 18:19:13 +00:00
cursor: pointer