MediaWiki:Common.css
From 18TRIP Wiki
Note: After publishing, 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: Press Ctrl-F5.
@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Infoboxes.css|MediaWiki:Links.css|MediaWiki:Discord.css");
/* CSS */
/*Center Tabber*/
.mw-parser-output .wds-tabs__tab:first-child {
margin-left: auto;
}
.mw-parser-output .wds-tabs__tab:last-child {
margin-right: auto;
}
.charabox {
margin: auto;
display: inline-block;
width: auto;
height: auto;
text-align: center;
font-size:50px;
}
.charabox .item {
position: relative;
display: inline-block;
}
.charabox .item:hover {
transform: scale(1.1);
transition: all 0.1s;
}
.item .img-top {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99;
opacity: 0.5;
}
.item:hover .img-top {
display: inline;
}