Skip to content

Commit 3a292c8

Browse files
committed
ADD list styles
1 parent dc03126 commit 3a292c8

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

css/tailwind.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@layer base {
1313
html {
1414
@apply font-serif;
15-
font-size: 1rem;
15+
font-size: 0.9rem;
1616
}
1717
}
1818

@@ -81,6 +81,17 @@ input:-webkit-autofill:focus {
8181
vertical-align: middle;
8282
}
8383

84-
.list-tight {
85-
line-height: 1.2; /* Adjust the value as needed */
84+
.prose :where(li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
85+
margin-top: 0.5em;
86+
margin-bottom: -0.5em;
87+
}
88+
89+
.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
90+
margin-bottom: 0;
91+
}
92+
93+
.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
94+
color: rgb(99 102 241);
95+
text-decoration: underline;
96+
font-weight: 500;
8697
}

0 commit comments

Comments
 (0)