1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-20 04:12:09 +00:00

Chore: CSS re-org

Because csslint wants CSS to be in ascending specificity.
This commit is contained in:
Rohan Kumar 2020-12-19 18:01:50 -08:00
parent b9e4be50f5
commit ed4aee63b9
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -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;