Update default stylesheet

This commit is contained in:
Endeavorance 2025-05-27 16:48:49 -04:00
parent 5a47867538
commit 5c6ef03082

View file

@ -1,16 +1,16 @@
:root { :root {
--color-bg: #1d1d1d; --color-bg: hsl(0, 0%, 11%);
--color-text: #eee; --color-text: hsl(0, 0%, 93%);
--color-link: #fff; --color-link: hsl(0, 0%, 100%);
--color-strong: #ff8f8f; --color-strong: hsl(0, 100%, 78%);
--color-emphasis: #ff8f00; --color-emphasis: hsl(34, 100%, 50%);
--color-heading: #accfff; --color-heading: hsl(215, 100%, 84%);
--font-size: 18px; --font-size: 18px;
--font-family: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", --font-family: system-ui, sans-serif;
source-sans-pro, sans-serif;
--font-weight: 400; --font-weight: 400;
--font-weight-bold: 500; --font-weight-bold: 500;
--line-height: 1.4; --line-height: 1.4;
--max-width: 700px; --max-width: 700px;
@ -39,7 +39,8 @@ h6 {
font-family: var(--font-family); font-family: var(--font-family);
font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold);
color: var(--color-heading); color: var(--color-heading);
margin: 1rem 0; margin-top: 2rem;
margin-bottom: 0;
} }
h1 { h1 {
@ -47,23 +48,33 @@ h1 {
} }
h2 { h2 {
font-size: 2.75rem; font-size: 2.5rem;
text-align: center;
} }
h3 { h3 {
font-size: 2.15rem;
}
h4 {
font-size: 1.75rem;
}
h5 {
font-size: 1.5rem; font-size: 1.5rem;
} }
h4 {
font-size: 1.2rem;
}
h5 {
font-size: 1.1rem;
}
h6 { h6 {
font-size: 1.25rem; font-size: 1rem;
}
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
margin-top: 0.5rem;
} }
em, em,
@ -84,6 +95,7 @@ a {
table { table {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
max-width: 100%;
margin: 1em 0; margin: 1em 0;
font-size: 1em; font-size: 1em;
background-color: var(--color-bg); background-color: var(--color-bg);
@ -93,7 +105,7 @@ table {
th, th,
td { td {
padding: 0.75em 1em; padding: 0.5em 0.5em;
text-align: left; text-align: left;
border-bottom: 1px solid var(--color-text); border-bottom: 1px solid var(--color-text);
} }