MediaWiki:Common.css: Difference between revisions
From NBITTRPG Wiki
mNo edit summary Tag: Reverted |
Tags: Undo Reverted |
||
| Line 42: | Line 42: | ||
.spoiler.no-js:hover > * { | .spoiler.no-js:hover > * { | ||
opacity: 1; | opacity: 1; | ||
} | |||
/** [[Template: DDDQuote]] **/ | |||
.ddd-quote-bg { | |||
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/8/8c/DDDTextbox.png"); | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
aspect-ratio: 1080 / 280; | |||
} | |||
#whiteLinks a:link { color: #fffcf4; } | |||
#whiteLinks a:visited { color: #fffcf4; } | |||
#whiteLinks a:hover { color: #fffcf4; } | |||
#whiteLinks a:active { color: #fffcf4; } | |||
.ddd-quote-bg2 { | |||
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png"); | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
aspect-ratio: 1080 / 280; | |||
} | } | ||
Revision as of 01:01, 7 September 2026
/* Removes logo */
.mw-wiki-logo {display:none;}
/********* [[Template:Spoiler]] *********/
.spoiler {
background-color: transparent;
transition: all 0.3s;
cursor: pointer;
overflow:auto;
}
.spoiler > * {
transition: all 0.3s;
}
.spoiler.hide {
pointer-events: auto;
background-color: rgba(0, 0, 0, 1); /* fallback */
background-color: color-mix(in srgb, rgba(0, 0, 0, 1) 80%, transparent);
}
.spoiler.hide > * {
pointer-events: none;
opacity: 0;
}
/* If there's no js, hide then show on hover */
.spoiler.hover,
.spoiler.no-js {
background-color: var(--main-background-color); /* fallback */
background-color: color-mix(in srgb, var(--main-background-color) 80%, transparent);
}
.spoiler.hover > *,
.spoiler.no-js > * {
opacity: 0;
}
.spoiler.hover:hover,
.spoiler.no-js:hover {
background-color: transparent;
}
.spoiler.hover:hover,
.spoiler.no-js:hover > * {
opacity: 1;
}
/** [[Template: DDDQuote]] **/
.ddd-quote-bg {
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/8/8c/DDDTextbox.png");
background-size: contain;
background-repeat: no-repeat;
aspect-ratio: 1080 / 280;
}
#whiteLinks a:link { color: #fffcf4; }
#whiteLinks a:visited { color: #fffcf4; }
#whiteLinks a:hover { color: #fffcf4; }
#whiteLinks a:active { color: #fffcf4; }
.ddd-quote-bg2 {
background-image: url("https://nbittrpgwiki.pynappo.xyz/images/9/98/DDDTextbox2.png");
background-size: contain;
background-repeat: no-repeat;
aspect-ratio: 1080 / 280;
}
