papercss/src/lists.scss
2017-12-18 23:23:30 +01:00

49 lines
917 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}
}
}
}
}
@mixin li-bullet($char)
{
li:before {
content: $char;
}
}
ul {
list-style: none;
margin-left: 0;
li {
text-indent: -7px;
}
li:before {
position: relative;
left: -7px;
}
@include li-bullet("-");
ul {
@include li-bullet("+");
ul {
@include li-bullet("~");
ul {
@include li-bullet("");
ul {
.li-bullet("")
}
}
}
}
&.inline li{
display: inline;
margin-left: 5px;
}
}