OSDN Git Service

Restyle README section
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 29 Dec 2013 16:36:41 +0000 (18:36 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 29 Dec 2013 16:36:41 +0000 (18:36 +0200)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/sections/tree.scss
app/views/projects/tree/_readme.html.haml

index 96f2a57..efa95e6 100644 (file)
   float: left;
   margin-top: 5px;
 }
+
+.readme-holder {
+  border-top: 1px dashed #CCC;
+  padding-top: 10px;
+
+  h4 {
+    font-size: 14px;
+    margin-bottom: 20px;
+    color: #777;
+  }
+}
index 98bacb4..1fccfbc 100644 (file)
@@ -1,8 +1,8 @@
-.file-holder#README
-  .file-title
+.readme-holder#README
+  %h4
     %i.icon-file
-    = readme.name
-  .file-content.wiki
+      = readme.name
+  .wiki
     - if gitlab_markdown?(readme.name)
       = preserve do
         = markdown(readme.data)