MediaWiki:Common.css: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 44: Line 44:
     border-color: #ccc;
     border-color: #ccc;
}
}
/* Support for on-hover card popups */


span.card-popup {
span.card-popup {
Line 67: Line 65:


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


* {
span.debt-icon img {
   color: red !important;
   vertical-align: sub;
}
 
.mw-mmv-image-metadata {
display: none;
}
 
.hidesection-link,
.hidesection-all {
padding-left: 2px;
}
}

Latest revision as of 06:23, 16 September 2024

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

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 {
  vertical-align: text-bottom;
  padding-left: 2px;
}

span.debt-icon img {
  vertical-align: sub;
}

.mw-mmv-image-metadata {
	display: none;
}

.hidesection-link,
.hidesection-all {
	padding-left: 2px;
}