Commit ec1b1588ee6469088491d44441ecd5e78ca70608
1 parent
caf5b9e5
Exists in
master
and in
4 other branches
Improved header font
Showing
3 changed files
with
11 additions
and
11 deletions
Show diff stats
app/assets/stylesheets/header.scss
| @@ -71,10 +71,10 @@ header { | @@ -71,10 +71,10 @@ header { | ||
| 71 | float:left; | 71 | float:left; |
| 72 | margin:0; | 72 | margin:0; |
| 73 | margin-right:30px; | 73 | margin-right:30px; |
| 74 | - font-size:20px; | 74 | + font-size:24px; |
| 75 | line-height:36px; | 75 | line-height:36px; |
| 76 | - font-weight:bold; | ||
| 77 | - color:$style_color; | 76 | + font-weight:500; |
| 77 | + color:#567; | ||
| 78 | text-shadow: 0 1px 1px #FFF; | 78 | text-shadow: 0 1px 1px #FFF; |
| 79 | } | 79 | } |
| 80 | 80 |
app/assets/stylesheets/nav.scss
| @@ -70,7 +70,7 @@ nav.main_menu { | @@ -70,7 +70,7 @@ nav.main_menu { | ||
| 70 | } | 70 | } |
| 71 | &.current { | 71 | &.current { |
| 72 | background-color:#D5D5D5; | 72 | background-color:#D5D5D5; |
| 73 | - border-bottom: 2px solid #474D57; | 73 | + border-bottom: 1px solid #567; |
| 74 | border-right: 1px solid #BBB; | 74 | border-right: 1px solid #BBB; |
| 75 | border-left: 1px solid #BBB; | 75 | border-left: 1px solid #BBB; |
| 76 | border-radius: 0 0 1px 1px; | 76 | border-radius: 0 0 1px 1px; |
config/initializers/1_settings.rb
| @@ -11,7 +11,7 @@ class Settings < Settingslogic | @@ -11,7 +11,7 @@ class Settings < Settingslogic | ||
| 11 | end | 11 | end |
| 12 | 12 | ||
| 13 | def email_from | 13 | def email_from |
| 14 | - self.email['from'] ||= "notify@" + web_host | 14 | + self.email['from'] ||= ("notify@" + web_host) |
| 15 | end | 15 | end |
| 16 | 16 | ||
| 17 | def url | 17 | def url |
| @@ -49,18 +49,18 @@ class Settings < Settingslogic | @@ -49,18 +49,18 @@ class Settings < Settingslogic | ||
| 49 | end | 49 | end |
| 50 | 50 | ||
| 51 | def git_upload_pack | 51 | def git_upload_pack |
| 52 | - if git_host['upload_pack'] == false | ||
| 53 | - false | ||
| 54 | - else | 52 | + if git_host['upload_pack'] != false |
| 55 | true | 53 | true |
| 54 | + else | ||
| 55 | + false | ||
| 56 | end | 56 | end |
| 57 | end | 57 | end |
| 58 | 58 | ||
| 59 | def git_receive_pack | 59 | def git_receive_pack |
| 60 | - if git_host['receive_pack'] == false | ||
| 61 | - false | ||
| 62 | - else | 60 | + if git_host['receive_pack'] != false |
| 63 | true | 61 | true |
| 62 | + else | ||
| 63 | + false | ||
| 64 | end | 64 | end |
| 65 | end | 65 | end |
| 66 | 66 |