Showing 2 changed files with 26 additions and 8 deletions
+16
public/css/bootstrap.css
... ...
@@ -1564,6 +1564,7 @@ button.close {
1564 1564
   text-align:center;
1565 1565
   border-top:1px solid #e5e5e5;
1566 1566
   padding:15px 0;
1567
+  margin-top:30px;
1567 1568
 }
1568 1569
 
1569 1570
 .repositories {
... ...
@@ -1649,3 +1650,18 @@ button.close {
1649 1650
 .branch-select-left-container-page-path {
1650 1651
   width:100%;
1651 1652
 }
1653
+
1654
+.readme-header {
1655
+  background-color: #f5f5f5;
1656
+  border-radius: 3px 3px 0 0;
1657
+  border: 1px solid #d8d8d8;
1658
+  border-bottom: 0;
1659
+  padding: 9px 10px 10px;
1660
+  font-size: 14px;
1661
+  line-height: 17px;
1662
+  font-weight:bold;
1663
+}
1664
+
1665
+.readme-frame {
1666
+  border: 1px solid #d8d8d8;
1667
+}
+10 -8
templates/include/readme.html.ep
... ...
@@ -30,14 +30,16 @@
30 30
 %>
31 31
 
32 32
 % if (defined $readme_e) {
33
-  <div class="README">
34
-    <div class="border-gray bk-gray-light" style="border-radius:1px;font-size:17px;padding:10px">
35
-      <i class="icon-book" style="margin-top:2px"></i> <%= $type eq 'plain' ? 'README' : 'README.md' %>
33
+  <div class="readme">
34
+    <div class="readme-header">
35
+      <i class="icon-book"></i> <%= $type eq 'plain' ? 'README' : 'README.md' %>
36
+    </div>
37
+    <div class="readme-frame">
38
+      % if ($type eq 'plain') {
39
+        <pre class="plain-text"><%== $readme_e %></pre>
40
+      % } else {
41
+        <div class="markdown-body"><%== $readme_e %></div>
42
+      % }
36 43
     </div>
37
-    % if ($type eq 'plain') {
38
-      <pre class="plain-text border-gray"><%== $readme_e %></pre>
39
-    % } else {
40
-      <div class="markdown-body border-gray"><%== $readme_e %></div>
41
-    % }
42 44
   </div>
43 45
 % }