From eb76871b25e7a2fa0ef37a63464e7786a2c2064f Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 6 Oct 2011 18:18:29 -0400 Subject: [PATCH] style tweaks --- app/assets/stylesheets/common/020_base.css.scss | 2 +- app/assets/stylesheets/common/page_header.css.scss | 5 +++++ app/assets/stylesheets/specific/posts.css.scss | 12 ++++++++++-- app/views/posts/show.html.erb | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/020_base.css.scss b/app/assets/stylesheets/common/020_base.css.scss index 84aa054d0..fdc275def 100644 --- a/app/assets/stylesheets/common/020_base.css.scss +++ b/app/assets/stylesheets/common/020_base.css.scss @@ -119,7 +119,7 @@ menu { li { margin: 0; - padding: 0; + padding: 0 0.2em; list-style-type: none; display: inline; } diff --git a/app/assets/stylesheets/common/page_header.css.scss b/app/assets/stylesheets/common/page_header.css.scss index 5eef2eea7..172d9bc8b 100644 --- a/app/assets/stylesheets/common/page_header.css.scss +++ b/app/assets/stylesheets/common/page_header.css.scss @@ -8,6 +8,11 @@ header#top { background: #F7F7FF; padding: 6px 20px; + li { + margin: 0; + padding: 0; + } + li a { padding: 6px 10px; } diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index a8fcd2b35..6bec460ee 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -97,8 +97,16 @@ div#c-posts { } } - section#notes article { - margin-bottom: 1em; + section#notes { + margin-top: 1em; + + article { + margin-bottom: 1em; + } + } + + section#edit { + margin-top: 1em; } } } diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb index d7a810449..f4c3f5414 100644 --- a/app/views/posts/show.html.erb +++ b/app/views/posts/show.html.erb @@ -45,8 +45,8 @@
  • Comments
  • -
  • Notes
  • Edit
  • +
  • Notes