blob: 71df12c6c8e3c1fc9e3365cef8a04c8ce0843ac0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
// Unordered and Ordered lists
ul,
ol {
margin-top: 0;
margin-bottom: 0;
ul,
ol {
margin-bottom: 0;
}
}
.list-unstyled {
padding-left: 0;
list-style: none;
}
.list-inline {
@extend .list-unstyled;
margin-left: -5px;
> li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
}
// comma separated
.list-csv {
@extend .list-inline;
margin-left: 0;
> li {
padding-left: 0;
&::after {
content: ",";
}
&:last-child {
padding-right: 0;
&::after {
content: unset;
}
}
}
&.narrow {
> li {
display: inline-flex;
}
}
}
.list-pipe-separated {
@extend .list-inline;
display: flex; // Prevents the mystery gap between elements
> li {
border-right: 1px solid var(--dark-gray-color);
&:last-child {
border-right: 0;
}
}
}
.list-slash-separated-small {
@extend .list-csv;
> li {
padding-right: 0;
font-size: small;
&::after {
content: "/";
}
}
}
dl {
dt {
font-weight: bold;
}
}
// reset the visualization of different levels of unordered lists
.formatted-content ul {
list-style-type: disc;
ul {
list-style-type: circle;
ul {
list-style-type: square;
}
}
}
ul.default {
list-style: inside;
margin: 0;
padding: 0;
li:only-child {
list-style: none;
}
li:not(:last-child) {
margin-bottom: 0.25em;
}
}
dl.default {
display: grid;
grid-column-gap: 1ex;
grid-template-columns: max-content auto;
dt {
font-weight: normal;
grid-column-start: 1;
}
dd {
grid-column-start: 2;
}
}
|