diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-29 20:36:41 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-29 20:36:41 +0400 |
commit | 586678622c0e96a5d86c895daf7a307ff5d4d6e4 (patch) | |
tree | 3545226a93558e68144c7969b6199267d4c85c6f /app | |
parent | 988ce2c0af072abb52cf9547a5afd0d0e98255d1 (diff) |
Restyle README section
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/sections/tree.scss | 11 | ||||
-rw-r--r-- | 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) |