content/system/classes
This item allows website classes to be overwritten, amended and created.
See Also
css-stylesExamples
Example#1 set the background colour of the website.
.Body {
background-color:[var,colors.main]
}
Example#2 set the burger menu bars to black.
.BurgerBar {
background-color:[var,colors.black]
}
Example#3 Black bars & OnHover black burger with white bars.
.BurgerBar {
background-color:[var,colors.black]
}
.Burger:hover {
background-color: [var,colors.black];
}
.Burger:hover .BurgerBar {
background-color: [var,colors.white];
}
Notes
[var,colors.black] & [var,colors.white] must be defined in content/system/variables
If your system/classes item gets too large & busy, split it into groups of classes using [include]:
[include,system/classes-header]
[include,system/classes-body]
[include,system/classes-footer]
Create a folder to hold them:
[include,system-classes/header]
[include,system-classes/body]
[include,system-classes/footer]