Last active
December 12, 2015 08:08
-
-
Save w33ble/4741463 to your computer and use it in GitHub Desktop.
Stylus import workflow
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
// This is just the stylesheet from semantic.gs, with the body style removed |
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
@import "grid" | |
// Make the site responsive | |
total-width: 100% | |
// Any other site stylus variables will live here | |
// We will always import this styl file |
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
@import "main" //import site variables, including semantic.gs | |
@import "lib/normalize.css" | |
// Main stylesheet, included on each page load | |
// Responsive hiding stuff taken from bootstrap goes here | |
body | |
// body styles from semantic.gs placed here | |
width: 100% | |
clearfix() | |
// site specific styles go here | |
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif | |
// Any other global site styles (think bootstrap's base.css, which you could also just import at the top directly) |
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
// This is the style for the index page, which we can load dynaically via backbone/require | |
@import "main" | |
#some-element | |
column(8) //use some grid system goodness | |
background-color: red | |
#another-element | |
column(4) | |
background-color: blue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment