lewisdale.dev/src/css/globals.css

94 lines
1.6 KiB
CSS
Raw Normal View History

body {
background-color: var(--color-neutral-800);
color: var(--color-neutral-200);
2023-02-06 10:22:59 +00:00
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 {
font-weight: bold;
2023-02-16 10:46:48 +00:00
line-height: 1.2;
2023-02-06 10:22:59 +00:00
margin: 0;
2023-02-05 19:53:49 +00:00
}
h1 {
2023-02-10 14:38:00 +00:00
font-size: var(--text-size-xl);
2023-02-06 10:22:59 +00:00
word-wrap: normal;
2023-02-14 17:00:01 +00:00
text-underline-offset: var(--space-size-3xs);
2023-02-14 22:12:04 +00:00
text-align: center;
2023-02-16 10:46:48 +00:00
line-height: 1.3;
2023-02-05 20:05:54 +00:00
}
2023-02-05 19:53:49 +00:00
h2 {
2023-02-10 14:38:00 +00:00
font-size: var(--text-size-l);
text-underline-offset: var(--space-size-3xs);
2023-02-05 19:53:49 +00:00
}
2023-02-06 10:22:59 +00:00
h3 {
2023-02-10 14:38:00 +00:00
font-size: var(--text-size-m);
text-underline-offset: var(--space-size-3xs);
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;
}
&[target="_blank"]::after {
content: " \f08e";
font-family: "font awesome 6 free";
font-style: normal;
font-variant: normal;
text-rendering: auto;
font-weight: 900;
-webkit-font-smoothing: antialiased;
font-size: var(--text-size-xs);
vertical-align: super;
}
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 {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
2023-02-06 10:22:59 +00:00
padding-top: var(--space-size-s);
padding-bottom: var(--space-size-s);
2023-02-05 19:53:49 +00:00
}
p {
2023-02-07 20:21:08 +00:00
line-height: 1.6;
2023-02-14 17:00:01 +00:00
max-width: 60ch;
}
footer {
2023-02-08 09:29:44 +00:00
padding: var(--space-size-l) 0 var(--space-size-s);
width: 100%;
}
2023-02-25 14:11:27 +00:00
aside {
background-color: var(--color-slate-800);
border: 5px solid var(--color-slate-600);
2023-02-25 14:11:27 +00:00
border-radius: 10px;
height: fit-content;
max-width: 50ch;
padding: var(--space-size-xs);
}