From 82aa13fed4824c4ab3e94e030657b780fd4bd2e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20San=20Juli=C3=A1n?= Date: Fri, 31 Jul 2015 14:12:59 +0200 Subject: [PATCH] Tweak CSS for markdown list items --- public/ng/css/gogs.css | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 60b0c5c80..d854589ec 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -291,21 +291,20 @@ img.avatar-100 { .markdown h6 { font-size: 1em; } -.markdown ul { - padding: 10px 0 0 15px; +.markdown ul, +.markdown ol { + padding-left: 1.2em; } -.markdown ul li { - list-style: inside; +.markdown ul > li, +.markdown ol > li { + list-style: outside; + margin-top: 0.4em; } .markdown ol > li { - list-style: decimal inside; + list-style: decimal; } .markdown li { line-height: 1.6; - margin-top: 6px; -} -.markdown li:first-child { - margin-top: 0; } .markdown code { padding: 0.2em 0.5em;