Difference between revisions of "MediaWiki:Chameleon.css"

From Houdoud
m
m
 
Line 54: Line 54:
 
.fusion-flip-box .flip-box-back,  
 
.fusion-flip-box .flip-box-back,  
 
.fusion-flip-box .flip-box-front {
 
.fusion-flip-box .flip-box-front {
    top: 140px;
 
 
     width: 200px;
 
     width: 200px;
 
     height: 200px;
 
     height: 200px;

Latest 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 {
    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;
}