Difference between revisions of "User:Certified nqh/common.css"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Line 3: Line 3:
  
 
/* Keyframes */
 
/* Keyframes */
@keyframes rainbow {
 
0% { background-color: #FCC; border-color: #CFF; }
 
16% { background-color: #FFC; border-color: #CCF; }
 
33% { background-color: #CFC; border-color: #FCF; }
 
50% { background-color: #CFF; border-color: #FCC; }
 
67% { background-color: #CCF; border-color: #FFC; }
 
83% { background-color: #FCF; border-color: #CFC; }
 
100% { background-color: #FCC; border-color: #CFF; }
 
}
 
 
@keyframes rainbowtext {
 
0% { color: #F99; }
 
16% { color: #FF9; }
 
33% { color: #9F9; }
 
50% { color: #9FF; }
 
67% { color: #99F; }
 
83% { color: #F9F; }
 
100% { color: #F99; }
 
}
 
  
 
@keyframes punch {
 
@keyframes punch {
Line 45: Line 26:
 
/* The Actual style in the Style Sheet */
 
/* The Actual style in the Style Sheet */
  
.rainbow {
+
:not(body, a) {
border: 5px solid black;
 
padding: 5px;
 
animation: rainbow 10s linear infinite !important;
 
}
 
 
 
.oscillate {
 
animation: sizedouble 1s linear infinite alternate;
 
}
 
 
 
.displaynot {
 
width: 0px !important;
 
height: 0px !important;
 
font-size: 0px !important;
 
}
 
 
 
:not(.rainbow,body,.rainbow *, a, .ignoreformat) {
 
 
  background-color: black !important;
 
  background-color: black !important;
 
  color: white !important;
 
  color: white !important;
}
 
 
.rainbow * {
 
background-color: #00000000 !important;
 
color: black;
 
 
}
 
}
  
Line 78: Line 38:
 
a[href$="redlink=1"] {
 
a[href$="redlink=1"] {
 
  text-decoration: line-through !important;
 
  text-decoration: line-through !important;
 +
color: #F00 !important;
 +
}
 +
 +
a {
 +
 
}
 
}
  

Revision as of 14:45, 20 October 2023

/* This style sheet works with all skins. */
/* Made by NQH */

/* Keyframes */

@keyframes punch {
 from{font-size: 2em;}
 to  {font-size: 1em;}
}

@keyframes sizedouble {
 from{font-size: 1em;}
 to  {font-size: 2em;}
}

@keyframes sizehalve {
 from{font-size: 1em;}
 to  {font-size: 0.5em;}
}

@keyframes sizezero {
 from{font-size: 1em;}
 to  {font-size: 0em;}
}

/* The Actual style in the Style Sheet */

:not(body, a) {
 background-color: black !important;
 color: white !important;
}

.mw-wiki-logo {
 background-color: white !important;
 filter: invert(100%);
}

a[href$="redlink=1"] {
 text-decoration: line-through !important;
 color: #F00 !important;
}

a {

}

a:not([href$="redlink=1"]) {
 color: #99F !important;
}

a:hover:not([href$="redlink=1"]) {
 animation: rainbowtext 0.25s linear infinite, punch 0.5s;
 font-weight: bold;
}

a:active:not([href$="redlink=1"]) {
 animation: rainbow 0.25s linear infinite;
 color: black !important;
}