diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-12-10 07:00:11 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-12-10 07:00:11 -0500 |
commit | 01ba7717838c01c719cca34d3fe446c547c9ada4 (patch) | |
tree | 3b197ad3c7578f4459af1d3441172e005d28f2a2 /public/ng/css/gogs.css | |
parent | 9ee80e3e5426821f03a4e99fad34418f5c736413 (diff) |
fix #703
Diffstat (limited to 'public/ng/css/gogs.css')
-rw-r--r-- | public/ng/css/gogs.css | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index b2c09856..a052b349 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -340,6 +340,30 @@ img.avatar-100 { padding: 5px 15px; color: #777; } +.markdown table { + width: 100%; + overflow: auto; + word-break: normal; + margin: 15px 0; + border-collapse: collapse; + border-spacing: 0; + display: block; +} +.markdown table th { + font-weight: 700; +} +.markdown table th, +.markdown table td { + border: 1px solid #DDD; + padding: 6px 13px !important; +} +.markdown table tr { + background-color: #FFF; + border-top: 1px solid #CCC; +} +.markdown table tr:nth-child(2n) { + background-color: #F8F8F8; +} .markdown a { color: #428BCA; } @@ -376,29 +400,6 @@ img.avatar-100 { .markdown h4 { font-size: 18px; } -.markdown table { - border-collapse: collapse; - border-spacing: 0; - display: block; - overflow: auto; - width: 100%; - margin: 0 0 9px; -} -.markdown table th { - font-weight: 700; -} -.markdown table th, -.markdown table td { - border: 1px solid #DDD; - padding: 6px 13px; -} -.markdown table tr { - background-color: #FFF; - border-top: 1px solid #CCC; -} -.markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} .markdown dl dt { font-style: italic; margin-top: 9px; |