receptty.org/sass/_lists.scss

25 lines
373 B
SCSS
Raw Normal View History

2019-10-30 11:58:46 +01:00
ol {
counter-reset:procedure;
list-style-type: none;
margin-bottom:4em;
2019-10-30 11:58:46 +01:00
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
}
2021-01-23 15:32:22 +01:00
&.completed { opacity: .4; }
2019-10-30 11:58:46 +01:00
}
}