Difference between revisions of "MediaWiki:Common.css"
From Cognitive Liberty MediaWiki 1.27.4
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url("http://cognitive-liberty.online/wiki/animate.css"); | @import url("http://cognitive-liberty.online/wiki/animate.css"); | ||
− | |||
.mw-wiki-logo{ | .mw-wiki-logo{ | ||
− | animation: animationFrames linear | + | animation: animationFrames linear 1s; |
animation-iteration-count: 1; | animation-iteration-count: 1; | ||
transform-origin: 50% 50%; | transform-origin: 50% 50%; | ||
animation-fill-mode:forwards; /*when the spec is finished*/ | animation-fill-mode:forwards; /*when the spec is finished*/ | ||
− | -webkit-animation: animationFrames linear | + | -webkit-animation: animationFrames linear 1s; |
-webkit-animation-iteration-count: 1; | -webkit-animation-iteration-count: 1; | ||
-webkit-transform-origin: 50% 50%; | -webkit-transform-origin: 50% 50%; | ||
-webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ | -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ | ||
− | -moz-animation: animationFrames linear | + | -moz-animation: animationFrames linear 1s; |
-moz-animation-iteration-count: 1; | -moz-animation-iteration-count: 1; | ||
-moz-transform-origin: 50% 50%; | -moz-transform-origin: 50% 50%; | ||
-moz-animation-fill-mode:forwards; /*FF 5+*/ | -moz-animation-fill-mode:forwards; /*FF 5+*/ | ||
− | -o-animation: animationFrames linear | + | -o-animation: animationFrames linear 1s; |
-o-animation-iteration-count: 1; | -o-animation-iteration-count: 1; | ||
-o-transform-origin: 50% 50%; | -o-transform-origin: 50% 50%; | ||
-o-animation-fill-mode:forwards; /*Not implemented yet*/ | -o-animation-fill-mode:forwards; /*Not implemented yet*/ | ||
− | -ms-animation: animationFrames linear | + | -ms-animation: animationFrames linear 1s; |
-ms-animation-iteration-count: 1; | -ms-animation-iteration-count: 1; | ||
-ms-transform-origin: 50% 50%; | -ms-transform-origin: 50% 50%; | ||
Line 27: | Line 26: | ||
@keyframes animationFrames{ | @keyframes animationFrames{ | ||
0% { | 0% { | ||
− | transform: translate( | + | opacity:0; |
+ | transform: translate(500px,0px) ; | ||
+ | } | ||
+ | 22% { | ||
+ | opacity:1; | ||
+ | transform: translate(500px,0px) ; | ||
} | } | ||
86% { | 86% { | ||
+ | opacity:1; | ||
transform: translate(0px,0px) ; | transform: translate(0px,0px) ; | ||
} | } | ||
100% { | 100% { | ||
+ | opacity:1; | ||
transform: translate(0px,0px) ; | transform: translate(0px,0px) ; | ||
} | } | ||
Line 39: | Line 45: | ||
@-moz-keyframes animationFrames{ | @-moz-keyframes animationFrames{ | ||
0% { | 0% { | ||
− | -moz-transform: translate( | + | opacity:0; |
+ | -moz-transform: translate(500px,0px) ; | ||
+ | } | ||
+ | 22% { | ||
+ | opacity:1; | ||
+ | -moz-transform: translate(500px,0px) ; | ||
} | } | ||
86% { | 86% { | ||
+ | opacity:1; | ||
-moz-transform: translate(0px,0px) ; | -moz-transform: translate(0px,0px) ; | ||
} | } | ||
100% { | 100% { | ||
+ | opacity:1; | ||
-moz-transform: translate(0px,0px) ; | -moz-transform: translate(0px,0px) ; | ||
} | } | ||
Line 51: | Line 64: | ||
@-webkit-keyframes animationFrames { | @-webkit-keyframes animationFrames { | ||
0% { | 0% { | ||
− | -webkit-transform: translate( | + | opacity:0; |
+ | -webkit-transform: translate(500px,0px) ; | ||
+ | } | ||
+ | 22% { | ||
+ | opacity:1; | ||
+ | -webkit-transform: translate(500px,0px) ; | ||
} | } | ||
86% { | 86% { | ||
+ | opacity:1; | ||
-webkit-transform: translate(0px,0px) ; | -webkit-transform: translate(0px,0px) ; | ||
} | } | ||
100% { | 100% { | ||
+ | opacity:1; | ||
-webkit-transform: translate(0px,0px) ; | -webkit-transform: translate(0px,0px) ; | ||
} | } | ||
Line 63: | Line 83: | ||
@-o-keyframes animationFrames { | @-o-keyframes animationFrames { | ||
0% { | 0% { | ||
− | -o-transform: translate( | + | opacity:0; |
+ | -o-transform: translate(500px,0px) ; | ||
+ | } | ||
+ | 22% { | ||
+ | opacity:1; | ||
+ | -o-transform: translate(500px,0px) ; | ||
} | } | ||
86% { | 86% { | ||
+ | opacity:1; | ||
-o-transform: translate(0px,0px) ; | -o-transform: translate(0px,0px) ; | ||
} | } | ||
100% { | 100% { | ||
+ | opacity:1; | ||
-o-transform: translate(0px,0px) ; | -o-transform: translate(0px,0px) ; | ||
} | } | ||
Line 75: | Line 102: | ||
@-ms-keyframes animationFrames { | @-ms-keyframes animationFrames { | ||
0% { | 0% { | ||
− | -ms-transform: translate( | + | opacity:0; |
+ | -ms-transform: translate(500px,0px) ; | ||
+ | } | ||
+ | 22% { | ||
+ | opacity:1; | ||
+ | -ms-transform: translate(500px,0px) ; | ||
} | } | ||
86% { | 86% { | ||
+ | opacity:1; | ||
-ms-transform: translate(0px,0px) ; | -ms-transform: translate(0px,0px) ; | ||
} | } | ||
100% { | 100% { | ||
+ | opacity:1; | ||
-ms-transform: translate(0px,0px) ; | -ms-transform: translate(0px,0px) ; | ||
} | } | ||
} | } |
Revision as of 05:36, 11 November 2018
/* CSS placed here will be applied to all skins */ @import url("http://cognitive-liberty.online/wiki/animate.css"); .mw-wiki-logo{ animation: animationFrames linear 1s; animation-iteration-count: 1; transform-origin: 50% 50%; animation-fill-mode:forwards; /*when the spec is finished*/ -webkit-animation: animationFrames linear 1s; -webkit-animation-iteration-count: 1; -webkit-transform-origin: 50% 50%; -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ -moz-animation: animationFrames linear 1s; -moz-animation-iteration-count: 1; -moz-transform-origin: 50% 50%; -moz-animation-fill-mode:forwards; /*FF 5+*/ -o-animation: animationFrames linear 1s; -o-animation-iteration-count: 1; -o-transform-origin: 50% 50%; -o-animation-fill-mode:forwards; /*Not implemented yet*/ -ms-animation: animationFrames linear 1s; -ms-animation-iteration-count: 1; -ms-transform-origin: 50% 50%; -ms-animation-fill-mode:forwards; /*IE 10+*/ } @keyframes animationFrames{ 0% { opacity:0; transform: translate(500px,0px) ; } 22% { opacity:1; transform: translate(500px,0px) ; } 86% { opacity:1; transform: translate(0px,0px) ; } 100% { opacity:1; transform: translate(0px,0px) ; } } @-moz-keyframes animationFrames{ 0% { opacity:0; -moz-transform: translate(500px,0px) ; } 22% { opacity:1; -moz-transform: translate(500px,0px) ; } 86% { opacity:1; -moz-transform: translate(0px,0px) ; } 100% { opacity:1; -moz-transform: translate(0px,0px) ; } } @-webkit-keyframes animationFrames { 0% { opacity:0; -webkit-transform: translate(500px,0px) ; } 22% { opacity:1; -webkit-transform: translate(500px,0px) ; } 86% { opacity:1; -webkit-transform: translate(0px,0px) ; } 100% { opacity:1; -webkit-transform: translate(0px,0px) ; } } @-o-keyframes animationFrames { 0% { opacity:0; -o-transform: translate(500px,0px) ; } 22% { opacity:1; -o-transform: translate(500px,0px) ; } 86% { opacity:1; -o-transform: translate(0px,0px) ; } 100% { opacity:1; -o-transform: translate(0px,0px) ; } } @-ms-keyframes animationFrames { 0% { opacity:0; -ms-transform: translate(500px,0px) ; } 22% { opacity:1; -ms-transform: translate(500px,0px) ; } 86% { opacity:1; -ms-transform: translate(0px,0px) ; } 100% { opacity:1; -ms-transform: translate(0px,0px) ; } }