Skip to content

Commit 6cbed47

Browse files
committed
main.css: Fixes for ordered lists & code blocks
Signed-off-by: Hector Martin <[email protected]>
1 parent 3d65ceb commit 6cbed47

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

static/css/main.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,12 +829,19 @@ body.landing #documentation {
829829
}
830830

831831
.post-wrapper li {
832-
list-style: disc;
833832
font-weight: 300;
834833
margin-left: 2em;
835834
line-height: 1.4em;
836835
}
837836

837+
.post-wrapper ul li {
838+
list-style: disc;
839+
}
840+
841+
.post-wrapper ol li {
842+
list-style: decimal;
843+
}
844+
838845
.post h1:nth-child(1), .post h2:nth-child(1), .post h3:nth-child(1), blockquote p:nth-child(1) {
839846
margin-top: 0px;
840847
}
@@ -871,6 +878,10 @@ code {
871878
border-radius: 6px;
872879
}
873880

881+
pre code {
882+
padding: 0;
883+
}
884+
874885
pre {
875886
margin: 1em 0;
876887
padding: 1em;

0 commit comments

Comments
 (0)