MediaWiki:Common.css

From DominionStrategy Wiki
Revision as of 04:35, 16 September 2024 by Wikiwikiwiki (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 */

.dottedBottom {
    border-bottom: 1px dotted black;
}

#mw-panel {
    position: fixed !important;
}

div#mw-panel div.portal {
    padding-bottom: 0.2em;
}

div#mw-panel {
    padding-top: 0em;
    line-height: 0.7em;
}

.switchsort {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;

    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

/* Support for on-hover card popups */

span.card-popup {
  position: relative;
}

span.card-popup a + span,
span.card-popup strong.selflink + span {
  position: absolute;
  top: 20px;
  left: 20px;
  visibility: hidden;
  z-index: -1;
}

span.card-popup a:hover + span {
  visibility: visible;
  height: auto;
  z-index: 1;
}

span.coin-icon img,
span.debt-icon img {
  vertical-align: text-bottom;
  padding-left: 2px;
}