MediaWiki:Common.css

From Deadlock Wiki
Revision as of 18:17, 6 September 2024 by DuskFyre (talk | contribs)
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)
  • 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 */
.ability-icon {
     filter: invert(100%);
     opacity: 0.7;
}

.navbox-title .navbar {
    float: left;
    text-align: left;
    margin-right: 0.5em;
}

.navbox .navbar {
    display: block;
    font-size: 100%;
}

.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}

.navbar.mini li abbr[title] {
    font-variant: small-caps;
    border-bottom: none;
    text-decoration: none;
    cursor: inherit;
}

.mw-body-content .navbar ul {
    line-height: inherit;
}

.navbar ul {
    display: inline-block;
    white-space: nowrap;
}

.hlist dl, .hlist ol, .hlist ul {
    margin: 0;
    padding: 0;
}

.mw-body h1, .mw-body-content h1, .mw-body-content h2, .mw-body-content h3, .mw-body-content h4, .mw-body-content h5, .mw-body-content h6 {
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif !important;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.page-Deadlock_Wiki .mw-parser-output {
    max-width: 95em;
    margin: 0 auto;
}

.mainpage-header .header-stats {
    flex: 1;
    display: flex;
/*    justify-content: center; */
    align-items: center;
    margin-top: -1em;
}

.mainpage-header .header-stats ul {
    list-style: none;
}

.tooltip {
    cursor: help;
    border-bottom: 1px dotted;
}

.HeroCard2:hover {
	transform: scale(1.1);
	z-index: 2;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 250px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}

.navbox {
    display: table !important;
}

table {
  display: table !important;
}
/*CSS for ability hover images*/
.hide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hover-to-show:hover + .hide {
    display: block;
    position: fixed;
    width: 600px;
    z-index: 2;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}