From ed4aee63b91eebeef9a4675475a63453ea99e090 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 19 Dec 2020 18:01:50 -0800 Subject: [PATCH] Chore: CSS re-org Because csslint wants CSS to be in ascending specificity. --- themes/etch-custom/assets/css/main.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/themes/etch-custom/assets/css/main.css b/themes/etch-custom/assets/css/main.css index 2adbd67..9cf1ae5 100644 --- a/themes/etch-custom/assets/css/main.css +++ b/themes/etch-custom/assets/css/main.css @@ -26,19 +26,6 @@ body { 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 links should look more prominent than normal links */ font-size: 1.25rem; @@ -55,6 +42,19 @@ nav li { 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 */ .home { font-size: 1.5rem;