Skip to content

Commit 252ca50

Browse files
committed
feat: apply proper styles for list elements
1 parent ab2e53b commit 252ca50

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/styles/global.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,35 @@ h6 {
2222
font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', 'Arial Black', Arial, sans-serif;
2323
font-weight: 800;
2424
}
25+
26+
ol,
27+
ul {
28+
padding-left: 5px;
29+
list-style-position: inside;
30+
}
31+
32+
ol,
33+
ul {
34+
margin: 0;
35+
}
36+
37+
ol > li {
38+
color: var(--green-foreground);
39+
background-color: var(--green-background);
40+
padding: 2px 5px;
41+
margin-top: 5px;
42+
width: fit-content;
43+
border-radius: 2px;
44+
}
45+
46+
ol {
47+
padding-bottom: 10px;
48+
}
49+
50+
ol p {
51+
padding-left: 25px;
52+
}
53+
54+
ol > p {
55+
padding-top: 5px;
56+
}

0 commit comments

Comments
 (0)