aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-20 23:44:13 +0800
committerslene <vslene@gmail.com>2014-03-20 23:44:13 +0800
commitc44aa757d05c2711da1c6e90c0d9d73bcd387433 (patch)
treee5c16568d05c95ce6385b24048ca019e2b44bed6
parent88eaa68763ffabb0ad8e1fdcbc8060c7aae37455 (diff)
downloadgitea-c44aa757d05c2711da1c6e90c0d9d73bcd387433.tar.gz
gitea-c44aa757d05c2711da1c6e90c0d9d73bcd387433.zip
fix style
-rwxr-xr-xpublic/css/gogs.css2
-rw-r--r--public/css/markdown.css5
2 files changed, 6 insertions, 1 deletions
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 */