From ec1b1588ee6469088491d44441ecd5e78ca70608 Mon Sep 17 00:00:00 2001 From: randx Date: Sun, 1 Jul 2012 13:11:17 +0300 Subject: [PATCH] Improved header font --- app/assets/stylesheets/header.scss | 6 +++--- app/assets/stylesheets/nav.scss | 2 +- config/initializers/1_settings.rb | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/header.scss b/app/assets/stylesheets/header.scss index 6a6b9fbc..f7adc677 100644 --- a/app/assets/stylesheets/header.scss +++ b/app/assets/stylesheets/header.scss @@ -71,10 +71,10 @@ header { float:left; margin:0; margin-right:30px; - font-size:20px; + font-size:24px; line-height:36px; - font-weight:bold; - color:$style_color; + font-weight:500; + color:#567; text-shadow: 0 1px 1px #FFF; } diff --git a/app/assets/stylesheets/nav.scss b/app/assets/stylesheets/nav.scss index 0b3c0d4e..e909eee7 100644 --- a/app/assets/stylesheets/nav.scss +++ b/app/assets/stylesheets/nav.scss @@ -70,7 +70,7 @@ nav.main_menu { } &.current { background-color:#D5D5D5; - border-bottom: 2px solid #474D57; + border-bottom: 1px solid #567; border-right: 1px solid #BBB; border-left: 1px solid #BBB; border-radius: 0 0 1px 1px; diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index a71bfd25..5d0ecbdf 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -11,7 +11,7 @@ class Settings < Settingslogic end def email_from - self.email['from'] ||= "notify@" + web_host + self.email['from'] ||= ("notify@" + web_host) end def url @@ -49,18 +49,18 @@ class Settings < Settingslogic end def git_upload_pack - if git_host['upload_pack'] == false - false - else + if git_host['upload_pack'] != false true + else + false end end def git_receive_pack - if git_host['receive_pack'] == false - false - else + if git_host['receive_pack'] != false true + else + false end end