Difference between revisions of "MediaWiki:Chameleon.css"

From Houdoud
m
m
Line 20: Line 20:
 
}
 
}
  
.fusion-flip-boxes .fusion-flip-box.flip-right.hover .flip-box-back, .fusion-flip-boxes .fusion-flip-box.flip-right:hover .flip-box-back {
+
.fusion-flip-box.flip-right .flip-box-back {
 +
    -webkit-transform: rotateY(-180deg);
 +
    transform: rotateY(-180deg);
 +
}
 +
.fusion-flip-box.flip-right:hover .flip-box-back {
 
     -webkit-transform: rotateY(0);
 
     -webkit-transform: rotateY(0);
 
     transform: rotateY(0);
 
     transform: rotateY(0);
 
}
 
}
.fusion-flip-boxes .fusion-flip-box.flip-right.hover .flip-box-front, .fusion-flip-boxes .fusion-flip-box.flip-right:hover .flip-box-front {
+
.fusion-flip-box.flip-right .flip-box-front {
 +
    -webkit-transform: rotateY(0);
 +
    transform: rotateY(0);
 +
}
 +
.fusion-flip-box.flip-right:hover .flip-box-front {
 
     -webkit-transform: rotateY(180deg);
 
     -webkit-transform: rotateY(180deg);
 
     transform: rotateY(180deg);
 
     transform: rotateY(180deg);
 
}
 
}
.fusion-flip-boxes .fusion-flip-box.flip-right .flip-box-back {
+
.fusion-flip-box .flip-box-back {
     -webkit-transform: rotateY(-180deg);
+
     position: absolute;
     transform: rotateY(-180deg);
+
     z-index: -1;
 
}
 
}
.fusion-flip-boxes .fusion-flip-box.hover .flip-box-back, .fusion-flip-boxes .fusion-flip-box:hover .flip-box-back {
+
.fusion-flip-box:hover .flip-box-back {
 +
position: absolute;
 
     z-index: 1;
 
     z-index: 1;
 
}
 
}
.fusion-flip-boxes.flip-effect-classic .flip-box-back, .fusion-flip-boxes.flip-effect-classic .flip-box-front {
+
.flip-effect-classic .flip-box-back,  
 +
.flip-effect-classic .flip-box-front {
 
     -webkit-transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     -webkit-transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: transform .4s cubic-bezier(.2,.85,.4,1.275),-webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
 
     transition: transform .4s cubic-bezier(.2,.85,.4,1.275),-webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
        transition-duration: 0.4s, 0.4s;
+
    transition-duration: 0.4s, 0.4s;
}
 
.fusion-flip-boxes .fusion-flip-box .flip-box-back {
 
    position: absolute;
 
    z-index: -1;
 
 
}
 
}
.fusion-flip-boxes .fusion-flip-box .flip-box-back, .fusion-flip-boxes .fusion-flip-box .flip-box-front {
+
.fusion-flip-box .flip-box-back,  
 +
.fusion-flip-box .flip-box-front {
 
     top: 140px;
 
     top: 140px;
 +
    width: 200px;
 +
    height: 200px;
 +
    padding: 1rem;
 
     text-align: center;
 
     text-align: center;
 
     -webkit-backface-visibility: hidden;
 
     -webkit-backface-visibility: hidden;

Revision as of 18:35, 25 December 2020

/* @import url("/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Chameleon-variscite.css"); */
/* @import url("/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Chameleon-servermonkey.css"); */
/* @import url("/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Chameleon-sidebars.css"); */
/* @import url("/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Chameleon-ciel.css"); */
@import url("/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Chameleon-video.css");

@keyframes fadeIn {
  0% {
    opacity: 0;
    margin-top: 50px;
}

  100% {
    opacity: 1;
    margin-top: 0;
  }
}
.fadeIn {
	animation: fadeIn;
}

.fusion-flip-box.flip-right .flip-box-back {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}
.fusion-flip-box.flip-right:hover .flip-box-back {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
}
.fusion-flip-box.flip-right .flip-box-front {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
}
.fusion-flip-box.flip-right:hover .flip-box-front {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.fusion-flip-box .flip-box-back {
    position: absolute;
    z-index: -1;
}
.fusion-flip-box:hover .flip-box-back {
	position: absolute;
    z-index: 1;
}
.flip-effect-classic .flip-box-back, 
.flip-effect-classic .flip-box-front {
    -webkit-transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
    transition: -webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
    transition: transform .4s cubic-bezier(.2,.85,.4,1.275);
    transition: transform .4s cubic-bezier(.2,.85,.4,1.275),-webkit-transform .4s cubic-bezier(.2,.85,.4,1.275);
    transition-duration: 0.4s, 0.4s;
}
.fusion-flip-box .flip-box-back, 
.fusion-flip-box .flip-box-front {
    top: 140px;
    width: 200px;
    height: 200px;
    padding: 1rem;
    text-align: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-clip: padding-box;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}