From 5347b92dbafd125ffca08a05e86da1309d691e46 Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Thu, 27 Apr 2017 12:08:41 -0700 Subject: [PATCH] Improve list styling The font was too small, the bullets too indented. --- source/assets/stylesheets/application.css.sass | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/source/assets/stylesheets/application.css.sass b/source/assets/stylesheets/application.css.sass index 2f16dd2..90d24a6 100644 --- a/source/assets/stylesheets/application.css.sass +++ b/source/assets/stylesheets/application.css.sass @@ -27,8 +27,9 @@ a:hover left: 0 ul - padding: 0 0 0 1em + list-style-position: inside list-style-type: decimal-leading-zero + padding: 0 0 0 1em li padding-left: 1em line-height: 2 @@ -37,6 +38,9 @@ a:hover line-height: 2 display: none + span + display: none + li:hover color: $color-sand background: $color-black @@ -112,17 +116,11 @@ article img border-radius: 7px padding: 0.4em 0.9em -article > ul - font-size: 1.2em - padding-left: 0 - -article > ul ul - padding-left: 1em - article ul + font-size: 1.1em line-height: 1.5 - list-style-position: inside list-style-type: square + padding-left: 1em footer font-size: .7em