MediaWiki:Documentation.css

From Coral Island Wiki
Revision as of 18:01, 30 December 2023 by Salty Nori (talk | contribs)
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(--brown-300);
}

.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;
    background-color: var(--gray-100);
    border-radius: 6px;
}

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

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

.template-documentation {
  border-radius: 6px;
}

.template-documentation .template-documentation-header, .template-documentation .template-documentation-footer, .doctable th.doc-header {
  border-color: var(--border);
  background-color: var(--gray-100);
}

.template-documentation .template-documentation-header {
  border-radius: 6px 6px 0 0;
}

.template-documentation .template-documentation-footer {
  border-radius: 0 0 6px 6px;
}