Update default stylesheet
This commit is contained in:
parent
5a47867538
commit
5c6ef03082
1 changed files with 32 additions and 20 deletions
|
@ -1,16 +1,16 @@
|
|||
:root {
|
||||
--color-bg: #1d1d1d;
|
||||
--color-text: #eee;
|
||||
--color-link: #fff;
|
||||
--color-strong: #ff8f8f;
|
||||
--color-emphasis: #ff8f00;
|
||||
--color-heading: #accfff;
|
||||
--color-bg: hsl(0, 0%, 11%);
|
||||
--color-text: hsl(0, 0%, 93%);
|
||||
--color-link: hsl(0, 0%, 100%);
|
||||
--color-strong: hsl(0, 100%, 78%);
|
||||
--color-emphasis: hsl(34, 100%, 50%);
|
||||
--color-heading: hsl(215, 100%, 84%);
|
||||
|
||||
--font-size: 18px;
|
||||
--font-family: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans",
|
||||
source-sans-pro, sans-serif;
|
||||
--font-family: system-ui, sans-serif;
|
||||
--font-weight: 400;
|
||||
--font-weight-bold: 500;
|
||||
|
||||
--line-height: 1.4;
|
||||
|
||||
--max-width: 700px;
|
||||
|
@ -39,7 +39,8 @@ h6 {
|
|||
font-family: var(--font-family);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--color-heading);
|
||||
margin: 1rem 0;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
@ -47,23 +48,33 @@ h1 {
|
|||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.75rem;
|
||||
font-size: 2.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 2.15rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
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,
|
||||
|
@ -84,6 +95,7 @@ a {
|
|||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: 1em 0;
|
||||
font-size: 1em;
|
||||
background-color: var(--color-bg);
|
||||
|
@ -93,7 +105,7 @@ table {
|
|||
|
||||
th,
|
||||
td {
|
||||
padding: 0.75em 1em;
|
||||
padding: 0.5em 0.5em;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--color-text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue