Skip to content

Commit

Permalink
Style adjustments
Browse files Browse the repository at this point in the history
- Makes HSA logo smaller
- Adjusts header links (removes underline, adjusts padding)
- Adds width/height/alt to has logo
  • Loading branch information
anselmbradford committed Feb 22, 2014
1 parent aff6edc commit 06b3d84
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
Binary file modified app/assets/images/smc_hsa_logotype.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions app/assets/stylesheets/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,7 @@ $red_dark: rgb(255,10,50);

// component styles
$link_header: $blue_darkest;
$link_header_underline: $yellow_lightest;
$link_header_hover: $purple_darkest;
$link_header_hover_underline: $purple_midtone;

// fonts
@font-face {
Expand Down Expand Up @@ -681,13 +679,13 @@ a:hover
{
color:$link_header;
padding-bottom:2px;
border-bottom:1px solid $link_header_underline;
border-bottom:none;
}

a:hover
{
color:$link_header_hover;
border-bottom:1px solid $link_header_hover_underline;
border-bottom:none;
}
}
}
Expand Down Expand Up @@ -1248,6 +1246,7 @@ sup
@include inline-block();
float:right;
padding-top: 11px;
padding-bottom: 10px;
padding-right: 15px;
}

Expand All @@ -1266,6 +1265,11 @@ sup
clear:both;
border-top:2px solid $blue_dark;

#hsa-logo a
{
border-bottom:none;
}

p
{
padding:20px;
Expand Down
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<%= render 'component/status/alert' %>

<header id="content-header">
<h1 id="logo"><a href="/" target="_self"><img src="/assets/smc_connect_logo.png" width="231" height="42" alt="SMC-Connect"></a></h1>
<h1 id="logo"><a href="/" target="_self"><img src="/assets/smc_connect_logo.png" width="231" height="42" alt="SMC-Connect" /></a></h1>
<h2>Find San Mateo County community services</h2>
<nav>
<ul>
Expand Down Expand Up @@ -113,8 +113,8 @@

<footer id='app-footer'>

<p>
<a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'><img src="/assets/smc_hsa_logotype.png" /></a>
<p id="hsa-logo">
<a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services Agency'><img src="/assets/smc_hsa_logotype.png" width="200" height="38" alt="San Mateo County Human Services Agency" /></a>
</p>

<p>This website is a <a href='http://codeforamerica.org' target='_blank' title='Code for America'>Code for America</a> project <span class='cfaflag'></span> in partnership with the <a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'>San Mateo County Human Services Agency</a>
Expand Down

0 comments on commit 06b3d84

Please sign in to comment.