Cleanup
This commit is contained in:
parent
1390ed51e8
commit
47cf4d8652
1 changed files with 13 additions and 23 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
/* Variables */
|
|
||||||
:root {
|
:root {
|
||||||
--color-text: oklch(20% 0 0);
|
--color-text: oklch(20% 0 0);
|
||||||
--color-background: oklch(98% 0 0);
|
--color-background: oklch(98% 0 0);
|
||||||
|
|
@ -17,7 +16,6 @@
|
||||||
--size-wide: 90rem;
|
--size-wide: 90rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Base */
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
@ -41,7 +39,6 @@ body {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Typography */
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
margin-block: 1.5em 0.5em;
|
margin-block: 1.5em 0.5em;
|
||||||
|
|
@ -56,7 +53,6 @@ p, ul, ol, dl {
|
||||||
margin-block: 1em;
|
margin-block: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links */
|
|
||||||
a {
|
a {
|
||||||
color: var(--color-accent);
|
color: var(--color-accent);
|
||||||
text-underline-offset: 0.2em;
|
text-underline-offset: 0.2em;
|
||||||
|
|
@ -66,7 +62,6 @@ a {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Layout */
|
|
||||||
header, main, footer {
|
header, main, footer {
|
||||||
grid-column: content;
|
grid-column: content;
|
||||||
}
|
}
|
||||||
|
|
@ -127,14 +122,12 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Images */
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Code */
|
|
||||||
code {
|
code {
|
||||||
background: var(--color-accent-light);
|
background: var(--color-accent-light);
|
||||||
padding: 0.125em 0.25em;
|
padding: 0.125em 0.25em;
|
||||||
|
|
@ -154,7 +147,6 @@ pre {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tables */
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -171,7 +163,6 @@ th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Blockquote */
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin-inline: 0;
|
margin-inline: 0;
|
||||||
padding-inline-start: var(--space-s);
|
padding-inline-start: var(--space-s);
|
||||||
|
|
@ -179,7 +170,6 @@ blockquote {
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Article metadata */
|
|
||||||
article {
|
article {
|
||||||
& time {
|
& time {
|
||||||
color: var(--color-muted);
|
color: var(--color-muted);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue