MediaWiki:Common.css: Difference between revisions
From Thương mại - Thuong mai
Wikibadboy (talk | contribs) No edit summary Tag: Reverted |
Wikibadboy (talk | contribs) No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
/* SLIDESHOW */ | /* SLIDESHOW */ | ||
#slideshow { | |||
. | overflow: hidden; | ||
height: 510px; | |||
. | width: 728px; | ||
margin: 0 auto; | |||
} | |||
.slide-wrapper { | |||
width: 2912px; | |||
-webkit-animation: slide 14s ease infinite; | |||
} | |||
.slide { | |||
float: left; | |||
height: 510px; | |||
width: 728px; | |||
} | |||
@-webkit-keyframes slide { | |||
20% {margin-left: 0px;} | |||
30% {margin-left: -728px;} | |||
50% {margin-left: -728px;} | |||
60% {margin-left: -1456px;} | |||
80% {margin-left: -1456px;} | |||
} |
Revision as of 13:22, 27 January 2024
/* CSS placed here will be applied to all skins */ .card:hover {box-shadow: 0px 3px 3px 1px #888888;} /* SLIDESHOW */ #slideshow { overflow: hidden; height: 510px; width: 728px; margin: 0 auto; } .slide-wrapper { width: 2912px; -webkit-animation: slide 14s ease infinite; } .slide { float: left; height: 510px; width: 728px; } @-webkit-keyframes slide { 20% {margin-left: 0px;} 30% {margin-left: -728px;} 50% {margin-left: -728px;} 60% {margin-left: -1456px;} 80% {margin-left: -1456px;} }