×
Create a new article
Write your page title here:
We currently have 179 articles on NBITTRPG Wiki. Type your article name above or click on one of the titles below and start writing!



NBITTRPG Wiki

MediaWiki:Common.css: Difference between revisions

Replaced content with "******** [[Template:Spoiler]] ********: .spoiler-content { background-color: var(--wiki-content-dynamic-color); fallback: background-color: color-mix(in srgb, var(--wiki-content-dynamic-color) 50%, transparent); transition: all 0.3s; cursor: pointer; overflow:auto; } .spoiler-content > * { pointer-events:none; opacity: 0; transition: all 0.3s; } .spoiler-content.show { background-color: transparent; } .spoiler-content.show > * { pointer..."
Tag: Replaced
colors not working
Line 1: Line 1:
/********* [[Template:Spoiler]] *********/
/********* [[Template:Spoiler]] *********/
.spoiler-content {
.spoiler-content {
   background-color: var(--wiki-content-dynamic-color); /* fallback */
   background-color: var(--main-background-color); /* fallback */
   background-color: color-mix(in srgb, var(--wiki-content-dynamic-color) 50%, transparent);
   background-color: color-mix(in srgb, var(--main-background-color) 50%, transparent);
   transition: all 0.3s;
   transition: all 0.3s;
   cursor: pointer;
   cursor: pointer;

Revision as of 05:07, 6 April 2025

/********* [[Template:Spoiler]] *********/
.spoiler-content {
  background-color: var(--main-background-color); /* fallback */
  background-color: color-mix(in srgb, var(--main-background-color) 50%, transparent);
  transition: all 0.3s;
  cursor: pointer;
  overflow:auto;
}

.spoiler-content > * {
  pointer-events:none;
  opacity: 0;
  transition: all 0.3s;
}

.spoiler-content.show {
  background-color: transparent;
}

.spoiler-content.show > * {
  pointer-events:unset;
  opacity: 1;
}