Here is some custom CSS for the wiki activity in Moodle.
This custom CSS code tries to style the wiki activity in moodle similar to the German Wikipedia
- Three easily distinguishable headlines (h3, h4, h5)
- Bottom border for h3 and h4 to seperate sections
- reduced font-weight
- margin between paragraphs
- Copy the content of the css-file
- Paste to Dashboard > Site administration > Appearance > Themes > Boost > Advanced Setting > Raw SCSS
The provided code will style all wiki activities on a moodle site.
Here is how you can style only one specific wiki activity:
- Right-click page > inspect
- Search for cmid-X (X is an id, for example "100")
- Replace all selectors in the CSS code:
Instead of
#page-mod-wiki-view #region-main h3, #page-mod-wiki-edit #region-main h3 {
Use this:
.cmid-x h3 {
Example for .cmid-100:
.cmid-100 h3 {
- 1.0
- Initial Release
Inspiration, code snippets, etc.