Add hacky bootstrap header fix for single post view.
This commit is contained in:
parent
149c812d03
commit
46d2240ed4
2 changed files with 17 additions and 1 deletions
15
app/assets/stylesheets/bootstrap-headerfix.sass
Normal file
15
app/assets/stylesheets/bootstrap-headerfix.sass
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue