MediaWiki:Common.css: Difference between revisions
From Henry's personal library
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS | /* CSS Sliding Image Gallery for Mediawiki | ||
* | |||
* @author: Unknown | |||
* current version crafted together by [[User:Christharp]] from several CSS sites. | |||
*/ | |||
.wrapper { | |||
position: absolute; | |||
top: 1%; | |||
width: 4000px; | |||
animation: 60s credits linear infinite; | |||
} | |||
.wrapper img:hover { | |||
transform: scale(1.4); | |||
cursor: pointer; | |||
} | |||
@keyframes credits { | |||
0% { | |||
margin-left: 0px; | |||
} | |||
100% { | |||
margin-left: -4000px; | |||
} | |||
} |
Revision as of 21:39, 29 January 2025
/* CSS Sliding Image Gallery for Mediawiki * * @author: Unknown * current version crafted together by [[User:Christharp]] from several CSS sites. */ .wrapper { position: absolute; top: 1%; width: 4000px; animation: 60s credits linear infinite; } .wrapper img:hover { transform: scale(1.4); cursor: pointer; } @keyframes credits { 0% { margin-left: 0px; } 100% { margin-left: -4000px; } }