MediaWiki:Common.css

From Medalist Wiki
Revision as of 17:56, 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-toggle {
    margin-bottom: 1em;
}

#content-mode-toggle .vector-menu-heading {
    cursor: pointer;
    border-bottom: 1px solid #c8ccd1;
    padding: 0.5em 0;
}

#content-mode-toggle .vector-menu-content {
    display: none;
    background: #ffffff;
    border: 1px solid #c8ccd1;
    border-radius: 2px;
    padding: 0.5em 0;
}

#content-mode-toggle.vector-menu-expanded .vector-menu-content {
    display: block;
}

#content-mode-toggle .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content-mode-toggle .menu li a {
    display: block;
    padding: 0.25em 1em;
    color: #202122;
    cursor: pointer;
}

#content-mode-toggle .menu li:hover a {
    background: #eaecf0;
    text-decoration: none;
}

#content-mode-toggle .menu li.active a {
    background: #eaf3ff;
    color: #36c;
    font-weight: bold;
}

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

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