MediaWiki:Common.css

From Dea7hsmiles
Revision as of 16:32, 19 May 2025 by Dea7hsmiles (talk | contribs) (Replaced content with "Infobox styling like Dolphin Wiki: .infobox { float: right; clear: right; margin: 0 0 1em 1em; padding: 0.5em; width: 250px; background-color: #f9f9f9; border: 1px solid #aaa; font-size: 90%; line-height: 1.5em; } Table of contents styling: .toc { border: 1px solid #aaa; background-color: #f8f9fa; padding: 10px; font-size: 95%; margin-bottom: 1em; } Headings: h1, h2, h3 { border-bottom: 1px...")
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Infobox styling like Dolphin Wiki */
.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 250px;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    font-size: 90%;
    line-height: 1.5em;
}

/* Table of contents styling */
.toc {
    border: 1px solid #aaa;
    background-color: #f8f9fa;
    padding: 10px;
    font-size: 95%;
    margin-bottom: 1em;
}

/* Headings */
h1, h2, h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

/* Improve line spacing */
body, .mw-body-content {
    line-height: 1.6;
}

/* Optional: remove sidebar collapse icon */
.vector-menu-heading .mw-ui-icon {
    display: none;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}