MediaWiki:Common.css

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

.mode-nav-item {
    position: relative;
    /* Ensure this matches other navigation items */
    padding: 0.5em 0;
}

.mode-text {
    cursor: pointer;
    color: #54595d;
}

.mode-text:hover {
    color: #202122;
}

.mode-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 120px;
}

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

.mode-option {
    display: block;
    padding: 6px 12px;
    color: #202122;
    text-decoration: none;
}

.mode-option:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

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

/* 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;
}