MediaWiki:Common.css

From Void Collection
Revision as of 21:41, 5 August 2024 by Jon (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 */
/*****
* Font declaration
*****/
@font-face {
    font-family: 'Genesys';
    src: url('resources/assets/genesysglyphsanddice.woff2?') format('woff2'),
         url('resources/assets/genesysglyphsanddice.woff?') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*****
* Base style
*****/


.client-dark-mode .genesys.proficiency { color: #ffd700; }
.client-dark-mode .genesys.ability { color: #45AD48; }
.client-dark-mode .genesys.boost { color: #53ecfc; }
.client-dark-mode .genesys.setback { color: #231F20; }
.client-dark-mode .genesys.challenge { color: #ff0000; }
.client-dark-mode .genesys.difficulty { color: #9562c9; }
.client-dark-mode .genesys.combat { color: #C93227; }
.client-dark-mode .genesys.social { color: #145282; }
.client-dark-mode .genesys.general { color: #00773B; }

.client-dark-mode .genesys.dice {
  -webkit-text-stroke: .8px grey;
}

.genesys {
  font-family: 'Genesys';
}
.genesys.dice {
  -webkit-text-stroke: 1.2px black;
}
.genesys.proficiency { color: #FDE600; }
.genesys.ability { color: #45AD48; }
.genesys.boost { color: #80CEC4; }
.genesys.setback { color: #231F20; }
.genesys.challenge { color: #771214; }
.genesys.difficulty { color: #552C7F; }
.genesys.combat { color: #C93227; }
.genesys.social { color: #145282; }
.genesys.general { color: #00773B; }

.client-dark-mode .genesys {
   filter: invert( 1 ) hue-rotate( 180deg );
}
.client-dark-mode .genesys.symbol{
   color:#ffffff;
}

#toc { float: left; margin-right:40px;}
.client-dark-mode .wikitable{
  filter:invert(1) hue-rotate(180deg);
  tr:nth-child(odd) {
    background:#00434a;
    color:white
  }
  tr:nth-child(even) {
    background:black;
    color:white
  }
  .genesys.symbol{
    color:black
  }
  .genesys.dice {
  -webkit-text-stroke:.8px darkgray
 }
  .client-dark-mode .genesys.proficiency {
  color:#ffd700
}
 .genesys.boost {
  color:#00434a
}
.genesys.ability { color: #45AD48; }
.genesys.setback { color: #231F20; }
.genesys.challenge { color: #771214; }
.genesys.difficulty { color: #552C7F; }
.genesys.combat { color: #C93227; }
.genesys.social { color: #145282; }
.genesys.general { color: #00773B; }

}
.wikitable {
  tr:nth-child(odd) {
    background:#e2f4fd
  }
  tr:nth-child(even) {
    background:white
  }
}