receptty.org/sass/_lists.scss
2021-03-14 19:05:17 +01:00

33 lines
482 B
SCSS

ol {
counter-reset:procedure;
list-style-type: none;
padding:0;
li {
counter-increment:procedure;
display:flex;
margin-bottom: 1em;
padding: 1em 0;
line-height:1.2em;
cursor:pointer;
&:before {
content:counter(procedure)".";
display:flex;
align-items:center;
margin-right:.5em;
width:auto;
font-weight:bold;
font-size:2em;
color:$primary;
}
&.completed { opacity: .4; }
}
}
main ul li {
margin-bottom: 1em;
line-height:1.2em;
}