receptty.org/sass/_lists.scss

22 lines
321 B
SCSS
Raw Normal View History

2019-10-30 11:58:46 +01:00
ol {
counter-reset:procedure;
list-style-type: none;
padding:0;
li {
counter-increment:procedure;
2020-01-04 12:26:26 +01:00
margin-bottom:2.5em;
line-height:1em;
2019-10-30 11:58:46 +01:00
&:before {
2020-01-04 12:26:26 +01:00
content:counter(procedure)".";
display:block;
margin:0 .5em .5em 0;
width:auto;
2019-10-30 11:58:46 +01:00
font-weight:bold;
2020-01-04 12:26:26 +01:00
font-size:2em;
color:$primary;
2019-10-30 11:58:46 +01:00
}
}
}