MediaWiki:Common.css: Difference between revisions

From Void Collection
No edit summary
No edit summary
Line 54: Line 54:


#toc { float: left; margin-right:40px;}
#toc { float: left; margin-right:40px;}
.client-dark-mode .wikitable {filter: invert( 1 ) hue-rotate( 180deg ); tr:nth-child(2),
.client-dark-mode .wikitable {
            tr:nth-child(3),
  filter:invert(1) hue-rotate(180deg);
            tr:nth-child(5) {
  tr:nth-child(odd){
                background-color: lightgrey;
    background:white;
            }}
    color:black;
  }
  tr:nth-child(even){
    background:black;
    color:white;
}
}

Revision as of 16:13, 1 August 2024

/* 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:white;
    color:black;
  }
  tr:nth-child(even){
    background:black;
    color:white;
 }
}