WikilyWIKILY
All games8 Wikis · pick your game
Menu

Documentation

Wiki CSS and Sidebar CSS

Updated 2026-07-23

Per-element rules are perfect for one-offs. The moment you want the same look on many elements, a central stylesheet is the answer: define it once, apply it by name everywhere.

Two stylesheets, two jobs

Wiki CSSEvery page and every block. Open it from the layout editor top bar, on the Page tab, or via Manage.
Sidebar CSSOnly the sidebar: nav rows, headings, the active pill. Its own button on the Sidebar tab.

Both take normal CSS with selectors and braces, like .gold-frame { border: 2px solid gold; }. This is the one place you write full rules rather than bare pairs.

Shared classes: define once, reuse anywhere

The bridge is the CSS class field at the bottom of every Custom CSS panel. Name an element, define that class centrally, and every element carrying the name updates together.

The CSS class field suggests only classes that actually exist in your central CSS. Click one to apply or remove it, or jump straight into the stylesheet editor.
  1. Open an element Custom CSS section and click the CSS class field.
  2. The dropdown lists every class that actually exists in the matching stylesheet.
  3. Click a class to apply it, click again to remove it. Several can stack.
  4. No class yet? The Edit wiki CSS button jumps straight into the editor.

The suggestions are never guesses. Page blocks list Wiki CSS classes; sidebar elements list Sidebar CSS classes. An empty dropdown means the stylesheet has no classes yet.

The code editor

Both stylesheets open in the same full-size editor: line numbers, syntax colours, autocomplete, and live error checking that underlines mistakes with the line they are on.

FormatTidies the whole sheet.
Auto-fix on saveA stray colon after a selector, a missing semicolon, an unclosed brace: repaired for you.
Insert ruleReady-made hooks for card titles, button pills and the other named parts, so you never hunt for selectors.
Live previewThe canvas shows your CSS on the real page before you save.
Rules for one blockStyle an element
The overviewCustom CSS
Building the sidebarNavigation and the home page