Dokuwiki - FAQ Installation / Erstinstallation - Eigenes Userstyle anlegen

Problem:
Ich möchte (z.B.) die Überschriften in Dokuwiki in einer anderen Farbe, Schriftgröße etc. formatieren.

Lösung:
Nehmen Sie dazu einfach Ihre eigenen Änderungen im Ordner „conf“ in der Datei „userstyle.css“ vor. Diese Datei bleibt bei einem Upgrade unverändert. Denken Sie auch daran ggf. die Logo-Dateien anzupassen.

Beispiel einer Änderung in der userstyle.css:

userstyle.css
div.dokuwiki h1 {
  font-weight: bold;
  color: #286DA8;
  font-size: xx-large;
  margin-bottom: 4px;
}
 
div.dokuwiki h2 {
  font-weight: bold;
  color: #696969;
  font-size: x-large;
  margin-bottom: 4px;
}
 
div.dokuwiki h3 {
  font-weight: bold;
  color: #696969;
  font-size: large;
  margin-bottom: 4px;
}
 
div.dokuwiki h4 {
  font-weight: bold;
  color: #696969;
  font-size: large;
  margin-bottom: 4px;
}