0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/starter/public/style/global.css

29 lines
570 B
CSS
Raw Normal View History

2021-04-27 14:21:33 -05:00
* {
box-sizing: border-box;
margin: 0;
2021-04-27 14:21:33 -05:00
}
:root {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
font-size: 1rem;
--user-font-scale: 1rem - 16px;
font-size: clamp(0.875rem, 0.4626rem + 1.0309vw + var(--user-font-scale), 1.125rem);
2021-04-27 14:21:33 -05:00
}
body {
padding: 4rem 2rem;
width: 100%;
min-height: 100vh;
display: grid;
justify-content: center;
background: #f9fafb;
color: #111827;
2021-04-27 14:21:33 -05:00
}
@media (prefers-color-scheme: dark) {
body {
background: #111827;
color: #fff;
}
2021-04-27 14:21:33 -05:00
}