receptty.org/sass/_lists.scss
2021-01-23 15:32:22 +01:00

25 lines
373 B
SCSS

ol {
counter-reset:procedure;
list-style-type: none;
margin-bottom:4em;
padding:0;
li {
counter-increment:procedure;
margin-bottom:2.5em;
line-height:1em;
&:before {
content:counter(procedure)".";
display:block;
margin:0 .5em .5em 0;
width:auto;
font-weight:bold;
font-size:2em;
color:$primary;
}
&.completed { opacity: .4; }
}
}