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 30: | Line 30: | ||
.item:hover .img-top { |
.item:hover .img-top { |
||
display:inline; |
|||
color:#c8ff46; |
|||
background:url("../img/character/subnav_hover.png") center center no-repeat; |
|||
background-size:cover; |
|||
z-index:1; |
|||
opacity:0; |
|||
mix-blend-mode:multiply; |
|||
} |
} |
Revision as of 22:06, 2 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;
}
/*Image Hover*/
.item {
width: 130px;
height: 195px;
position: relative;
display: inline-block;
}
.item .img-top {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99;
}
.item:hover .img-top {
display:inline;
background:url("../img/character/subnav_hover.png") center center no-repeat;
background-size:cover;
z-index:1;
opacity:0;
mix-blend-mode:multiply;
}