From 1acf8673f9dbb1cdb2341dabd31e9a406fcc38cc Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 19 Feb 2020 19:43:27 +0000 Subject: [PATCH] tidy up .cheat-october-list --- assets/css/main.scss | 59 ++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 9c24e90..c1a6706 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -166,40 +166,41 @@ } } -/* TODO do this properly using a shortcode */ +// TODO do this properly using a shortcode to add the class to the list +// (see contentposts/leopold.md) .cheat-october-list { display: none; -} -.cheat-october-list + ul { - margin-top: 0; - margin-bottom: 0; - padding-left: 0; -} + + ul { + margin-top: 0; + margin-bottom: 0; + padding-left: 0; + } -.cheat-october-list + ul > li { - list-style: none; -} + + ul > li { + list-style: none; + } -.cheat-october-list + ul > li > p:first-child { - position: relative; - margin-top: 0; - padding-left: 40px; -} + + ul > li > p:first-child { + position: relative; + margin-top: 0; + padding-left: 40px; + } -.cheat-october-list + ul > li > p:not(:first-child) { - padding-left: 40px; -} + + ul > li > p:not(:first-child) { + padding-left: 40px; + } -.cheat-october-list + ul > li > p:first-child::before { - content: ""; - position: absolute; - display: block; - top: 0.2em; - bottom: 0.2em; - left: 0; - right: 0; - background-size: contain; - background-repeat: no-repeat; - background-image: url(../images/logos/october-icon.png); + + ul > li > p:first-child::before { + content: ""; + position: absolute; + display: block; + top: 0.2em; + bottom: 0.2em; + left: 0; + right: 0; + background-size: contain; + background-repeat: no-repeat; + background-image: url(../images/logos/october-icon.png); + } }