From 6249bf1d2a525519b548ec3ab18275a4db848637 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 23 May 2017 17:25:45 -0400 Subject: [PATCH] ol styling --- _sass/_help.scss | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/_sass/_help.scss b/_sass/_help.scss index f9506e74..09c892a1 100644 --- a/_sass/_help.scss +++ b/_sass/_help.scss @@ -227,7 +227,7 @@ footer { } .article { - ul, ol { + ul { li + li, ul li:first-child, ol li:first-child { @@ -278,6 +278,37 @@ footer { max-width: 600px; max-height: 600px; } + + .panel-body > ol { + counter-reset: li; + list-style: none; + position: relative; + margin-left: 0; + padding-left: 0; + + > li { + padding: 5px 0 5px 50px; + position: relative; + margin-bottom: 5px; + + &:before { + content: counter(li); + counter-increment: li; + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 30px; + padding: 0 10px 0 0; + color: $text-muted; + font-size: 22px; + font-weight: bold; + line-height: 35px; + text-align: right; + border-right: 1px solid $table-border-color; + } + } + } } .alert {