mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Chore: CSS re-org
Because csslint wants CSS to be in ascending specificity.
This commit is contained in:
parent
b9e4be50f5
commit
ed4aee63b9
1 changed files with 13 additions and 13 deletions
|
@ -26,19 +26,6 @@ body {
|
||||||
padding: 2rem 5%;
|
padding: 2rem 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The posts list doesn't need bullets; simple spacing and repetition
|
|
||||||
* of the "date + title" format is enough to convey separation
|
|
||||||
* between elements.
|
|
||||||
*/
|
|
||||||
.posts {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.posts li {
|
|
||||||
list-style-type: none;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul {
|
nav ul {
|
||||||
/* nav links should look more prominent than normal links */
|
/* nav links should look more prominent than normal links */
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
|
@ -55,6 +42,19 @@ nav li {
|
||||||
padding: 0.5rem 0.25rem;
|
padding: 0.5rem 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The posts list doesn't need bullets; simple spacing and repetition
|
||||||
|
* of the "date + title" format is enough to convey separation
|
||||||
|
* between elements.
|
||||||
|
*/
|
||||||
|
.posts {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.posts li {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* 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-size: 1.5rem;
|
||||||
|
|
Loading…
Reference in a new issue