mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
ol improvements
This commit is contained in:
parent
963e8ca5ba
commit
5175f13714
@ -171,8 +171,8 @@ ol {
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
|
||||||
li:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -2em;
|
left: -2em;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -180,17 +180,20 @@ ol {
|
|||||||
content: counter(ol-counter);
|
content: counter(ol-counter);
|
||||||
counter-increment: ol-counter;
|
counter-increment: ol-counter;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-size: 14px;
|
||||||
background: @text-color-dimmed;
|
background: @text-color-dimmed;
|
||||||
border-radius: 1.2em;
|
|
||||||
width: 1.2em;
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
border-radius: 20px;
|
||||||
|
line-height: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
height: 1.2em;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 1.1em;
|
|
||||||
top: .2em;
|
top: .2em;
|
||||||
.box-shadow(0 1px 0 rgba(255,255,255,.7));
|
.box-shadow(0 1px 0 rgba(255,255,255,.7));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ul ul,
|
ul ul,
|
||||||
ul ol,
|
ul ol,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user