asi-calculator/app/globals.css

52 lines
813 B
CSS
Raw Normal View History

2024-03-29 12:36:05 +01:00
:root {
2024-03-29 15:06:40 +01:00
--max-width: 620px;
2024-03-29 12:36:05 +01:00
--border-radius: 12px;
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
2024-03-29 15:06:40 +01:00
line-height: 1.5;
2024-03-29 19:54:14 +01:00
min-height: 100vh;
2024-03-29 12:36:05 +01:00
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}