The core has no styles
So you can take advantage of the core functionality and create your own ultra custom theme.
To achieve this crystallo uses data-attributes for the core functionality and you can use your class / id to add an awesome styling. Or you create a custom crystallo theme to reuse the data-attributes as a replacement for the class-jungle.
More about data-attributes
If you think data-attributes is some JavaScript only voodoo you should read Data attributes rock – as both CSS and JavaScript know them by Christian Heilman or the W3C attribute selector specification.
Get into the dark woods!
There are just three predefined attributes which affect the whole body.
data-max-width (px)
- none [default]
- 860
- 1024
- 1152
- 1280
- 1400
- 1600
- 2048
- 3200
- 4000
data-theme
The core has no style, so we need themes! Right?
- none [default]
- minimal
- your custom theme here?
data-auto-extend
Even if data-max-width is specified, auto extend the body to the next size.
- false [default]
- true
<body data-max-width="1400" data-theme="minimal" data-auto-extend="true"> </body>