From e3716657e7492415cb744d86bd4f744b3b81133e Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 13 Oct 2018 17:46:57 +0200 Subject: [PATCH] scss: add support for ol --- css/clear-typography.css | 9 +++++++++ scss/clear-typography.scss | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/css/clear-typography.css b/css/clear-typography.css index cadcdb1..46bca99 100644 --- a/css/clear-typography.css +++ b/css/clear-typography.css @@ -72,6 +72,15 @@ ul { ul li { margin-left: 1.5em; } +ol { + padding: 0; + padding-bottom: 1.5em; + margin: 0; } + ol ol { + padding-bottom: 0; } + ol li { + margin-left: 1.5em; } + ::selection { background: #2484c1; color: #fff; } diff --git a/scss/clear-typography.scss b/scss/clear-typography.scss index 2f4c761..b7359fb 100644 --- a/scss/clear-typography.scss +++ b/scss/clear-typography.scss @@ -96,6 +96,17 @@ ul { } } +ol { + @include paragraph(); + ol { + padding-bottom:0; + } + li { + margin-left:1.5em; + } +} + + ::selection { background: #2484c1; color: #fff; } ::-moz-selection { background: #2484c1; color: #fff; }