lewisdale.dev/src/css/globals.css

73 lines
1.1 KiB
CSS

body {
background-color: var(--color-neutral-800);
color: var(--color-neutral-200);
font-family: var(--font-family-mono);
font-size: var(--text-size-s);
text-underline-offset: var(--space-size-4xs);
}
h1,
h2,
h3,
h4,
h5 {
display: flex;
font-weight: bold;
gap: 1ch;
line-height: 1;
margin: 0;
}
h1 {
font-size: var(--text-size-2xl);
word-wrap: normal;
text-underline-offset: var(--space-size-2xs);
}
h2 {
font-size: var(--text-size-xl);
text-underline-offset: var(--space-size-3xs);
}
h3 {
font-size: var(--text-size-l);
text-underline-offset: var(--space-size-3xs);
}
a {
color: inherit;
text-decoration: underline;
&:hover {
text-decoration-color: var(--color-amber-200);
}
&:visited {
color: inherit;
}
}
nav {
--vertical-spacing: var(--space-size-m);
font-size: var(--text-size-s);
}
header {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: var(--space-size-s);
padding-bottom: var(--space-size-s);
}
p {
line-height: 1.6;
max-width: 50ch;
}
footer {
padding: var(--space-size-l) 0 var(--space-size-s);
width: 100%;
}