MediaWiki:Common.css: Difference between revisions

From Idle Clans wiki
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Reverted
Line 5: Line 5:
background-size: cover; }*/
background-size: cover; }*/


#mw-content-block {
#mw-content-block {
    background-image: url(https://wiki.idleclans.com/images/c/cd/Idle_clans_background3.png);
  position: relative;
    background-size: auto, auto;
}
}


.client-darkmode #mw-content-block {
#mw-content-block::before {
  position: absolute;
  background-image: url('https://wiki.idleclans.com/images/c/cd/Idle_clans_background3.png');
  background-size: auto;
  z-index: -1; /* Ensure the pseudo-element is behind other content */
}
 
.client-darkmode #mw-content-block::before {
   filter: invert(1) hue-rotate(180deg);
   filter: invert(1) hue-rotate(180deg);
}
}

Revision as of 03:21, 6 May 2024

/* All CSS here will be loaded for users of the Timeless skin */


/*#mw-content-wrapper { background: url('https://wiki.idleclans.com/images/e/ed/Idle_clans_background.png')
background-size: cover; }*/

#mw-content-block {
  position: relative;
}

#mw-content-block::before {
  position: absolute;
  background-image: url('https://wiki.idleclans.com/images/c/cd/Idle_clans_background3.png');
  background-size: auto;
  z-index: -1; /* Ensure the pseudo-element is behind other content */
}

.client-darkmode #mw-content-block::before {
  filter: invert(1) hue-rotate(180deg);
}

/*#mw-content {
  background-image: url('https://wiki.idleclans.com/images/d/d1/Idle_clans_background2.png');
  background-size: 150px;
  width: 300px;
  height: 300px;
  border: 2px solid;
  color: pink;
}*/