https://github.com/coderiver/nivki
https://github.com/coderiver/nivki
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coderiver/nivki
- Owner: coderiver
- Created: 2015-05-05T12:13:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-07T07:09:16.000Z (about 11 years ago)
- Last Synced: 2025-03-25T08:28:05.664Z (about 1 year ago)
- Language: CSS
- Size: 941 KB
- Stars: 0
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sass Boilerplate for generic CSS/HTML
=============
Coderiver.com.ua boilerplate.
I'm using this as a starting template for almost any project now.
It includes sprites, assorted mixins (aka code snippets), file structure, jquery+cycle+scrollto (most usable these days).
And, that's it.
You need to have Compass installed for it to work properly.
Structure
=============
`/sass/lib/base` - all the mixins and libs needed for us.
`/sass/screen.sass` - agregates all .sass files.
`/sass/main.sass` - styles for the mainpage.
Naming blocks
=============
I use BEM naming, meaning `.block` for independent block. `.block__element` for elements inside that block. And `.block_modification` for modification of the block.
`layouts.sass` consists of all the columns-header-footer stuff, all with `.l-*` prefixes. So you know its layout.
States of the blocks use prefix `.is-*`. For example `.is-running`, `.is-hidden`, `.is-open`.
Hooks for js should use prefix `.js-*`.