More actions
mNo edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
#home-card-prevblogs .wikitable tr > td:last-child .thumb { | #home-card-prevblogs .wikitable tr > td:last-child .thumb { | ||
width: 100%; | |||
margin: 0; | |||
margin-bottom: 0.5rem; | |||
} | |||
/* Updates module */ | |||
/** | |||
* EXTREMELY HACKY | |||
* Super hacky way to get transclusion and hover works | |||
**/ | |||
#home-card-prevupdate .wikitable { | |||
display: block; | |||
overflow: visible; | |||
} | |||
#home-card-prevupdate .wikitable tbody { | |||
display: block; | |||
} | |||
#home-card-prevupdate .wikitable th { | |||
display: none; | |||
} | |||
#home-card-prevupdate .wikitable tr { | |||
position: relative; | |||
display: flex; | |||
} | |||
#home-card-prevupdate .wikitable tr > td:first-child { | |||
width: 100%; | |||
} | |||
#home-card-prevupdate .wikitable tr > td:first-child:hover ~ td { | |||
visibility: visible; | |||
} | |||
#home-card-prevupdate .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-prevupdate .wikitable tr > td:last-child .thumb { | |||
width: 100%; | width: 100%; | ||
margin: 0; | margin: 0; | ||
margin-bottom: 0.5rem; | margin-bottom: 0.5rem; | ||
} | } | ||
Revision as of 05:11, 9 February 2023
/**
* EXTREMELY HACKY
* Super hacky way to get transclusion and hover works
**/
#home-card-prevblogs .wikitable {
display: block;
overflow: visible;
}
#home-card-prevblogs .wikitable tbody {
display: block;
}
#home-card-prevblogs .wikitable th {
display: none;
}
#home-card-prevblogs .wikitable tr {
position: relative;
display: flex;
}
#home-card-prevblogs .wikitable tr > td:first-child {
width: 100%;
}
#home-card-prevblogs .wikitable tr > td:first-child:hover ~ td {
visibility: visible;
}
#home-card-prevblogs .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-prevblogs .wikitable tr > td:last-child .thumb {
width: 100%;
margin: 0;
margin-bottom: 0.5rem;
}
/* Updates module */
/**
* EXTREMELY HACKY
* Super hacky way to get transclusion and hover works
**/
#home-card-prevupdate .wikitable {
display: block;
overflow: visible;
}
#home-card-prevupdate .wikitable tbody {
display: block;
}
#home-card-prevupdate .wikitable th {
display: none;
}
#home-card-prevupdate .wikitable tr {
position: relative;
display: flex;
}
#home-card-prevupdate .wikitable tr > td:first-child {
width: 100%;
}
#home-card-prevupdate .wikitable tr > td:first-child:hover ~ td {
visibility: visible;
}
#home-card-prevupdate .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-prevupdate .wikitable tr > td:last-child .thumb {
width: 100%;
margin: 0;
margin-bottom: 0.5rem;
}