Browse Source

fix style

pull/32/head
slene 11 years ago
parent
commit
c44aa757d0
  1. 2
      public/css/gogs.css
  2. 5
      public/css/markdown.css

2
public/css/gogs.css

@ -683,7 +683,7 @@ html, body {
padding: 0 8px 0 10px; padding: 0 8px 0 10px;
cursor: pointer; cursor: pointer;
display: block; display: block;
margin-top: 6px; margin-top: 2px;
font-size: 90%; font-size: 90%;
} }

5
public/css/markdown.css

@ -123,6 +123,10 @@
padding: 0; padding: 0;
} }
.markdown > pre > ol.linenums > li {
margin-top: 2px;
}
.markdown > pre.linenums-style > ol.linenums { .markdown > pre.linenums-style > ol.linenums {
list-style-type: decimal; list-style-type: decimal;
padding: 0 0 0 40px; padding: 0 0 0 40px;
@ -246,6 +250,7 @@
/* a comment */ /* a comment */
.com { .com {
color: #999988; color: #999988;
font-style: italic;
} }
/* a type name */ /* a type name */

Loading…
Cancel
Save