MediaWiki:Common.css

From Medalist Wiki
Revision as of 17:57, 6 February 2025 by Zhiktang (talk | contribs)

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.
/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}


.content-mode-selector {
    margin: 0 0 1em 0;
    padding: 0.25em 0.5em;
    border-bottom: 1px solid #c8ccd1;
}

.mode-toggle {
    cursor: pointer;
    color: #202122;
    padding: 0.25em 0;
}

.mode-options {
    display: none;
    margin-top: 0.5em;
}

.mode-options.visible {
    display: block;
}

.mode-option {
    display: block;
    padding: 0.25em 0;
    color: #0645ad;
    cursor: pointer;
    text-decoration: none;
}

.mode-option:hover {
    text-decoration: underline;
}

.mode-option.active {
    font-weight: bold;
    color: #202122;
}

/* Content marking styles */
.manga-content {
    border-left: 2px solid #36c;
    padding-left: 0.5em;
    margin: 0.5em 0;
}

.anime-content {
    padding-left: 0.5em;
    margin: 0.5em 0;
}