MediaWiki:Common.css

From Medalist Wiki
Revision as of 18:12, 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;
}





#p-navigation .body {
    position: relative;
}

.version-toggle {
    border-top: 1px solid #c8ccd1;
    padding: 12px 8px;
    margin-top: 6px;
}

.version-toggle-label {
    color: #54595d;
    font-size: 0.85em;
    margin-bottom: 6px;
}

.version-toggle-buttons {
    display: flex;
    gap: 4px;
}

.version-button {
    flex: 1;
    padding: 4px;
    font-size: 0.85em;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    color: #202122;
}

.version-button.active {
    background: #eaf3ff;
    border-color: #36c;
    color: #36c;
    font-weight: bold;
}

.manga-content, .anime-content {
    display: none;
}

.show-manga .manga-content,
.show-anime .anime-content {
    display: block;
}