receptty.org/sass/_lists.scss

27 lines
411 B
SCSS
Raw Normal View History

2019-10-30 11:58:46 +01:00
ol {
counter-reset:procedure;
list-style-type: none;
margin:3em 0 4em 0;
2019-10-30 11:58:46 +01:00
padding:0;
li {
counter-increment:procedure;
display:flex;
2020-01-04 12:26:26 +01:00
margin-bottom:2.5em;
line-height:1.2em;
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
}
}