Difference between revisions of "User:Certified nqh/common.css"
(Undo revision 326053 by Certified nqh (talk)) |
|||
| Line 4: | Line 4: | ||
/* One can only dream. */ | /* One can only dream. */ | ||
.blink { animation: blink 1s step-end infinite; } | .blink { animation: blink 1s step-end infinite; } | ||
| − | .marquee { display: flex; overflow: hidden; animation: marquee 40s linear infinite; animation-delay: -10s; } | + | .marquee { |
| + | display: flex; | ||
| + | overflow: hidden; | ||
| + | animation: marquee 40s linear infinite; | ||
| + | animation-delay: -10s; | ||
| + | } | ||
| − | @keyframes blink { 67% { opacity: 0 } } | + | @keyframes blink { |
| + | 67% { opacity: 0 } | ||
| + | } | ||
| − | @keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(150%); } } | + | @keyframes marquee { |
| + | from { | ||
| + | transform: translateX(-50%); | ||
| + | } | ||
| + | to { | ||
| + | transform: translateX(150%); | ||
| + | } | ||
| + | } | ||
@keyframes rainbow { | @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 { | @keyframes rainbowtext { | ||
| − | + | 0% { color: #F99; } | |
| − | + | 16% { color: #FF9; } | |
| + | 33% { color: #9F9; } | ||
| + | 50% { color: #9FF; } | ||
| + | 67% { color: #99F; } | ||
| + | 83% { color: #F9F; } | ||
| + | 100% { color: #F99; } | ||
} | } | ||
| Line 27: | Line 51: | ||
@keyframes speen { | @keyframes speen { | ||
| − | + | 0% { transform: rotate(0deg); } | |
| − | + | 100%{ transform: rotate(360deg); } | |
} | } | ||
Revision as of 14:09, 16 October 2023
/* This style sheet works with all skins. */
/* Made by NQH */
/* 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 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 punch {
from{font-size: 2em;}
to {font-size: 1em;}
}
.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;
}
@keyframes bouncing {
0% {left:0%;}
50% {left:20%;}
100% {left:0%;}
}
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;
}
