receptty.org/sass/_lists.scss

33 lines
482 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;
display:flex;
margin-bottom: 1em;
padding: 1em 0;
line-height:1.2em;
2021-01-23 17:58:03 +01:00
cursor:pointer;
2019-10-30 11:58:46 +01:00
&:before {
2020-01-04 12:26:26 +01:00
content:counter(procedure)".";
display:flex;
align-items:center;
margin-right:.5em;
2020-01-04 12:26:26 +01:00
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
}
}
main ul li {
margin-bottom: 1em;
line-height:1.2em;
}