(Created page with "ââ* * EXTREMELY HACKY * Super hacky way to get transclusion and hover works *: #home-card-latestpatch .wikitable { display: block; overflow: visible; } #home-card-latestpatch .wikitable tbody { display: block; } #home-card-latestpatch .wikitable th { display: none; } #home-card-latestpatch .wikitable tr { position: relative; display: flex; } #home-card-latestpatch .wikitable tr > td:first-child { width: 100%; } #home-card-latestpatch .wikitable tr > td:fir...") Â |
No edit summary  |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
overflow: visible; | overflow: visible; | ||
} | } | ||
.mw-parser-output .home-link__button img { | |||
width:16px; | |||
height:16px; | |||
} | |||
.home-link__button img{ | |||
width:16px; | |||
height:16px; | |||
} | |||
#home-card-latestpatch .wikitable tbody { | #home-card-latestpatch .wikitable tbody { |
Latest revision as of 19:41, 14 February 2025
/**
* EXTREMELY HACKY
* Super hacky way to get transclusion and hover works
**/
#home-card-latestpatch .wikitable {
display: block;
overflow: visible;
}
.mw-parser-output .home-link__button img {
width:16px;
height:16px;
}
.home-link__button img{
width:16px;
height:16px;
}
#home-card-latestpatch .wikitable tbody {
display: block;
}
#home-card-latestpatch .wikitable th {
display: none;
}
#home-card-latestpatch .wikitable tr {
position: relative;
display: flex;
}
#home-card-latestpatch .wikitable tr > td:first-child {
width: 100%;
}
#home-card-latestpatch .wikitable tr > td:first-child:hover ~ td {
visibility: visible;
}
#home-card-latestpatch .wikitable tr > td:last-child {
position: absolute;
z-index: 2;
bottom: 100%;
padding: 15px var( --padding-page );
margin-bottom: 10px;
background: var( --color-surface-1 );
border-radius: var( --border-radius--medium );
box-shadow: var( --box-shadow-dialog );
user-select: none;
visibility: hidden;
}
#home-card-latestpatch .wikitable tr > td:last-child .thumb {
width: 100%;
margin: 0;
margin-bottom: 0.5rem;
}