Created
May 12, 2020 01:00
-
-
Save mweslander/7ac01c8b8aab683f97c641e0c7858124 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /* ========================================================================== | |
| * Reset | |
| * ========================================================================== */ | |
| * { | |
| appearance: none; | |
| background-color: transparent; | |
| background-repeat: no-repeat; | |
| border: 0; | |
| border-radius: 0; | |
| font-family: inherit; | |
| font-size: inherit; | |
| margin: 0; | |
| outline: none; | |
| padding: 0; | |
| text-rendering: geometricPrecision; | |
| } | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: inherit; | |
| } | |
| html { | |
| box-sizing: border-box; | |
| color: var(--global-text); | |
| font-family: var(--font-family-sans); | |
| font-size: var(--font-size-md); | |
| -moz-osx-font-smoothing: grayscale; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| body { | |
| background: var(--global-bg); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| scroll-behavior: smooth; | |
| } | |
| body, | |
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| p, | |
| ul, | |
| ol, | |
| li, | |
| figure, | |
| figcaption, | |
| blockquote, | |
| dl, | |
| dd { | |
| margin: 0; | |
| } | |
| legend { | |
| display: table; | |
| padding: 0; | |
| } | |
| fieldset { | |
| border: 0; | |
| margin: 0; | |
| min-width: 0; | |
| padding: 0; | |
| } | |
| body:not(:-moz-handler-blocked) fieldset { | |
| display: table-cell; | |
| } | |
| button, | |
| input, | |
| select, | |
| textarea { | |
| color: currentColor; | |
| font: inherit; | |
| } | |
| input::placeholder, | |
| textarea::placeholder { | |
| color: currentColor; | |
| font: inherit; | |
| opacity: 0.5; | |
| } | |
| input[type='search']::-webkit-search-decoration, | |
| input[type='search']::-webkit-search-results-button, | |
| input[type='search']::-webkit-search-results-decoration { | |
| -webkit-appearance: none; | |
| } | |
| input[type='submit']:focus { | |
| box-shadow: var(--box-shadow-focus); | |
| outline: none; | |
| } | |
| input:-webkit-autofill, | |
| input:-webkit-autofill:hover, | |
| input:-webkit-autofill:focus, | |
| textarea:-webkit-autofill, | |
| textarea:-webkit-autofill:hover, | |
| textarea:-webkit-autofill:focus, | |
| select:-webkit-autofill, | |
| select:-webkit-autofill:hover, | |
| select:-webkit-autofill:focus { | |
| border: var(--border-size-sm) solid var(--info-color); | |
| -webkit-box-shadow: 0 0 0 1000px var(--global-shadow) inset; | |
| box-shadow: 0 0 0 1000px var(--global-shadow) inset; | |
| -webkit-text-fill-color: var(--info-color); | |
| transition: background-color 5000s ease-in-out 0s; | |
| } | |
| a { | |
| color: currentColor; | |
| text-decoration: none; | |
| text-decoration-skip-ink: auto; | |
| } | |
| button { | |
| color: inherit; | |
| cursor: pointer; | |
| } | |
| ul, | |
| ol { | |
| list-style: none; | |
| padding: 0; | |
| } | |
| strong { | |
| font-size: inherit; | |
| } | |
| img { | |
| display: block; | |
| max-width: 100%; | |
| } | |
| svg { | |
| fill: currentColor; | |
| max-height: 100%; | |
| max-width: 100%; | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| * { | |
| animation-play-state: paused !important; | |
| scroll-behavior: auto !important; | |
| transition: none !important; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment