MediaWiki:Common.css: Difference between revisions
From 18TRIP Wiki
Content added Content deleted
Shiroutalpha (talk | contribs) No edit summary |
Shiroutalpha (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
.header-image img{ |
.header-image img{ |
||
width: |
width: 100%; |
||
} |
} |
||
Revision as of 12:12, 3 April 2024
@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;
}
.header-image img{
width: 100%;
}
/*Character Tabs*/
.charanav {
margin: auto;
display: inline-block;
width: auto;
height: auto;
text-align: center;
font-size:85%;
}
.charanav .cn-img {
position: relative;
display: inline-block;
}
.charanav .cn-img:hover {
transform: scale(1.1);
transition: all 1s;
}
.cn-img .cn-img-top {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99;
opacity: 0.5;
}
.cn-img:hover .cn-img-top {
display: inline;
}