MediaWiki:Common.css: Difference between revisions

From Tael
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:




/* Exclude logo to be change with or without DarkMode */
 
/* Exclude logo to be changed with or without Dark Mode */
.client-darkmode .mw-wiki-logo {
.client-darkmode .mw-wiki-logo {
filter: invert( 1 ) hue-rotate( 180deg );
}


/* Exclude image files to be changed with or without Dark Mode */
.client-darkmode .mw-file-element {
filter: invert( 1 ) hue-rotate( 180deg );
filter: invert( 1 ) hue-rotate( 180deg );
}
}

Revision as of 06:06, 31 March 2024

.infobox {
float: right;
margin: 0 0 1em 1em;
border: 1px solid #000033;
padding: 1em;
width: 200px;
}      
.infobox-title {
font-size: 1.5em;
text-align: center;
background: rgba(0, 0, 0, .15);
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background: rgba(0, 0, 0, .15);
}
.infobox-image {
text-align: center;
}


 
/* Exclude logo to be changed with or without Dark Mode */
.client-darkmode .mw-wiki-logo {
filter: invert( 1 ) hue-rotate( 180deg );
}

/* Exclude image files to be changed with or without Dark Mode */
.client-darkmode .mw-file-element {
filter: invert( 1 ) hue-rotate( 180deg );
}