ComboStrap Styling - User stylesheet (userstyle.css)
Table of Contents
Userstyle
This functionality gives the possibility to the web designers to create their own CSS rules in a custom stylesheet in order to tune the theme exactly to their needs.
This level is a standard function of Dokuwiki and is most known under the term userstyle
Dokuwiki will automatically read this stylesheet and add them into your page.
This gives the possibility to tune any component.
More see devel:css
Class
Every component got two generated class
element-combo
element-type-combo
For instance, for a badge with the type primary, you will get the class:
badge-combo
badge-primary-combo
This classes permits to select the component by type and applies styling accordingly.
Example
To add custom style, you could create the $DOKUWIKI_HOME/conf/userstyle.css file with CSS rules.
- on primary badge to change the text color:
badge-primary-combo{
color: #333 !important;
}
- on the file component
code.combo_file{
color: #333 !important;
}
pre.combo_file{
background-color: #e9ecef !important;
}