Skip to content

Instantly share code, notes, and snippets.

@cogell
Created December 22, 2018 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cogell/a2e43ae2cf245441e6e45ff41f4bed0a to your computer and use it in GitHub Desktop.
Save cogell/a2e43ae2cf245441e6e45ff41f4bed0a to your computer and use it in GitHub Desktop.
Personal default style overrides
body {
/* edge to edge content */
margin: 0;
/* system fonts used by github */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
/* flex by default */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* universal inherited box-sizing model*/
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* flex by default */
div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment