Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Prefixed styles for doc/website

Julian Garnier8f19bf62cc07
diff --git a/documentation/assets/css/documentation.css b/documentation/assets/css/documentation.css
index 30b6fc87..fb8ec852 100644
--- a/documentation/assets/css/documentation.css
+++ b/documentation/assets/css/documentation.css
@@ -500,7 +500,8 @@ input.progress {
}
#cssProperties .el {
- transform: translate3d(0,0,0);
+ -webkit-transform: translate3d(0,0,0);
+ transform: translate3d(0,0,0);
}
/* Responsive */
diff --git a/documentation/assets/css/site.css b/documentation/assets/css/site.css
index 12f3684a..8f28e24d 100644
--- a/documentation/assets/css/site.css
+++ b/documentation/assets/css/site.css
@@ -4,14 +4,24 @@ html {
body {
opacity: 0;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
- flex-direction: column;
- justify-content: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 2px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
- user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
}
body.ready { opacity: 1; }
@@ -26,15 +36,23 @@ body.ready { opacity: 1; }
.logo-animation {
pointer-events: none;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
- align-items: center;
- justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
width: 100%;
margin-top: -40px;
}
.letters {
position: relative;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
width: 682px;
height: 162px;
@@ -53,14 +71,16 @@ body.ready { opacity: 1; }
.letter-i {
z-index: 1;
width: 82px;
- transform-origin: 100% 50%;
+ -webkit-transform-origin: 100% 50%;
+ transform-origin: 100% 50%;
}
.dot {
position: absolute;
width: 42px;
height: 42px;
- transform: scale(0);
+ -webkit-transform: scale(0);
+ transform: scale(0);
}
.dot-i {
@@ -74,6 +94,8 @@ body.ready { opacity: 1; }
}
.logo-icon {
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
position: absolute;
left: 230px;
@@ -113,25 +135,44 @@ body.ready { opacity: 1; }
.links {
opacity: 0;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
margin-top: 20px;
}
@media (min-width: 700px) {
.links {
- flex-direction: row;
+ -webkit-box-orient: horizontal;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: row;
+ flex-direction: row;
}
}
.button {
position: relative;
+ display: -webkit-box;
+ display: -ms-flexbox;
display: flex;
- flex-direction: column;
- justify-content: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -ms-flex-direction: column;
+ flex-direction: column;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ justify-content: center;
width: 180px;
height: 60px;
text-decoration: none;
@@ -158,7 +199,8 @@ body.ready { opacity: 1; }
}
.button.green svg {
- transform: rotate(180deg);
+ -webkit-transform: rotate(180deg);
+ transform: rotate(180deg);
}
.credits {