MediaWiki:Documentation.css

From Coral Island Wiki
Revision as of 08:48, 21 December 2023 by Salty Nori (talk | contribs) (Created page with "→‎Requires u:dev:MediaWiki:Module:Documentation.css loaded first: .doctable { border: none; } .doctable th.doc-header { padding: 15px; background-color: var(--theme-page-background-color--secondary); } .doctable tr.links td { padding: 0; } .doctable tr.links td a, .doctable tr.links td .mw-selflink { padding: 5px; display: block; font-size: 1rem; text-align: center; text-decoration: none; transition: 0.1s; font-weight: 5...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Requires u:dev:MediaWiki:Module:Documentation.css loaded first */
.doctable {
    border: none;
}

.doctable th.doc-header {
    padding: 15px;
    background-color: var(--theme-page-background-color--secondary);
}

.doctable tr.links td {
    padding: 0;
}

.doctable tr.links td a, .doctable tr.links td .mw-selflink  {
    padding: 5px;
    display: block;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: 0.1s;
    font-weight: 500;
}

.doctable tr.links td .mw-selflink {
    background-color: var(--theme-accent-color);
}

.theme-fandomdesktop-dark .doctable tr.links td .mw-selflink,
.theme-fandomdesktop-dark .doctable tr.links td a:hover{
    color: var(--theme-alt-text);
}

.doctable tr.links td a {
    background-color: var(--theme-tab-inactive);
    color: var(--theme-page-text-color);
}

.doctable tr.links td a:hover {
    background-color: var(--theme-accent-color);
    transition: 0.3s;
}

.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
    border-color: #a1cebf;
    background-color: #EEEEEE1a;
}