asi-calculator/styles/globals.css

48 lines
743 B
CSS

@import './_variables.css';
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
font-family: var(--font-hanken-grotesk);
text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
body {
color: rgb(var(--foreground-rgb));
background: var(--background-gradient) rgb(var(--background-rgb));
line-height: 1.5;
min-height: 100vh;
height: 100%;
display: flex;
flex-direction: column;
padding: 2rem 1.5rem;
}
a {
color: inherit;
text-decoration: none;
}
ul {
list-style: none;
padding: 0;
}
::selection {
background: rgb(var(--foreground-rgb-highlight));
color: rgb(var(--background-rgb));
}