Created
May 12, 2020 00:59
-
-
Save mweslander/3ba7935f286266fefd3193df64ca7ab1 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
| /* ========================================================================== | |
| * Global | |
| * ========================================================================== */ | |
| @import "_fonts"; | |
| @import "_mixins"; | |
| @import "_wordpress-wysiwyg"; | |
| * { | |
| border: 0; | |
| margin: 0; | |
| padding: 0; | |
| -webkit-tap-highlight-color: transparent; | |
| } | |
| *, | |
| ::before, | |
| ::after { | |
| background-repeat: no-repeat; | |
| box-sizing: border-box; | |
| } | |
| *:focus { | |
| outline: 2px solid var(--font-color--primary); | |
| } | |
| .js-focus-visible *:focus:not(.focus-visible) { | |
| outline: none; | |
| } | |
| html { | |
| @mixin m-rtype 16, 19, 900, 1920; /* if you adjust 19, also adjust */ | |
| scroll-behavior: smooth; | |
| text-size-adjust: 100%; | |
| } | |
| body { | |
| background-position: center top; | |
| background-repeat: repeat; | |
| box-shadow: 0 0 4rem rgba(0, 0, 0, 0.5); | |
| color: var(--font-color--primary); | |
| font-family: var(--font-family--body); | |
| font-size: 1.125rem; | |
| line-height: 1; | |
| margin: auto; | |
| max-width: 1920px; | |
| overflow-x: hidden; | |
| position: relative; | |
| text-decoration-skip-ink: auto; | |
| } | |
| section { | |
| background-color: var(--background-color--primary); | |
| color: var(--font-color--primary); | |
| } | |
| a { | |
| color: inherit; | |
| text-decoration: none; | |
| } | |
| :any-link { | |
| cursor: pointer; | |
| } | |
| button { | |
| border-radius: 0; | |
| } | |
| textarea { | |
| resize: vertical; | |
| } | |
| button, | |
| optgroup, | |
| select, | |
| table, | |
| textarea { | |
| appearance: none; | |
| background-color: transparent; | |
| border-radius: 0; | |
| font-family: inherit; | |
| font-size: inherit; | |
| } | |
| button::-moz-focus-inner, | |
| [type="button"]::-moz-focus-inner, | |
| [type="reset"]::-moz-focus-inner, | |
| [type="submit"]::-moz-focus-inner { | |
| border-style: none; | |
| padding: 0; | |
| } | |
| [type="number"], | |
| [type="search"] { | |
| appearance: textfield; | |
| } | |
| input::-webkit-inner-spin-button, | |
| input::-webkit-search-cancel-button, | |
| input::-webkit-search-decoration { | |
| appearance: none; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| h5, | |
| h6 { | |
| font-family: var(--font-family--heading); | |
| font-size: var(--font-size--md); | |
| font-weight: normal; | |
| line-height: var(--line-height--md); | |
| } | |
| p { | |
| font-size: var(--font-size--md); | |
| line-height: var(--line-height--md); | |
| &:not(:last-child) { | |
| margin-bottom: var(--spacing--xl); | |
| } | |
| } | |
| ol, | |
| ul { | |
| list-style: none; | |
| } | |
| address { | |
| font-style: normal; | |
| } | |
| img, | |
| svg { | |
| max-height: 100%; | |
| max-width: 100%; | |
| } | |
| svg { | |
| fill: currentColor; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment