From c44aa757d05c2711da1c6e90c0d9d73bcd387433 Mon Sep 17 00:00:00 2001 From: slene Date: Thu, 20 Mar 2014 23:44:13 +0800 Subject: [PATCH] fix style --- public/css/gogs.css | 2 +- public/css/markdown.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index f88b396397b..89ae347004e 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -683,7 +683,7 @@ html, body { padding: 0 8px 0 10px; cursor: pointer; display: block; - margin-top: 6px; + margin-top: 2px; font-size: 90%; } diff --git a/public/css/markdown.css b/public/css/markdown.css index 68094867b1e..fb9d667fb05 100644 --- a/public/css/markdown.css +++ b/public/css/markdown.css @@ -123,6 +123,10 @@ padding: 0; } +.markdown > pre > ol.linenums > li { + margin-top: 2px; +} + .markdown > pre.linenums-style > ol.linenums { list-style-type: decimal; padding: 0 0 0 40px; @@ -246,6 +250,7 @@ /* a comment */ .com { color: #999988; + font-style: italic; } /* a type name */