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/less/gogs/markdown.less | |
parent | 9ee80e3e5426821f03a4e99fad34418f5c736413 (diff) |
fix #703
Diffstat (limited to 'public/ng/less/gogs/markdown.less')
-rw-r--r-- | public/ng/less/gogs/markdown.less | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/public/ng/less/gogs/markdown.less b/public/ng/less/gogs/markdown.less index 72cd610a..e3abb480 100644 --- a/public/ng/less/gogs/markdown.less +++ b/public/ng/less/gogs/markdown.less @@ -59,6 +59,30 @@ color: #777; } } + table { + display: block; + width: 100%; + overflow: auto; + word-break: normal; + margin: 15px 0; + border-collapse: collapse; + border-spacing: 0; + display: block; + th { + font-weight: 700; + } + th, td { + border: 1px solid #DDD; + padding: 6px 13px !important; + } + tr { + background-color: #FFF; + border-top: 1px solid #CCC; + &:nth-child(2n) { + background-color: #F8F8F8; + } + } + } } .markdown a { color: #428BCA; @@ -96,29 +120,6 @@ .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; |