MediaWiki:Common.css: Difference between revisions
From Baseball VG Encyclopedia
(Created page with "→CSS placed here will be applied to all skins: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox-table th { text-align: right; vertical-align: top; width: 120px; } .infobox-table td { vertical-align: top; }") |
No edit summary |
||
| Line 22: | Line 22: | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
/* 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:29, 4 February 2024
/* CSS placed here will be applied to all skins */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}
/* 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;
}
}