Add hacky bootstrap header fix for single post view.

This commit is contained in:
Roger Braun 2013-08-14 23:25:58 +02:00
parent 149c812d03
commit 46d2240ed4
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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