lewisdale.dev/src/css/globals.css

73 lines
1.0 KiB
CSS
Raw Normal View History

body {
2023-02-06 10:22:59 +00:00
background-color: var(--color-blueGray-800);
color: var(--color-slate-200);
font-family: var(--font-family-mono);
font-size: var(--text-size-s);
text-underline-offset: var(--space-size-4xs);
2023-02-05 19:53:49 +00:00
}
2023-02-06 10:22:59 +00:00
h1,
h2,
h3,
h4,
h5 {
display: flex;
font-weight: bold;
gap: 1ch;
line-height: 1.2;
margin: 0;
2023-02-05 19:53:49 +00:00
}
h1 {
2023-02-06 10:22:59 +00:00
font-size: var(--text-size-2xl);
word-wrap: normal;
2023-02-05 20:05:54 +00:00
}
2023-02-05 19:53:49 +00:00
h2 {
2023-02-06 10:22:59 +00:00
font-size: var(--text-size-xl);
2023-02-05 19:53:49 +00:00
}
2023-02-06 10:22:59 +00:00
h3 {
font-size: var(--text-size-l);
2023-02-05 20:05:54 +00:00
}
2023-02-06 10:22:59 +00:00
a {
color: inherit;
text-decoration: underline;
&:hover {
text-decoration-color: var(--color-amber-200);
}
&:visited {
color: inherit;
}
2023-02-05 19:53:49 +00:00
}
2023-02-06 10:22:59 +00:00
nav {
--vertical-spacing: var(--space-size-m);
font-size: var(--text-size-s);
2023-02-05 20:05:54 +00:00
}
2023-02-06 10:22:59 +00:00
header {
padding-top: var(--space-size-s);
padding-bottom: var(--space-size-s);
2023-02-05 19:53:49 +00:00
}
2023-02-06 10:22:59 +00:00
@media (min-width: 50em) {
h1::before {
content: "#";
margin-inline-start: -2ch;
}
h2::before {
content: "##";
margin-inline-start: -3ch;
}
h3::before {
content: "###";
margin-inline-start: -4ch;
}
}