diff --git a/public/css/gogs.css b/public/css/gogs.css index f88b396397..89ae347004 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 68094867b1..fb9d667fb0 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 */