« Modèle:Main page/latestprojects/styles.css » : différence entre les versions

De Wiki Electrolab
(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... »)
 
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 6 : Ligne 6 :
display: block;
display: block;
overflow: visible;
overflow: visible;
margin:0;
}
}


Ligne 25 : Ligne 26 :
}
}


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


#home-card-latestprojects .wikitable tr > td:last-child {
#home-card-latestprojects .wikitable tr > td:last-child {

Version actuelle datée du 3 mai 2023 à 22:15

/**
 * EXTREMELY HACKY
 * Super hacky way to get transclusion and hover works
**/
#home-card-latestprojects .wikitable {
	display: block;
	overflow: visible;
	margin:0;
}

#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: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.