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 | 71 | float:left; |
| 72 | 72 | margin:0; |
| 73 | 73 | margin-right:30px; |
| 74 | - font-size:20px; | |
| 74 | + font-size:24px; | |
| 75 | 75 | line-height:36px; |
| 76 | - font-weight:bold; | |
| 77 | - color:$style_color; | |
| 76 | + font-weight:500; | |
| 77 | + color:#567; | |
| 78 | 78 | text-shadow: 0 1px 1px #FFF; |
| 79 | 79 | } |
| 80 | 80 | ... | ... |
app/assets/stylesheets/nav.scss
config/initializers/1_settings.rb
| ... | ... | @@ -11,7 +11,7 @@ class Settings < Settingslogic |
| 11 | 11 | end |
| 12 | 12 | |
| 13 | 13 | def email_from |
| 14 | - self.email['from'] ||= "notify@" + web_host | |
| 14 | + self.email['from'] ||= ("notify@" + web_host) | |
| 15 | 15 | end |
| 16 | 16 | |
| 17 | 17 | def url |
| ... | ... | @@ -49,18 +49,18 @@ class Settings < Settingslogic |
| 49 | 49 | end |
| 50 | 50 | |
| 51 | 51 | def git_upload_pack |
| 52 | - if git_host['upload_pack'] == false | |
| 53 | - false | |
| 54 | - else | |
| 52 | + if git_host['upload_pack'] != false | |
| 55 | 53 | true |
| 54 | + else | |
| 55 | + false | |
| 56 | 56 | end |
| 57 | 57 | end |
| 58 | 58 | |
| 59 | 59 | def git_receive_pack |
| 60 | - if git_host['receive_pack'] == false | |
| 61 | - false | |
| 62 | - else | |
| 60 | + if git_host['receive_pack'] != false | |
| 63 | 61 | true |
| 62 | + else | |
| 63 | + false | |
| 64 | 64 | end |
| 65 | 65 | end |
| 66 | 66 | ... | ... |