From 586678622c0e96a5d86c895daf7a307ff5d4d6e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 29 Dec 2013 18:36:41 +0200 Subject: [PATCH] Restyle README section Signed-off-by: Dmitriy Zaporozhets --- app/assets/stylesheets/sections/tree.scss | 11 +++++++++++ app/views/projects/tree/_readme.html.haml | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/sections/tree.scss b/app/assets/stylesheets/sections/tree.scss index 96f2a5711fa..efa95e66742 100644 --- a/app/assets/stylesheets/sections/tree.scss +++ b/app/assets/stylesheets/sections/tree.scss @@ -113,3 +113,14 @@ float: left; margin-top: 5px; } + +.readme-holder { + border-top: 1px dashed #CCC; + padding-top: 10px; + + h4 { + font-size: 14px; + margin-bottom: 20px; + color: #777; + } +} diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml index 98bacb49562..1fccfbc1645 100644 --- a/app/views/projects/tree/_readme.html.haml +++ b/app/views/projects/tree/_readme.html.haml @@ -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) -- GitLab