MediaWiki:Common.css

Revision as of 13:56, 26 July 2023 by Newton (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */


#slideshow {
  text-align: center;
  overflow: hidden;
  height: 400px;
  width: 950px;
  margin: 0 auto;
}

.slide-wrapper {
  width: 950px;
  animation: 50s autoplay6 infinite linear;
}

.slide {
  position: absolute; 
  top: 0; 
  left: 0;
  height: 400px;
  width: 950px;
  opacity: 0.0;
}



.slide-number {
  color: #000;
  text-align: center;
  font-size: 10em;
}

.slide:nth-child(1) {animation-delay: 0s;}
.slide:nth-child(2) {animation-delay: 5s;}
.slide:nth-child(3) {animation-delay: 10s;}
.slide:nth-child(4) {animation-delay: 15s;}
.slide:nth-child(5) {animation-delay: 20s;}
.slide:nth-child(6) {animation-delay: 25s;}
.slide:nth-child(7) {animation-delay: 30s;}
.slide:nth-child(8) {animation-delay: 35s;}
.slide:nth-child(9) {animation-delay: 40s;}
.slide:nth-child(10) {animation-delay: 45s;}




@-webkit-keyframes autoplay6 {
  0% {opacity: 0.0}
  0.01% {opacity: 1.0}
  0.08% {opacity: 1.0}
  0.09% {opacity: 0.0}
  100% {opacity: 0.0}
}