Created
March 2, 2019 02:59
-
-
Save takashi/cd262aeda6c85c80855fcc7d268c5063 to your computer and use it in GitHub Desktop.
base.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "sanitize"; | |
// import some base styles from https://github.com/morishitter/base/blob/master/lib/_base.scss | |
/** | |
* Removes the default spacing and border for appropriate elements. | |
*/ | |
blockquote, | |
dl, | |
dd, | |
figure, | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6, | |
p, | |
pre { | |
margin: 0; | |
} | |
button { | |
background: transparent; | |
border: 0; | |
padding: 0; | |
outline: none; | |
} | |
fieldset { | |
border: 0; | |
margin: 0; | |
padding: 0; | |
} | |
iframe { | |
border: 0; | |
} | |
ol, | |
ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
/** | |
* Suppress the focus outline on elements that cannot be accessed via keyboard. | |
* This prevents an unwanted focus outline from appearing around elements that | |
* might still respond to pointer events. | |
*/ | |
[tabindex="-1"]:focus { | |
outline: none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment