Skip to content

Instantly share code, notes, and snippets.

@mioe
Last active June 17, 2024 16:50
Show Gist options
  • Save mioe/6bc493b0431a601f20eef762a596766c to your computer and use it in GitHub Desktop.
Save mioe/6bc493b0431a601f20eef762a596766c to your computer and use it in GitHub Desktop.
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
html:not(.dark) {
color-scheme: light;
}
html.dark {
color-scheme: dark;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
ul,
ol {
padding: 0;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0;
}
body {
min-height: 100svh;
scroll-behavior: smooth;
}
ul,
ol {
list-style: none;
}
a {
text-decoration: none;
}
a:not([class]) {
text-decoration-skip-ink: auto;
}
img {
max-width: 100%;
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment