##// END OF EJS Templates
styling: adds README styling for #4054 GFM
lisaq -
r345:190afce4 default
parent child Browse files
Show More
@@ -496,7 +496,11 b' div.codeblock {'
496 496 .code-highlighttable,
497 497 div.codeblock {
498 498
499 .code-body .markdown-block table {
499 &.readme {
500 background-color: white;
501 }
502
503 .markdown-block table {
500 504 border-collapse: collapse;
501 505
502 506 th,
@@ -506,7 +510,7 b' div.codeblock {'
506 510 }
507 511 }
508 512
509 .code-body table {
513 table {
510 514 width: 0 !important;
511 515 border: 0px !important;
512 516 margin: 0;
@@ -254,15 +254,3 b''
254 254
255 255 }
256 256
257 #readme {
258 width: 100%;
259
260 .readme {
261 overflow-x: auto;
262 border: @border-thickness solid @border-default-color;
263 .border-radius(@border-radius);
264 }
265 .readme_box {
266 margin: 15px;
267 }
268 }
@@ -50,8 +50,8 b''
50 50 <a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a>
51 51 </h3>
52 52 </div>
53 <div class="readme">
54 <div class="readme_box">
53 <div class="readme codeblock">
54 <div class="readme_box markdown-block">
55 55 ${c.readme_data|n}
56 56 </div>
57 57 </div>
General Comments 0
You need to be logged in to leave comments. Login now