Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Tag: Reverted
Line 25: Line 25:
     white-space-collapse: collapse;
     white-space-collapse: collapse;
     text-wrap-mode: nowrap;
     text-wrap-mode: nowrap;
}
@media (prefers-color-scheme: dark) {
.mode-dark img {display: block;}
.mode-light img {display: none;}
}
@media (prefers-color-scheme: light) {
.mode-dark img {display: none;}
.mode-light img {display: block;}
}
}

Revision as of 01:30, 25 February 2025

/* CSS placed here will be applied to all skins */
.player-tag {
    text-wrap-mode: nowrap;
}

.player-tag img {
    image-rendering: pixelated;
    width: 1em;
    border-radius: 2px;
}

.hidden-alt-text {
    font-size: 0;
}

.mc-hearts::before {
    content: ' (';
}
.mc-hearts::after {
    content: ')';
}

.nowrap {
    white-space: nowrap;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
}

@media (prefers-color-scheme: dark) {
	.mode-dark img {display: block;}
	.mode-light img {display: none;}
}

@media (prefers-color-scheme: light) {
	.mode-dark img {display: none;}
	.mode-light img {display: block;}
}