diff --git a/app/assets/stylesheets/bootstrap-headerfix.sass b/app/assets/stylesheets/bootstrap-headerfix.sass new file mode 100644 index 000000000..ba97345f1 --- /dev/null +++ b/app/assets/stylesheets/bootstrap-headerfix.sass @@ -0,0 +1,15 @@ +// A temporary fix for displaying the header in the single post view. +// Should be removed once everything uses Bootstrap. + +header + .container + width: 950px + .header-nav + span + a + font-weight: bold + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif + font-size: 13px + li + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif + font-size: 13px diff --git a/app/helpers/layout_helper.rb b/app/helpers/layout_helper.rb index 3b7c716ac..1053b1ca6 100644 --- a/app/helpers/layout_helper.rb +++ b/app/helpers/layout_helper.rb @@ -56,7 +56,8 @@ module LayoutHelper def include_base_css_framework(use_bootstrap=false) if use_bootstrap || @aspect == :getting_started - stylesheet_link_tag 'bootstrap-complete' + stylesheet_link_tag('bootstrap-complete') + + stylesheet_link_tag('bootstrap-headerfix') else stylesheet_link_tag 'blueprint', :media => 'screen' end