/* =========================================================================== Example theme --------------------------------------------------------------------------- Deliberately plain. It is a starting point, not a design. The bottom half of this file is the CSS CONTRACT: the classes the root pages emit in their own markup. Style those and every page of the site is readable, even the ones you never wrote a view for. Skip them and those pages render unstyled. =========================================================================== */ :root { --ex-bg: #14171d; --ex-panel: #1d222b; --ex-line: #2c333f; --ex-text: #dfe4ec; --ex-muted: #93a0b2; --ex-accent: #d1a233; --ex-radius: 6px; } * { box-sizing: border-box; } body { margin: 0; background: var(--ex-bg); color: var(--ex-text); font: 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; } a { color: var(--ex-accent); text-decoration: none; } a:hover { text-decoration: underline; } img { max-width: 100%; height: auto; } /* --------------------------------------------------------------- Chrome -- These belong to this theme's shell (shells/default.php). Rename them freely - nothing outside your theme refers to them. */ .ex-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 14px 24px; background: var(--ex-panel); border-bottom: 2px solid var(--ex-accent); } .ex-logo { font-size: 20px; font-weight: 700; color: #fff; } .ex-logo:hover { text-decoration: none; } .ex-nav { display: flex; flex-wrap: wrap; gap: 18px; } .ex-nav a { color: var(--ex-muted); font-size: 14px; } .ex-nav a:hover { color: var(--ex-accent); text-decoration: none; } .ex-main { max-width: 1100px; margin: 26px auto; padding: 0 20px; } .ex-footer { max-width: 1100px; margin: 40px auto 24px; padding: 18px 20px 0; border-top: 1px solid var(--ex-line); color: var(--ex-muted); font-size: 13px; } /* ============================================================ CSS CONTRACT Emitted by the root pages themselves, not by your theme. Every theme has to style these or those pages look broken. This is the whole list. ======================================================================== */ h1, h2, h3 { line-height: 1.25; margin: 1.4em 0 .6em; } h1 { font-size: 26px; } h2 { font-size: 20px; } /* Tables - highscores, guilds, deaths, online list, forum, ... */ table, .table, .znoteTable, .ThreadTable { width: 100%; border-collapse: collapse; margin: 14px 0; background: var(--ex-panel); border-radius: var(--ex-radius); overflow: hidden; } table td, table th { padding: 9px 12px; border-bottom: 1px solid var(--ex-line); text-align: left; } /* Header rows. Znote marks them with .yellow, not with