mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Remove unneeded CSS
This commit is contained in:
parent
16d07c5f05
commit
3471df7ab3
1 changed files with 5 additions and 13 deletions
|
@ -14,16 +14,14 @@
|
||||||
* Everything else is browser defaults:
|
* Everything else is browser defaults:
|
||||||
* default fonts, non-dark-mode colors, etc.
|
* default fonts, non-dark-mode colors, etc.
|
||||||
*/
|
*/
|
||||||
html {
|
|
||||||
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
padding: 2rem 5%;
|
padding: 0 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul {
|
nav ul {
|
||||||
|
@ -33,13 +31,12 @@ nav ul {
|
||||||
/* Use whitespace instead of bullets to separate nav from article.
|
/* Use whitespace instead of bullets to separate nav from article.
|
||||||
Also avoid top-padding at the top of the page. */
|
Also avoid top-padding at the top of the page. */
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0 0 2rem;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* nav links should be easy to tap with fat fingers */
|
/* nav links should be easy to tap with fat fingers */
|
||||||
nav li {
|
nav li {
|
||||||
padding: 0.5rem 0.25rem;
|
padding: 0 0.5rem 0.75rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The posts list doesn't need bullets; simple spacing and repetition
|
/* The posts list doesn't need bullets; simple spacing and repetition
|
||||||
|
@ -57,9 +54,7 @@ nav li {
|
||||||
|
|
||||||
/* Make the home link a bit bigger to serve as a site heading */
|
/* Make the home link a bit bigger to serve as a site heading */
|
||||||
.home {
|
.home {
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 0 0.5rem 0.75rem 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* single-line nav on widescreen, multi-line nav on narrow screens */
|
/* single-line nav on widescreen, multi-line nav on narrow screens */
|
||||||
|
@ -82,13 +77,10 @@ img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
|
||||||
padding: 0 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
pre,
|
||||||
code {
|
code {
|
||||||
border: 1px solid #bbb;
|
border: 1px solid #bbb;
|
||||||
|
padding: 0 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
|
|
Loading…
Reference in a new issue