MediaWiki:Common.css

De USAC-CGT
Aller à la navigation Aller à la recherche

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */

/* Style pour la CGTBox */
.CGTBox {
	padding: 5px;
	width: 25em;
	background: #f9f9f9;
	border: 1px solid #aaa;
	clear: right;
	float: right;
	font-size: 0.9em;
	line-height: 1.4;
	margin: 0 0 0.5em 1em;
	max-width: 325px;
	word-wrap: break-word;
}
.CGTBox .titre {
	font-weight: bold;
	text-align: center;
	font-variant: small-caps;
	font-size: 1.4em;
	line-height: 1.1;
	margin-bottom: 1em;
	background-color: #335F7F;
	color: #FFF;
	padding: 0.5rem 0;
}
.CGTBox .subSectionTitle {
	font-weight: bold;
	text-align: center;
	font-variant: small-caps;
	margin-top: 1em;
	margin-bottom: 0.6em;
	background-color: #CDDFEB;
	padding: 0.2rem;
}

/* Style pour les liste de liens "rectangulaire" */
.CGTlinks > p {
	display: flex;
	align-items: center;
}
.CGTlinks > p > a {
	width: 6.7rem;
	height: 10rem;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.7em;
	background-color: #CDDFEB;
	border: 1px solid #679CC3;
	color: #000;
	margin: 0 1rem;
	text-align: center;
	/* Centré verticalement */
	display: flex;
	align-items: center;
	justify-content: center;
}