diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-06 16:18:38 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-06 16:18:38 +0000 |
commit | f0bf8ca2d12bf9ce4d562ca3e29bcfba1d0e3f77 (patch) | |
tree | 7de40dae48b819359ec6fde49cc403ca07a0d725 /web/cobrands/stevenage/base.scss | |
parent | 6786ed969de0ce620c70a576010b0abf99404311 (diff) |
Remove forked fonts and base CSS from Stevenage.
Revert Stevenage's base stylesheet to inherit from FixMyStreet's,
removing any unnecessary forked files, but leaving in the font overrides
and change of front page button colour.
Fix the $primary_text colour to be visible over $primary (this then
removes the need for the colour override of the base part of 1162d5c8).
Diffstat (limited to 'web/cobrands/stevenage/base.scss')
-rw-r--r-- | web/cobrands/stevenage/base.scss | 52 |
1 files changed, 49 insertions, 3 deletions
diff --git a/web/cobrands/stevenage/base.scss b/web/cobrands/stevenage/base.scss index b1ceac384..cca8e7d9c 100644 --- a/web/cobrands/stevenage/base.scss +++ b/web/cobrands/stevenage/base.scss @@ -1,8 +1,54 @@ -@import "h5bp"; +@import "../fixmystreet/h5bp"; @import "colours"; -@import "../fixmystreet/_mixins"; +@import "../fixmystreet/mixins"; @import "compass"; -@import "fmsbase"; +@import "../fixmystreet/base"; + @import "council_header"; +// Front page button colour +#front-main { + #postcodeForm { + div { + input#submit { + color: #fff; + background: $primary; + &:hover { + background: lighten($primary, 10%); + } + } + } + } +} + +// Override all the fonts. Bit yucky, but will do for now. + +body, small, textarea, .meta-2, h4.static { + font-family: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; +} + +h1, h2 { + font-family: 'PTSansCaptionRegular', "PT Sans Caption", Verdana, Arial, sans-serif; +} + +ol.big-numbers > li:before { + font-family: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; +} + +.shadow-wrap ul#key-tools li { + a, input[type=submit] { + font-family: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; + } +} + +#front-main { + h2, #postcodeForm, a#geolocate_link { + font-family: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; + } +} + +#front-howto #front_stats { + font-family: 'PTSansRegular', "PT Sans", Verdana, Arial, sans-serif; +} + |