papercss/src/lists.less

48 lines
879 B
Plaintext
Raw Normal View History

2017-09-27 23:10:41 +02:00
ol {
list-style-type: decimal;
ol {
list-style-type: upper-alpha;
ol {
list-style-type: upper-roman;
ol {
list-style-type: lower-alpha;
ol {
list-style-type: lower-roman;
}
}
}
}
}
.li-bullet(@char) {
li:before {
content: @char;
}
}
ul {
list-style: none;
margin-left: 0;
li {
text-indent: -7px;
}
li:before {
position: relative;
left: -7px;
}
.li-bullet("-");
ul {
.li-bullet("+");
ul {
.li-bullet("~");
ul {
.li-bullet("⤍");
ul {
.li-bullet("")
}
}
}
}
2017-11-27 22:00:28 +01:00
&.inline li{
display: inline;
margin-left: 5px;
}
2017-09-27 23:10:41 +02:00
}