Created
July 7, 2013 10:16
-
-
Save alnutile/5943019 to your computer and use it in GitHub Desktop.
Refinery CMS and twitterbootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
=require twitter-bootstrap-static/bootstrap | |
Use Font Awesome icons (default) | |
To use Glyphicons sprites instead of Font Awesome, replace with "require twitter-bootstrap-static/sprites" | |
=require twitter-bootstrap-static/fontawesome | |
*/ | |
@media (min-width: 980px) { | |
body { | |
padding-top: 85px; | |
} | |
.sitebar.navbar.navbar-fixed-top { | |
top: 40px; | |
} | |
} | |
@media (max-width: 979px) { | |
.navbar-fixed-top { | |
margin-bottom: 0px; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//config/initializers/refinery/core.rb | |
# CSS class selectors for menu helper | |
config.menu_css = {:selected=>"active", :first=>"first", :last=>"last"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="span8"> | |
<%=raw @page.content_for(:body) %> | |
</div> | |
<div class="span4"> | |
<%=raw @page.content_for(:side_body) %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment