-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb971a2
commit 036feb9
Showing
32 changed files
with
181 additions
and
200 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,45 @@ | ||
# STARRRT | ||
# StarrrtCSS | ||
|
||
Object-oriented CSS boilerplate built on top of [PostCSS](http://postcss.org/) and [cssnext](http://cssnext.io/). | ||
|
||
## Usage | ||
|
||
Read the docs [here](https://felixdorner.github.io/starrrtcss/). | ||
|
||
## Contributing | ||
|
||
Contributions are welcome: | ||
|
||
- Report bugs and make feature requests via the issue tracker | ||
- Report bugs and make feature requests via the [issue tracker](https://github.com/felixdorner/starrrtcss/issues) | ||
- Please ask first before working on any significant pull request | ||
|
||
### Install Dependencies | ||
|
||
[Yarn](https://yarnpkg.com/) is used to manage front-end packages and task automation. From the command line on your host machine, navigate to the directory then run `yarn`. | ||
[Yarn](https://yarnpkg.com/) is used to manage front-end packages and task automation. After you forked the project navigate to the directory from the command line on your host machine, then run `yarn`. | ||
|
||
### Build Commands | ||
|
||
`yarn watch` — Compile assets when file changes are made, copy dist files to docs | ||
`yarn build` — Compile assets, copy dist files to docs | ||
|
||
### Working on the docs | ||
|
||
The docs are build with [Jekyll](https://jekyllrb.com/). Navigate to the /docs directory from the command line on your host machine, then run `jekyll serve`. | ||
|
||
### Versioning | ||
|
||
[SemVer](http://semver.org/) is used for versioning. | ||
|
||
## Author | ||
|
||
**Felix Dorner** | ||
*Design and development* | ||
|
||
- [Website](https://felixdorner.de) | ||
- [Twitter](https://twitter.com/felixdorner) | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](https://github.com/felixdorner/starrrtcsss/blob/master/LICENSE) file for details. | ||
|
||
Copyright © 2017-2018 Felix Dorner, All Rights Reserved. |
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 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<footer class="o-container c-footer u-pa--00b"> | ||
<div class="o-grid"> | ||
<div class="o-grid__col u-span--12"> | ||
<p>Code license MIT / Docs copyright ©{{ 'now' | date: "%Y" }} <a href="https://felixdorner.de/">Felix Dorner</a>, all rights reserved.</p> | ||
<p>StarrrtCSS is licensed under the MIT License / Copyright ©{{ 'now' | date: "%Y" }} <a href="https://felixdorner.de/">Felix Dorner</a>, all rights reserved.</p> | ||
</div> | ||
</div> | ||
</footer> |
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Architecture | ||
slug: architecture | ||
--- | ||
|
||
One of the main aspects of StarrrtCSS is to encourage a sane and scalable CSS architecture. Therefor styles are grouped into the following categories: | ||
|
||
1. Settings | ||
2. Base | ||
3. Objects | ||
4. Components | ||
5. Utilities | ||
|
||
### Settings | ||
|
||
The settings file contains global configurations like variables and breakpoints which are shared across the system. | ||
|
||
### Base | ||
|
||
Base styles are the default styles of base elements without ID or class selectors. | ||
|
||
### Objects | ||
|
||
Objects are class-based selectors which define undecorated design patterns like containers or grids. They provide structure to your page and do not contain any cosmetic CSS. | ||
|
||
### Components | ||
|
||
Components are UI elements. They consist mostly of cosmetic CSS but can also incorporate structural rules if they only affect the corresponding component itself. | ||
|
||
### Utilitis | ||
|
||
Utilities are high-specificity, very explicit classes. They are used as overrides or for rapid prototyping. |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Example | ||
slug: example | ||
--- | ||
|
||
Here is a section with a centered grid and two responsive columns: | ||
|
||
``` | ||
├── .o-container | ||
│ ├── .o-grid | ||
│ │ ├── .o-grid__col u-span--12 u-span--06m u-span--06l | ||
│ │ ├── .o-grid__col u-span--12 u-span--06m u-span--04l | ||
``` | ||
|
||
*Note: Spans overwrite each other from small to large breakpoints.* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Extending | ||
slug: extending | ||
--- | ||
|
||
StarrrtCSS is no dev dependency but a boilerplate to start with. Therefor, it can be changed or adjusted at any stage of your project. It is highly recommended to use the [BEM class naming approach](http://getbem.com/naming/) to keep things consistent. |
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
Oops, something went wrong.