Created
May 11, 2022 13:32
-
-
Save michaelcaxias/801277e846bf99375abc14c885d7f72c to your computer and use it in GitHub Desktop.
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
*, | |
:before, | |
:after { | |
box-sizing: border-box; | |
} | |
:before, | |
:after { | |
display: none; | |
content: ''; | |
} | |
html, | |
body { | |
height: auto; | |
min-height: 100%; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
body { | |
min-height: 100vh; | |
font-size: 16px; | |
line-height: calc(100% + 8px); | |
} | |
html, | |
body, | |
ul, | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6, | |
p, | |
li { | |
margin: 0; | |
padding: 0; | |
} | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6, | |
p, | |
li { | |
line-height: calc(100% + 8px); | |
} | |
li { | |
list-style: none; | |
} | |
a { | |
text-decoration: none; | |
&:hover { | |
text-decoration: underline; | |
} | |
} | |
button { | |
border: none; | |
margin: 0; | |
padding: 0; | |
width: auto; | |
overflow: visible; | |
background: transparent; | |
/* inherit font & color from ancestor */ | |
color: inherit; | |
font: inherit; | |
/* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */ | |
line-height: normal; | |
/* Corrects font smoothing for webkit */ | |
-webkit-font-smoothing: inherit; | |
-moz-osx-font-smoothing: inherit; | |
/* Corrects inability to style clickable `input` types in iOS */ | |
-webkit-appearance: none; | |
&::-moz-focus-inner { | |
border: 0; | |
padding: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment