MediaWiki:Mobile.css: Difference between revisions

33,314 bytes added ,  14:50, 3 July 2022
inventory pop table formatting
m (gif player height fix (avoid covering the bottom of large tiles))
(inventory pop table formatting)
 
(32 intermediate revisions by 2 users not shown)
Line 150: Line 150:
.qud-animated-image-wrap .qud-toggle-for-gif {
.qud-animated-image-wrap .qud-toggle-for-gif {
   position: absolute;
   position: absolute;
   top: 4px;
   top: 0px;
   right: 4px;
   right: 0px;
   font-size: 11px;
   font-size: 11px;
  z-index: 10;
   font-family: "Open Sans";
   font-family: "Open Sans";
}
}
Line 186: Line 187:
}
}
.qud-infobox-animated-image {
.qud-infobox-animated-image {
   height: 356px; /* extra room to hold gif-play-controls */
   height: 386px; /* extra room to hold gif-play-controls */
}
}
.gif-play-controls {
.gif-play-controls {
Line 239: Line 240:


.qud-infobox-animated-image-initial,
.qud-infobox-animated-image-initial,
.qud-infobox-carousel-static-image,
.qud-infobox-animated-image {
.qud-infobox-animated-image {
   display: inline-block;
   display: inline-block;
Line 245: Line 247:
}
}
.qud-infobox-animated-image-initial img,
.qud-infobox-animated-image-initial img,
.qud-infobox-carousel-static-image img,
.qud-infobox-animated-image img {
.qud-infobox-animated-image img {
   width: 150px;
   width: 160px;
}
}
.qud-infobox-animated-image .qud-html-summary {
.qud-infobox-animated-image .qud-html-summary {
Line 295: Line 298:
   z-index: 1;
   z-index: 1;
   display: unset;
   display: unset;
}
/* CAROUSEL STYLES */
.qud-carousel-title {
  height: 0px; /* javascript expands this to 25px */
  font-size: 16px;
  line-height: 25px;
  color: var(--qud-color-k);
  overflow: hidden;
}
.qud-sprite-carousel {
  position: relative;
}
.qud-sprite-carousel > .qud-carousel-item {
  display: block;
}
.qud-sprite-carousel > .qud-carousel-item ~ .qud-carousel-item {
  display: none; /* applied to all but the first .qud-carousel-item */
}
.qud-carousel-left,
.qud-carousel-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  z-index: 5;
  font-size: 38px;
  width: 18%;
  height: 240px;
}
.qud-carousel-left {
  left: 0;
}
.qud-carousel-right {
  right: 0;
}
.qud-carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60%;
  width: 100%;
  cursor: pointer;
  color: var(--qud-color-k-dark);
  color: rgba(108, 180, 122, 0.2);
  transition: color 0.3s ease-out;
}
.qud-carousel-btn:hover {
  color: var(--qud-color-k);
  color: rgba(108, 180, 122, 0.5);
}
/*
*  QUD SUBTYPE INFOCARD
*  ====================
*  Styles to supplement [[Template:Subtype infocard]] for smaller screens.
*  Note that these use !important more than I'd usually like, because they
*  need to override inline styles applied by the template.
*/
@media screen and (max-width: 1599px) {
    .subtype-infobox {
    width: unset !important;
        max-width: 780px !important;
    }
    .subtype-items {
        flex: 0 0 100% !important;
        flex-wrap: wrap !important;
    }
}
@media screen and (max-width: 900px) {
  .subtype-title {
    flex-wrap: wrap;
      justify-content: center;
      padding: 0.2em 0 !important;
  }
  .subtype-title > div:first-child {
      flex: 0 0 100%;
  }
  .subtype-title > div:nth-child(2) {
      color: var(--qud-color-k) !important;
  }
  .subtype-title div {
      flex-grow: 1;
      text-align: center;
      padding: 0 !important;
  }
  .subtype-image, .subtype-bonus-box {
      flex: 0 0 50%;
      justify-content: center;
      margin-right: 0 !important;
  }
  .subtype-skill-box {
      margin: auto;
      flex: 0 0 90%;
      padding: 0 !important;
  }
  .subtype-items-list ul {
      display: flex !important;
      flex-wrap: wrap;
  }
  .subtype-items-list ul li {
      flex: 0 0 100% !important;
  }
  .subtype-equip-list, .subtype-items-list {
      width: 100%;
      padding: 1em !important;
      text-align: center;
  }
  .subtype-equip-list ul, .subtype-items-list ul {
      list-style-type: none;
      margin: 0 !important;
  }
  .subtype-equip-list div, .subtype-items-list div {
      padding: 0 !important;
  }
  .subtype-footnote {
      justify-content: center !important;
  }
}
@media screen and (max-width: 550px) {
  .subtype-image, .subtype-bonus-box {
      flex: 0 0 100%;
      max-width: unset !important;
      margin: 0;
  }
  .subtype-bonus-box {
      text-align: center;
      height: unset !important;
      padding: 1em 0 !important;
  }
  .subtype-bonus-box div {
      position: static !important;
  }
}
}
/*
/*
Line 339: Line 474:
b {
b {
   font-weight: 700; /* fix for firefox additive bolding when there are multiple nested <b> tags */
   font-weight: 700; /* fix for firefox additive bolding when there are multiple nested <b> tags */
}
/*
*  QUD INFOBOX VERSION INFO
*  ========================
*/
.qud-infobox-version {
    border-top: var(--infobox-border);
    padding-top: 7px;
    margin-top: 5px;
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    font-family: var(--qud-font-infobox-content);
    color: var(--qud-color-y-dark);
    opacity: 0.8;
}
.qud-infobox-version > .qud-version-num {
    font-weight: bold;
}
}
/*  
/*  
Line 346: Line 499:
.qud-tooltip {
.qud-tooltip {
   position: relative;
   position: relative;
  z-index: 11;
}
}
.qud-tooltip .qud-tooltip-text {
.qud-tooltip .qud-tooltip-text {
Line 363: Line 517:
   margin-left: -60px; /* half of the width */
   margin-left: -60px; /* half of the width */
   border: 1px solid rgba(177,201,195,0.1);
   border: 1px solid rgba(177,201,195,0.1);
}
.qud-quote-box .qud-tooltip-text { /* additional adjustment for qud quote boxes */
    font-family: 'Open Sans';
    font-weight: normal;
    font-size: calc(0.23em + 9px);
}
}
.qud-tooltip .qud-tooltip-text.qud-tooltip-wide {
.qud-tooltip .qud-tooltip-text.qud-tooltip-wide {
Line 378: Line 537:
.qud-tooltip-ulabel { /* apply ulabel class for dotted underline on tooltip word */
.qud-tooltip-ulabel { /* apply ulabel class for dotted underline on tooltip word */
   text-decoration: underline dotted rgba(177,201,195,0.7);
   text-decoration: underline dotted rgba(177,201,195,0.7);
}
.qud-quote-box .qud-tooltip-ulabel { /* additional adjustment for qud quote boxes */
    text-underline-position: under;
}
}
/* extend-line style uses dynamic width extending rightward from tooltip text (instead of fixed width centered tooltip) */
/* extend-line style uses dynamic width extending rightward from tooltip text (instead of fixed width centered tooltip) */
Line 421: Line 583:
.qud-tooltip.mobile-visible:focus .qud-tooltip-ulabel {
.qud-tooltip.mobile-visible:focus .qud-tooltip-ulabel {
   text-decoration-color: var(--qud-color-c);
   text-decoration-color: var(--qud-color-c);
}
.qud-tooltip-text code {
    /* override code style in tooltips */
    border: 1px solid var(--qud-color-k-dark);
    padding: 0px 3px 1px 3px;
    font-size: 100%;
}
/*
*  QUD INLINE GIF PLAYER
*  =====================
*/
.qud-inline-gif {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.qud-inline-gif-mask {
  z-index: 1;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--qud-bg-color-semidark);
}
.qud-inline-gif-mask > span {
  color: var(--qud-color-k-dark);
  font-weight: bold;
  font-family: var(--qud-font-terminal1);
  font-size: 18px;
  background: var(--qud-color-y);
  height: 44px;
  width: 44px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qud-inline-gif .qud-invisible {
  display: none;
}
.qud-inline-gif-wrap {
    display: inline-block;
    padding: 4px 4px 2px 4px;
    border: var(--infobox-border);
}
.qud-inline-gif-label {
    margin-top: 2px;
    text-align: right;
    font-size: 80%;
    opacity: 0.5;
}
/*
*  QUD WILLPOWER/COOLDOWN TABLES
*  =============================
*/
.willpower-cooldown-table {
    border-collapse: collapse;
}
.willpower-cooldown-table td,
.willpower-cooldown-table th {
    padding: 0.3em 0.5em;
    text-align: center;
    background-color: var(--qud-bg-color-darker);
    border-bottom: none;
    border-top: none;
    color: var(--wikitable-color);
}
.willpower-cooldown-table th {
    border-bottom: 2px solid var(--qud-color-y-dark);
}
.willpower-cooldown-table .cd-wi-cell {
    border-bottom: var(--wikitable-border);
}
.willpower-cooldown-table .cd-wi-cell,
.willpower-cooldown-table .cd-wi-header {
    background: var(--wikitable-background);
}
.willpower-cooldown-table tr:last-child .cd-wi-cell {
    border-bottom: none;
}
.willpower-cooldown-table .cd-cd-cell {
    font-weight: bold;
    background-color: var(--wikitable-header-background);
    color: var(--wikitable-header-color);
    border-right: 2px solid var(--qud-color-y-dark);
    border-left: var(--wikitable-border);
}
.willpower-cooldown-table .cd-cd-cell:last-child {
    border-right: none;
}
.willpower-cooldown-table .cd-cd-header {
    border-right: 2px solid var(--qud-color-y-dark);
    border-left: var(--wikitable-border);
    background: var(--wikitable-header-background);
}
.willpower-cooldown-table .cd-cd-header:last-child {
    border-right: none;
}
.cd-wi-32-cell {
    position: relative;
}
.cd-wi-32-cell:after {
    position: absolute;
    content:'+';
    font-size: 0.7em;
    top:45%;
    bottom:55%;
    display:flex;
    right:2px;
    line-height: 0;
}
}
/*
/*
Line 705: Line 978:
.qud-attribute-eg { color: var(--qud-color-m); }
.qud-attribute-eg { color: var(--qud-color-m); }
.qud-attribute-ma { color: var(--qud-color-y-dark); }
.qud-attribute-ma { color: var(--qud-color-y-dark); }
.qud-character-xp {
    text-align: center;
    position: relative;
    height:1.8em;
    margin-top: 0.4em;
}
.qud-xp-wrapper {
    color: var(--qud-color-y-dark);
    padding: 0 1em 0 1em;
    font-family: var(--qud-font-terminal1);
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    font-size: 1.3em;
    transition: all 0.1s;
    transform: perspective(1px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.qud-xp-wrapper:hover {
    transform: scale(1.08,1.08);
    transition-delay: 0.35s;
}
.qud-xp-label, .qud-xp-value {
    display: inline-block;
    padding-right: 0.45em;
}
.qud-xp-value {
    color: var(--qud-color-c);
}
.qud-stat-details-entry .qud-xp-table-header {
    color: var(--qud-color-k);
    width: 72%
}
.qud-stat-details-wrapper.xp-stat-details {
    margin: 0.9em 10% 0.5em 10%;
    width: 80%;
}
.qud-stat-details-wrapper.xp-stat-details .qud-stat-details-entry > div {
    border-left:0;
}
/*  
/*  
  *  QUD CHARACTER - DETAILED ATTRIBUTES
  *  QUD CHARACTER - DETAILED ATTRIBUTES
Line 874: Line 1,189:
}
}


/* INVENTORY: POPULATION TABLES */
.qud-inv-poptable-icon {
    font-family: var(--qud-font-terminal1);
    font-weight: bold;
    font-size: 1.25em;
    display: inline-block;
    margin: 0 5px;
    line-height: 1.5em;
}


/* INVENTORY: INLINE WEAPON STATS */
/* INVENTORY: INLINE WEAPON STATS */
Line 1,052: Line 1,376:
.qud-max-pv {
.qud-max-pv {
   color: var(--qud-color-k);
   color: var(--qud-color-k);
}
/*
*  QUD WORLD MAP NUMBER OVERLAY
*  ============================
*/
.world-map-tier-overlay,
.world-map-tier-overlay:after,
.world-map-tier-overlay .numeric-tier-rows,
.world-map-tier-overlay img {
    width: 72vw;
    height: 33.75vw; /* width / 2.133333333 */
}
.world-map-tier-overlay {
    position: relative;
}
.world-map-tier-overlay .numeric-tier-rows,
.world-map-tier-overlay a,
.world-map-tier-overlay:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.world-map-tier-overlay:after {
    background: rgba(255, 255, 255, 0.14);
    z-index: 1;
    content: '';
}
.world-map-tier-overlay .numeric-tier-rows {
    display: grid;
    grid-auto-rows: 1fr;
    left: 0.178vw;
    top: 0.178vw;
    line-height: 1;
    letter-spacing: 0.178vw;
    font-family: 'Source Code Pro';
    font-weight: 700;
    font-size: 1.2vw;
    color: rgba(0, 0, 0, 0.9);
    z-index: 2;
}
@media only screen and (max-width: 720px) {
    .world-map-tier-overlay {
        margin: auto;
    }
    .world-map-tier-overlay,
    .world-map-tier-overlay:after,
    .world-map-tier-overlay .numeric-tier-rows,
    .world-map-tier-overlay img {
        width: 90vw;
        height: 42.1875vw; /* width / 2.133333333 */
    }
    .world-map-tier-overlay .numeric-tier-rows {
        letter-spacing: 0.406vw;
        top: 0.3vw;
    }
}
/* ----------------------------------------------------- */
/* --------------------- IMPORTANT --------------------- */
/* All mobile-only styles in this gadget MUST have their selectors prefixed by or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use [[MediaWiki:Mobile.css]] instead */
/* ----------------------------------------------------- */
/* ----------------------------------------------------- */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(https://fonts.gstatic.com/s/sourcecodepro/v9/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevWnsUnxg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
--body-background-color: #190d07;
--body-background-image: url(/resources/assets/qud_mobile_bg.jpg);
--body-background-attachment: fixed;
--body-background-size: cover;
--body-background-position: center center;
--body-background-repeat: no-repeat;
--body-color: #c1d3d6;
--body-secondary-color: #ccc;
--content-background: radial-gradient(rgba(22, 60, 51,0.8),rgba(6, 28, 23,0.8));
--header-background: rgba(22, 60, 51,1);
--footer-background: rgba(22, 60, 51,0.8);
--interface-border: #000;
--search-background: #212121;
--link-color: #7fbadd;
--link-redlink-color: #bb312c;
--navigation-selected: rgba(108, 180, 122,0.5);
--navigation-link-background: rgba(108, 180, 122,0.1);
--last-modified-background: #444;
--invert-icons: 1;
--fpbox-background: transparent;
--fpbox-border: 1px solid rgba(108, 180, 122,0.2);
--fpheading-background: #061c17;
--fpheading-border: 1px solid #c1d3d6;
--fpheading-color: #c9c9c9;
--fpheading-font: "Source Code Pro","Courier new",Courier,monospace;
--fplink-background: rgba(108, 180, 122,0.2);
--fplink-border: 0;
--fplink-fullwidth-background: rgba(0,0,0, 0.3);
--infobox-border: 1px solid rgba(108, 180, 122,0.2);
--infobox-details-background: rgba(108, 180, 122,0.3);
--infobox-details-color: #fff;
--infobox-header-background: rgba(108, 180, 122,0.5);
--infobox-header-color: #fff;
--infobox-label-background: rgba(108, 180, 122,0.2);
--infobox-label-color: #fff;
--navbox-alt-background: rgba(108, 180, 122,0.1);
--navbox-background: rgba(6, 28, 23,0.2);
--navbox-border: 1px solid rgba(108, 180, 122,0.2);
--navbox-color: #c1d3d6;
--navbox-secondary-background: rgba(108, 180, 122,0.2);
--wikitable-alt-background: rgba(100,100,100, 0.6);
--wikitable-background: rgba(6, 28, 23,0.2);
--wikitable-border: 1px solid rgba(108, 180, 122,0.3);
--wikitable-border-collapse: collapse;
--wikitable-border-spacing: 0;
--wikitable-header-background: rgba(108, 180, 122,0.2);
--wikitable-header-color: #fff;
--code-background: rgba(6, 28, 23,0.5);
--code-color: #c1d3d6;
--doc-background: rgba(6, 28, 23,0.2);
--doc-border: 1px solid rgba(108, 180, 122,0.2);
--ambox-background: rgba(120,120,120,0.3);
--ambox-blue: #1e90ff;
--ambox-gray: #bbbbaa;
--ambox-green: #228b22;
--ambox-orange: #f28500;
--ambox-purple: #9932cc;
--ambox-red: #b22222;
--ambox-yellow: #f4c430;
}
/*** mobile-specific style classes ***/
.nomobile {
display: none;
}
.mobileleft {
text-align: left;
}
.mobilecenter {
text-align: center;
}
.mobileright {
text-align: right;
}
/**********
interface
**********/
/*** text colors ***/
#mw-mf-diffview #mw-mf-userinfo,
#mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count,
#mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count div,
#mw-mf-page-center,
.globalNotice,
.header-container.header-chrome,
.last-modified-bar a,
.last-modified-bar a:visited,
.last-modified-bar.active a,
.last-modified-bar.active a:visited,
.list-header,
.minerva-footer,
.mw-echo-ui-notificationItemWidget-content-actions-timestamp,
.mw-echo-ui-notificationItemWidget-content-message-header,
.mw-mf-user,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.overlay-footer-container,
.overlay-header-container,
.page-list .component,
.page-list .info,
.page-list li > a,
.page-list.side-list .list-thumb,
.page-summary h2,
.page-summary h3,
.search-overlay,
.search-overlay .results,
.search-overlay .search-content,
.search-overlay .search-feedback,
.site-link-list .component,
.site-link-list .info,
.site-link-list li,
.site-link-list li > a,
.site-link-list.side-list .list-thumb,
.topic-title-list .component,
.topic-title-list .info,
.topic-title-list li > .topic-title-list.side-list .list-thumb,
footer .last-modified-bar,
footer .last-modified-bar.active,
nav ul li a,
.skin-minerva.navigation-enabled #mw-mf-page-center,
.skin-minerva.primary-navigation-enabled,
.skin-minerva.secondary-navigation-enabled,
a,
a:not([href]),
body{
color: var(--body-color);
}
.skin-minerva.action-edit #editpage-copywarn,
.skin-minerva.action-edit #mw-anon-edit-warning,
.skin-minerva.action-edit #section_0,
.skin-minerva.action-edit .diff-ntitle,
.skin-minerva.action-edit .diff-otitle,
.skin-minerva.action-edit .mw-editTools,
.skin-minerva.action-edit .mw-editnotice,
.skin-minerva.action-edit .preview-limit-report-wrapper,
.skin-minerva.action-submit #editpage-copywarn,
.skin-minerva.action-submit #mw-anon-edit-warning,
.skin-minerva.action-submit #section_0,
.skin-minerva.action-submit .diff-ntitle,
.skin-minerva.action-submit .diff-otitle,
.skin-minerva.action-submit .mw-editTools,
.skin-minerva.action-submit .mw-editnotice,
.skin-minerva.action-submit .preview-limit-report-wrapper,
.heading-holder .tagline,
.mw-echo-ui-notificationItemWidget-content-message-body,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
nav ul li a:visited {
color: var(--body-secondary-color);
}
.mw-ui-anchor.mw-ui-progressive,
.mw-ui-anchor.mw-ui-progressive:active,
.mw-ui-anchor.mw-ui-progressive:focus,
nav ul.hlist li a,
a,
a.external,
a.extiw,
a:visited {
color: var(--link-color);
}
a.new {
color: var(--link-redlink-color);
}
/** code/pre tags **/
.mw-code,
code,
kbd,
pre,
samp,
tt {
font-family: monospace;
color: var(--code-color);
}
.mw-highlight {
background: transparent;
}
.mw-code,
code,
pre,
pre.mw-code {
background: var(--code-background);
border-color: var(--code-color);
}
.mw-code a,
code a {
color: var(--code-color);
text-decoration: underline double;
}
/*** interface colors ***/
.client-js .toc-mobile,
#mw-mf-diffview #mw-mf-userinfo,
.globalNotice,
.header-container.header-chrome,
.list-header,
.mw-echo-ui-bundleNotificationItemWidget-group,
.mw-echo-ui-crossWikiNotificationItemWidget-group,
.notifications-overlay .overlay-content,
.overlay-header-container,
.search-overlay .results,
.search-overlay .search-content,
.search-overlay .search-feedback {
background-color: var(--header-background);
}
.minerva-footer,
.overlay-footer-container,
nav {
background-color: var(--footer-background);
}
.client-js .toc-mobile,
#mw-mf-diffview #mw-mf-userinfo,
.header,
.header-container,
.minerva-footer,
.mw-echo-ui-bundleNotificationItemWidget-separator,
.mw-echo-ui-crossWikiNotificationItemWidget-separator,
.mw-echo-ui-notificationItemWidget,
.mw-echo-ui-notificationItemWidget:last-child,
.overlay-footer-container,
.page-list li,
.search-overlay .search-content,
.site-link-list li,
.topic-title-list li,
footer .last-modified-bar,
footer > .post-content > nav .secondary-action,
nav ul li,
.skin-minerva.ns-special .content-header,
h2 {
border-color: var(--interface-border);
}
.search-overlay,
.skin-minerva.search-overlay {
background: var(--search-background);
}
#mw-mf-page-center,
.skin-minerva.navigation-enabled #mw-mf-page-center,
.skin-minerva.primary-navigation-enabled,
.skin-minerva.secondary-navigation-enabled,
body {
background-color: var(--body-background-color);
background-image: var(--body-background-image);
background-size: var(--body-background-size);
background-attachment: var(--body-background-attachment);
background-position: var(--body-background-position);
background-repeat: var(--body-background-repeat);
}
#content,
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
.skin-minerva.ns-special #content,
.skin-minerva.ns-special #content form,
.skin-minerva.ns-special .pre-content {
background: var(--content-background);
}
/*** basics ***/
.center {
text-align: center;
}
.content h1,
.content h2,
.pre-content h1,
body {
font-family: sans-serif;
}
/*** header and footer ***/
.header {
border-width: 1px 0;
border-style: solid;
}
.header-container.header-chrome {
box-shadow: 0 1px 1px rgba(100,100,100,0.2);
}
@supports (position:sticky) {
.header-container.header-chrome {
position: sticky;
top: 0;
z-index: 1000;
}
.overlay-enabled .header-container.header-chrome {
position: static;
}
.navigation-enabled .header-container.header-chrome {
z-index: 0;
}
}
.globalNotice {
overflow: hidden;
padding: 0 0.5em 0.25em;
}
.notification-count {
background: transparent;
}
/*** notifications ***/
.mw-echo-ui-bundleNotificationItemWidget-separator,
.mw-echo-ui-crossWikiNotificationItemWidget-separator,
.mw-echo-ui-notificationItemWidget,
.mw-echo-ui-notificationItemWidget:last-child {
background: rgba(0,0,0,0.1);
}
.mw-echo-ui-notificationItemWidget-unread {
background: rgba(0,0,0,0.3);
}
.mw-echo-ui-notificationItemWidget:hover {
background: rgba(0,0,0,0.2);
}
.mw-echo-ui-notificationItemWidget-unread:hover {
background: rgba(0,0,0,0.4);
}
/*** search ***/
.page-list li .watch-this-article,
.site-link-list li .watch-this-article,
.topic-title-list li .watch-this-article {
top: 50%;
margin-top: -0.75em;
}
/*** navigation ***/
.skin-minerva.navigation-enabled .transparent-shield {
background: rgba(50,50,50,0.9);
}
nav ul li {
background: var(--navigation-link-background);
width: 100%;
}
nav ul li a:hover {
box-shadow: inset 4px 0 0 0 var(--navigation-selected);
}
/*** last-modified bar ***/
footer .last-modified-bar {
background-color: var(--last-modified-background);
}
/* recently changed page last-modified bar*/
footer .last-modified-bar.active {
background: #00af89;
}
/*** page history and diffs ***/
.minoredit {
color: #808080;
}
#mw-mf-diffview #mw-mf-userinfo {
z-index: 100;
box-shadow: 0 -1px 3px rgba(0,0,0,0.6);
opacity: 0.95;
}
/*** editor ***/
.editor-overlay-ve {
color: #000;
}
.editor-overlay .wikitext-editor {
background: rgba(0,0,0,0.1);
}
/* ------- Template:Doc ------- */
.doc,
.doc-footer {
background: var(--doc-background);
border: var(--doc-border);
margin: 0 auto 1em;
border-radius: 1em;
padding: 1em;
}
.doc-footer {
margin-bottom: 0;
}
.doc-header {
padding-bottom: 3px;
border-bottom: var(--doc-border);
margin-bottom: 1ex;
}
/**********
content
**********/
/*** mobile front page collapse ***/
.fpbox.mobilecollapsible .fpbox-heading a.togglecollapse {
display: block;
padding: 0 0 0 15px;
}
.fpbox.mobilecollapsible .fpbox-heading a.togglecollapse:active,
.fpbox.mobilecollapsible .fpbox-heading a.togglecollapse:hover {
text-decoration: none;
}
.fpbox.mobilecollapsible.collapsed .fpbox-heading {
border: none;
margin-bottom: 0;
}
.fpbox.mobilecollapsible .fpbox-heading a {
position: relative;
}
.fpbox.mobilecollapsible .fpbox-heading a:before {
content: '';
width: 12px;
height: 12px;
background-image: url("/skins/Vector/images/arrow-down.png");
background-image: linear-gradient(transparent,transparent),url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23222%22/%3E %3C/svg%3E');
position: absolute;
left: 0;
top: 50%;
margin-top: -6px;
}
.fpbox.mobilecollapsible.collapsed .fpbox-heading a:before {
transform: rotate(-90deg);
}
.fpbox.mobilecollapsible.collapsed .body {
display: none;
}
/* ------- navboxes ------- */
table.navbox {
border: var(--navbox-border);
clear: both;
font-size: 88%;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
display: table !important;
}
/** Border between adjacent navboxes **/
table.navbox+table.navbox {
margin-top: -1px;
}
.navbox-abovebelow,
.navbox-group,
.navbox-title,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
}
.navbox-group {
font-weight: bold;
white-space: nowrap;
}
/** Base background **/
.navbox,
.navbox-subgroup {
background: var(--navbox-background);
}
.navbox-list {
border-color: var(--navbox-background);
}
/** Level 1 & 2 styling **/
.navbox-group,
.navbox-subgroup .navbox-title,
.navbox-title,
table.navbox th {
background: var(--navbox-secondary-background);
color: var(--navbox-color);
}
/** Level 3 styling **/
.navbox-subgroup .navbox-abovebelow,
.navbox-subgroup .navbox-group {
background: var(--navbox-background);
color: var(--navbox-color);
}
/** row striping **/
.navbox-even {
background: var(--navbox-alt-background);
color: var(--navbox-color);
}
.navbox-odd {
background: transparent;
}
/** collapsible navboxes **/
.collapseButton {
font-weight: normal;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
.navbar {
font-size: 88%;
font-weight: normal;
}
.navbox .navbar {
font-size: 100%;
}
table.collapsed tr.collapsible {
display: none;
}
/*** amboxes ***/
/* ------- Amboxes ------- */
.ambox {
background-color: var(--ambox-background);
border-width: 0 0 0 10px;
border-style: solid;
border-collapse: collapse;
font-size: 95%;
margin: 0 auto 2px;
width: 80%;
}
.ambox.ambox-tiny {
font-size: 90%;
margin: 2px 0;
width: auto;
}
.ambox + .ambox {
margin-top: -2px;
}
.ambox-text {
padding: 0.25em 0.5em;
}
.ambox-image {
padding: 2px 0 2px 0.5em;
text-align: center;
width: 60px;
}
.ambox-tiny .ambox-image {
padding: 2px 0.5em;
text-align: left;
width: auto;
}
/* Ambox colors */
.ambox-gray {
border-left-color: var(--ambox-gray);
}
.ambox-blue {
border-left-color: var(--ambox-blue);
}
.ambox-red {
border-left-color: var(--ambox-red);
}
.ambox-orange {
border-left-color: var(--ambox-orange);
}
.ambox-yellow {
border-left-color: var(--ambox-yellow);
}
.ambox-purple {
border-left-color: var(--ambox-purple);
}
.ambox-green {
border-left-color: var(--ambox-green);
}
/* Ambox small text */
.amsmalltext {
font-size: smaller;
margin-left: 0.8em;
margin-top: 0.5em;
}
/** for 'edit this page' and 'discussion' link in template:cleanup etc **/
.pagetab {
border: 1px solid var(--body-color);
padding: 0.25ex 1ex;
font-size: 95%;
}
/* copyright images tweak */
.copyright-icon {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22%3E%3Cpath d=%22M100 200C44.772 200 0 155.228 0 100S44.772 0 100 0s100 44.772 100 100-44.772 100-100 100zm0-179.115c-43.694 0-79.115 35.421-79.115 79.115 0 43.694 35.421 79.115 79.115 79.115 43.694 0 79.115-35.421 79.115-79.115 0-43.694-35.421-79.115-79.115-79.115zm0 108.599c20.627 0 27.518-18.427 27.518-18.427h26.536s-7.847 43.734-54.054 43.734c-30.532 0-55.283-24.751-55.283-55.282 0-30.532 24.751-55.283 55.283-55.283 45.365 0 53.317 41.769 53.317 41.769h-26.781S118.966 69.533 100 69.533c-16.555 0-29.975 13.421-29.975 29.976s13.42 29.975 29.975 29.975z%22/%3E%3C/svg%3E%0A");
background-size: 100%;
width: 32px;
height: 32px;
filter:invert(var(--invert-icons,0));
}
/* ------- pixel sprite scaling ------- */
.pixel-image,
.moduleinfobox .infobox-imagearea img,
.ambox-image img,
.qud-image .qud-image-link-image-container img {
  image-rendering: pixelated;
}
/* ------- tables ------- */
table.wikitable {
border-collapse: var(--wikitable-border-collapse);
border-spacing: var(--wikitable-border-spacing);
background: transparent;
border: var(--wikitable-border);
}
table.wikitable > * > tr > td,
table.wikitable > * > tr > th,
table.wikitable > tr > th {
border: var(--wikitable-border);
}
table.wikitable > * > tr > th,
table.wikitable > tr > th {
background: var(--wikitable-header-background);
color: var(--wikitable-header-color);
text-align: center;
}
table.wikitable > * > tr > td {
background: var(--wikitable-background);
padding: 0.2em 0.4em;
}
table.jquery-tablesorter th.headerSort {
background-image: none!important;
padding-right: 1.4em;
}
table.jquery-tablesorter th.headerSort:after {
content: '\f0dc';
font-family: 'FontAwesome';
display: inline-block;
width: 1em;
margin-right: -1em;
text-align: right;
}
table.jquery-tablesorter th.headerSortUp:after {
content: '\f0de';
}
table.jquery-tablesorter th.headerSortDown:after {
content: '\f0dd';
}
table.jquery-tablesorter th.unsortable,
th.header-bg.th.unsortable {
background: var(--wikitable-header-background);
}
/** Cargo tables **/
table.cargoTable {
border-collapse: collapse;
color: var(--body-color);
background: transparent;
}
table.cargoTable td.even,
table.cargoTable td.odd {
background: transparent;
}
.cargoTable tr:nth-child(even) {
background: var(--wikitable-background);
}
table.cargoTable > * > tr > th,
table.cargoTable > tr > th {
background: var(--wikitable-header-background);
color: var(--wikitable-header-color);
text-align: center;
font-variant: small-caps;
border: var(--wikitable-border);
}
table.cargoTable > * > tr > td {
border: var(--wikitable-border);
padding: 0.2em 0.4em;
color: var(--body-color);
}
/** Dynamic Tables **/
table.cargoDynamicTable {
margin-top: 1em;
border: 0 solid transparent;
}
table.dataTable tfoot td,
table.dataTable tfoot th,
table.dataTable thead td,
table.dataTable thead th {
background: var(--wikitable-header-background)!important;
border: var(--wikitable-border)!important;
}
table.dataTable tbody tr {
color: var(--body-color);
background: transparent;
}
table.dataTable.display tbody tr.odd,
table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1,
table.dataTable.stripe tbody tr.odd {
background: transparent;
text-align: center;
}
table.dataTable.display tbody tr.even,
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1,
table.dataTable.stripe tbody tr.even {
background: var(--wikitable-background);
text-align: center;
}
table.dataTable.display tbody tr:hover,
table.dataTable.hover tbody tr:hover {
background: var(--wikitable-header-background);
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_processing {
color: var(--wikitable-header-color);
padding: 0.5em 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
color: var(--link-color)!important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
background: var(--wikitable-header-background);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
color: var(--body-color) !important;
background: var(--wikitable-header-background);
border: var(--wikitable-border);
}
/** Tablepager **/
.TablePager th {
background: var(--wikitable-header-background);
color: var(--wikitable-header-color);
border: var(--wikitable-border);
padding: 0 0.15em;
}
.TablePager td {
background: var(--wikitable-background);
border: var(--wikitable-border);
color: var(--body-color);
}
.TablePager tr:hover td {
background: var(--wikitable-header-background)!important;
color: var(--wikitable-header-color);
}
/*** front page styles ***/
.fpmain {
width: 100%;
overflow: hidden;
}
/* ------- front page boxes **/
.fpbox {
background: var(--fpbox-background);
color: var(--body-color);
margin: 5px;
padding: 0.75em;
overflow: auto;
box-sizing: border-box;
border: var(--fpbox-border);
width: calc(100% - 2px);
}
.fpbox-heading {
border-bottom: var(--fpheading-border);
background: var(--fpheading-background);
text-align: center;
color: var(--fpheading-color);
font-family: var(--fpheading-font), sans-serif;
font-size: 132%;
margin: 0 0 0.5em;
padding: 0.25em;
letter-spacing: 1px;
}
.fpbox-body {
margin: 5px;
}
.fpbox-plain {
background: transparent;
border: 0;
box-shadow: none;
}
.fpbox-mainheading {
font-size: 150%;
}
.fpbox-subheading {
font-size: 120%;
border: 0;
text-align: center;
}
.linkslabel {
margin: 15px 5px 5px;
padding: 0 0 5px;
border-bottom: 2px solid #505050;
}
/* ------- Template:FP links ------- */
.fplinks {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: stretch;
text-align: center;
}
.fplink-outer {
padding: 5px;
flex-basis: calc(25% - 10px);
width: calc(25% - 15px);
min-width: 115px;
display: inline-block;
vertical-align: middle;
}
.fplink-wide {
flex-basis: calc(33% - 10px);
width: calc(33% - 15px);
}
.fplink-fullwidth {
flex-basis: 100%;
width: calc(100% - 15px);
font-weight: bold;
}
.fplink {
background: var(--fplink-background);
border: var(--fplink-border);
padding: 0.5em;
box-sizing: border-box;
width: 100%;
height: 100%;
display: table;
}
.fplink-fullwidth .fplink {
background: var(--fplink-fullwidth-background);
}
.fplink-plain {
background: transparent;
border-radius: 0;
border: 0;
box-shadow: none;
}
.fplink-inner {
display: table-row;
}
.fplink a {
display: table-cell;
vertical-align: middle;
}
.fplink img {
max-width: 150px;
width: 100%;
height: auto;
}
/** Miscellaneous front page fixes **/
.fpbox .embedvideowrap {
width: 100%!important;
max-width: 480px;
margin: 0 auto;
}
.fpbox .embedvideowrap iframe {
width: 100%!important;
}
.fpbox .slideboxlightshow {
max-width: 100%;
margin: 0 auto;
}
.fpbox .slideboxlightshow a,
.fpbox .slideboxlightshow img {
max-width: 100%!important;
}
/*** infoboxes ***/
.infoboxtable {
max-width: 300px;
float: none;
border: var(--infobox-border);
padding: 0.25em;
display: table !important;
border-collapse: separate;
}
.infoboxname {
color: var(--infobox-header-color);
padding: 5px;
background: var(--infobox-header-background);
}
.infoboxdetails {
color: var(--infobox-details-color);
padding: 5px;
background: var(--infobox-details-background);
}
.infoboxtable div {
color: var(--infobox-label-color);
background: var(--infobox-label-background);
text-align: right;
font-weight: bold;
padding: 1px 5px;
}
/*** invert icons for dark theme ***/
.fpbox.mobilecollapsible .heading a:before,
.oo-ui-iconElement-icon,
.copyright-icon {
filter:invert(var(--invert-icons,0));
}
.mw-echo-ui-notificationItemWidget-icon,
.mw-echo-ui-toggleReadCircleButtonWidget-circle,
.mw-ui-icon:before {
filter:brightness(calc(2 * var(--invert-icons,0)));
}
#mw-mf-diffview .meta:before,
.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .oo-ui-iconElement-icon,
.mw-mf-user:before,
.search-overlay .clear:before {
filter:none;
}
/* invert extension:math images */
.mwe-math-fallback-image-inline {
filter: invert(1);
}
/* ----------------------------------------------------- */
/* ----------------------------------------------------- */
/* -------                                      ------- */
/* ------- CUSTOM & TEMPLATE CSS BELOW THIS LINE ------- */
/* -------                                      ------- */
/* ----------------------------------------------------- */
/* ----------------------------------------------------- */
/* IMPORTANT: all mobile-only styles in this gadget MUST have their selectors prefixed by or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use [[MediaWiki:Mobile.css]] instead */
img.scalable { /* class for scalable images (https://help.gamepedia.com/Advanced_images#Using_css-defined_classes) */
    max-width: 100%;
    height:auto;
}
.header .branding-box h1, .header .branding-box a {
    /* fix wiki header title color */
    color: var(--body-color);
}
}