astro/examples/astro-nanostores/public/style/home.css
Agustin Mulet 81c01d121f
Added example of Astro usage with nanostores (#539)
* Adding astro-nanostores example

* Changed package name and removed lock file
2021-06-24 17:39:17 -05:00

38 lines
745 B
CSS

:root {
--font-mono: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
--color-light: #F3F4F6;
}
@media (prefers-color-scheme: dark) {
:root {
--color-light: #1F2937;
}
}
a {
color: inherit;
}
header > div {
font-size: clamp(2rem, -0.4742rem + 6.1856vw, 2.75rem);
}
header > div {
display: flex;
flex-direction: column;
align-items: center;
}
header h1 {
font-size: 1em;
font-weight: 500;
}
header img {
width: 2em;
height: 2.667em;
}
h2 {
font-weight: 500;
font-size: clamp(1.5rem, 1rem + 1.25vw, 2rem);
}