Modèle:Main page/latestprojects/styles.css

De Wiki Electrolab
< Modèle:Main page/latestprojects
Révision datée du 3 mai 2023 à 22:09 par Electrolab (discussion | contributions) (Page créée avec « →‎* * EXTREMELY HACKY * Super hacky way to get transclusion and hover works * : #home-card-latestprojects .wikitable { display: block; overflow: visible; } #home-card-latestprojects .wikitable tbody { display: block; } #home-card-latestpatch .wikitable th { display: none; } #home-card-latestprojects .wikitable tr { position: relative; display: flex; } #home-card-latestprojects .wikitable tr > td:first-child { width: 100%; } #home-card-latestprojects... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
/**
 * EXTREMELY HACKY
 * Super hacky way to get transclusion and hover works
**/
#home-card-latestprojects .wikitable {
	display: block;
	overflow: visible;
}

#home-card-latestprojects .wikitable tbody {
	display: block;
}

#home-card-latestpatch .wikitable th {
	display: none;
}

#home-card-latestprojects .wikitable tr {
	position: relative;
	display: flex;
}

#home-card-latestprojects .wikitable tr > td:first-child {
	width: 100%;
}

#home-card-latestprojects .wikitable tr > td:first-child:hover ~ td {
	visibility: visible;
}

#home-card-latestprojects .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-latestprojects .wikitable tr > td:last-child .thumb {
	width: 100%;
	margin: 0;
	margin-bottom: 0.5rem;
}
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.