# HG changeset patch # User lisaq # Date 2016-07-04 15:26:32 # Node ID 190afce43d02404b2f6e536d4acdda6463aca830 # Parent ddfb12e0d0fe43e15c75970813fc28abcb1fd3df styling: adds README styling for #4054 GFM diff --git a/rhodecode/public/css/code-block.less b/rhodecode/public/css/code-block.less --- a/rhodecode/public/css/code-block.less +++ b/rhodecode/public/css/code-block.less @@ -496,7 +496,11 @@ div.codeblock { .code-highlighttable, div.codeblock { - .code-body .markdown-block table { + &.readme { + background-color: white; + } + + .markdown-block table { border-collapse: collapse; th, @@ -506,7 +510,7 @@ div.codeblock { } } - .code-body table { + table { width: 0 !important; border: 0px !important; margin: 0; diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -254,15 +254,3 @@ } -#readme { - width: 100%; - - .readme { - overflow-x: auto; - border: @border-thickness solid @border-default-color; - .border-radius(@border-radius); - } - .readme_box { - margin: 15px; - } -} diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -50,8 +50,8 @@ ${c.readme_file} -
-
+
+
${c.readme_data|n}