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

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Undo revision 326053 by Certified nqh (talk))
Line 3: Line 3:
  
 
/* One can only dream. */
 
/* One can only dream. */
.blink { animation: blink 1s step-end infinite; }
 
.marquee {
 
display: flex;
 
overflow: hidden;
 
animation: marquee 40s linear infinite;
 
animation-delay: -10s;
 
}
 
  
 +
/* Keyframes */
 
@keyframes blink {
 
@keyframes blink {
 
  67% { opacity: 0 }
 
  67% { opacity: 0 }
Line 53: Line 47:
 
  0%  { transform: rotate(0deg); }
 
  0%  { transform: rotate(0deg); }
 
  100%{ transform: rotate(360deg); }
 
  100%{ transform: rotate(360deg); }
 +
}
 +
 +
@keyframes bouncing {
 +
0%  {left:0%;}
 +
50%  {right:0%;}
 +
100% {left:0%;}
 
}
 
}
  
Line 58: Line 58:
 
  from{font-size: 2em;}
 
  from{font-size: 2em;}
 
  to  {font-size: 1em;}
 
  to  {font-size: 1em;}
 +
}
 +
 +
/* Actual style */
 +
 +
.blink { animation: blink 1s step-end infinite; }
 +
.marquee {
 +
display: flex;
 +
overflow: hidden;
 +
animation: marquee 40s linear infinite;
 +
animation-delay: -10s;
 +
}
 +
 +
#firstHeading {
 +
animation: bouncing 3s linear infinite;
 
}
 
}
  
Line 80: Line 94:
 
  background-color: #00000000 !important;
 
  background-color: #00000000 !important;
 
  color: black;
 
  color: black;
}
 
 
@keyframes bouncing {
 
0%  {left:0%;}
 
50%  {left:20%;}
 
100% {left:0%;}
 
 
}
 
}
  

Revision as of 14:12, 16 October 2023

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

/* One can only dream. */

/* Keyframes */
@keyframes blink {
 67% { opacity: 0 }
}

@keyframes marquee {
 from {
  transform: translateX(-50%);
 }
 to {
  transform: translateX(150%);
 }
}

@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 rotate {
 0%  { transform: rotate(20deg); }
 50% { transform: rotate(-20deg); }
 100%{ transform: rotate(20deg); }
}

@keyframes speen {
 0%  { transform: rotate(0deg); }
 100%{ transform: rotate(360deg); }
}

@keyframes bouncing {
 0%   {left:0%;}
 50%  {right:0%;}
 100% {left:0%;}
}

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

/* Actual style */

.blink { animation: blink 1s step-end infinite; }
.marquee { 
 display: flex;
 overflow: hidden;
 animation: marquee 40s linear infinite;
 animation-delay: -10s;
}

#firstHeading {
 animation: bouncing 3s linear infinite;
}

.rainbow {
 border: 5px solid black;
 padding: 5px;
 animation: rainbow 10s linear infinite !important;
}

.displaynot {
 width: 0px !important;
 height: 0px !important;
 font-size: 0px !important;
}

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

.rainbow * {
 background-color: #00000000 !important;
 color: black;
}

span.bounce {
 width: fit-content;
 position: absolute;
 animation: bouncing 10s linear infinite;
}

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

a:hover {
 animation: rainbowtext 0.25s linear infinite, punch 0.5s;
 font-weight: bold;
}

a:active {
 animation: rainbow 0.25s linear infinite;
 color: black !important;
}