1
0
mirror of https://github.com/bitwarden/help synced 2025-12-17 00:33:25 +00:00

ol styling

This commit is contained in:
Kyle Spearrin
2017-05-23 17:25:45 -04:00
parent cb2ffd927c
commit 6249bf1d2a

View File

@@ -227,7 +227,7 @@ footer {
} }
.article { .article {
ul, ol { ul {
li + li, li + li,
ul li:first-child, ul li:first-child,
ol li:first-child { ol li:first-child {
@@ -278,6 +278,37 @@ footer {
max-width: 600px; max-width: 600px;
max-height: 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 { .alert {