Difference between revisions of "MediaWiki:Common.css"

From Spesoft/GameEx Wiki
Jump to navigation Jump to search
Line 2: Line 2:
.text_fx {
.text_fx {
     animation: color-change 1s infinite;
     animation: color-change 1s infinite;
-webkit-animation: color-change 1s infinite;
    -webkit-animation: color-change 1s infinite;
-moz-animation: none;
    -moz-animation: none;
}
}
@keyframes color-change {
@keyframes color-change {
     0% { color: #006; }
     0% { color: #006; }
20% { color: #00C; }
    20% { color: #00C; }
     40% { color: #03F; }
     40% { color: #03F; }
50% { color: #06F; }
    50% { color: #06F; }
60% { color: #03F; }
    60% { color: #03F; }
80% { color: #00C; }
    80% { color: #00C; }
     100% { color: #006; }
     100% { color: #006; }
}
}
@-webkit-keyframes color-change {
@-webkit-keyframes color-change {
0% { color: #006; }
    0% { color: #006; }
20% { color: #00C; }
    20% { color: #00C; }
     40% { color: #03F; }
     40% { color: #03F; }
50% { color: #06F; }
    50% { color: #06F; }
60% { color: #03F; }
    60% { color: #03F; }
80% { color: #00C; }
    80% { color: #00C; }
     100% { color: #006; }
     100% { color: #006; }
}
}

Revision as of 10:06, 27 April 2014

/* CSS placed here will be applied to all skins */
.text_fx {
    animation: color-change 1s infinite;
    -webkit-animation: color-change 1s infinite;
    -moz-animation: none;
}
@keyframes color-change {
    0% { color: #006; }
    20% { color: #00C; }
    40% { color: #03F; }
    50% { color: #06F; }
    60% { color: #03F; }
    80% { color: #00C; }
    100% { color: #006; }
}
@-webkit-keyframes color-change {
    0% { color: #006; }
    20% { color: #00C; }
    40% { color: #03F; }
    50% { color: #06F; }
    60% { color: #03F; }
    80% { color: #00C; }
    100% { color: #006; }
}