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

105 lines
1.6 KiB
Sass
Raw Normal View History

2016-10-03 21:19:13 +03:00
//- ----------------------------------
//- 💥 BASE > RESET
//- ----------------------------------
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
//- adapted from "normalize.css" by Nicolas Gallagher & Jonathan Neal
//- https://github.com/necolas/normalize.css
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
*
box-sizing: border-box
padding: 0
margin: 0
border: 0
outline: 0
-webkit-font-smoothing: antialiased
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
html
font-family: sans-serif
-ms-text-size-adjust: 100%
-webkit-text-size-adjust: 100%
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
body
margin: 0
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
article, aside, details, figcaption, figure, footer, header, main, menu, nav,
section, summary, progress
display: block
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
a
background-color: transparent
color: inherit
text-decoration: none
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
&:active,
&:hover
outline: 0
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
abbr[title]
border-bottom: none
text-decoration: underline
text-decoration: underline dotted
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
b, strong
font-weight: inherit
font-weight: bolder
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
small
font-size: 80%
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
sub, sup
position: relative
font-size: 65%
line-height: 0
vertical-align: baseline
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
sup
top: -0.5em
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
sub
bottom: -0.15em
img
2016-03-31 17:24:48 +03:00
border: 0
2016-10-03 21:19:13 +03:00
height: auto
max-width: 100%
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
svg
color-interpolation-filters: sRGB
fill: currentColor
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
&:not(:root)
overflow: hidden
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03: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 17:24:48 +03:00
table
text-align: left
width: 100%
2016-10-03 21:19:13 +03:00
max-width: 100%
border-collapse: collapse
2016-03-31 17:24:48 +03:00
td,
th
vertical-align: top
ul,
ol
list-style: none
2016-10-03 21:19:13 +03:00
input,
button
appearance: none
2016-03-31 17:24:48 +03:00
2016-10-03 21:19:13 +03:00
button
cursor: pointer