« MediaWiki:Common.css » : différence entre les versions

De Buck Wiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 7 : Ligne 7 :
}
}


/* ### CSS regarding portal pages ### */
/*
 
* Allow limiting of which header levels are shown in a TOC;
.portail {
* <div class="toclimit-3">, for instance, will limit to
background-color: #4f4f4f;
* showing ==headings== and ===headings=== but no further.
border: 2px solid #b32425;
* Used in [[Template:TOC]]
vertical-align: top;
*/
padding: 12px 15px 12px 15px;
.toclimit-2 .toclevel-1 ul,
-moz-border-radius: 10px;
.toclimit-3 .toclevel-2 ul,
-webkit-border-radius: 10px;
.toclimit-4 .toclevel-3 ul,
-khtml-border-radius: 10px;
.toclimit-5 .toclevel-4 ul,
border-radius: 10px;
.toclimit-6 .toclevel-5 ul,
}
.toclimit-7 .toclevel-6 ul {
 
display: none;
.portail h2 {
  background-color: #b32425;
  border: 1px solid #8B0000;
  font-weight: normal;
  text-align: left;
  padding: 0.2em 0.4em;
  margin: .3em 0 .5em 0;
  font-size: 1.5em;
}
 
/* Inline article preview popups */
 
.mwe-popups {
background-color:#4C4C4C !important;
color: #C1C1C1 !important;
border: 1px solid #a2a9b1 !important;
}
}



Version du 1 février 2021 à 11:05

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* Pas d'affichage de nom de page sur la page d'accueil (fr) */

.page-Accueil .firstHeading {
 	display: none;
}

/*
 * Allow limiting of which header levels are shown in a TOC;
 * <div class="toclimit-3">, for instance, will limit to
 * showing ==headings== and ===headings=== but no further.
 * Used in [[Template:TOC]]
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}

.mwe-popups-extract
{
	color: #C1C1C1 !important;
}

.mwe-popups .mwe-popups-extract:after {
	background-image: -webkit-linear-gradient(to right,rgba(244,164,96,0),#4C4C4C 50%) !important;
	background-image: linear-gradient(to right,rgba(244,164,96,0),#4C4C4C 50%) !important;	
	}
	
	/* no images */ 

.mwe-popups.flipped-x-y:after, .mwe-popups.flipped-y:after  {
	border-top: 12px solid #4C4C4C !important;
}

.mwe-popups.mwe-popups-no-image-pointer:after, .mwe-popups.mwe-popups-no-image-pointer:before {
	border-bottom: 12px solid #4C4C4C !important;
}

	/* with images */
	
.mwe-popups.mwe-popups-image-pointer:before, .mwe-popups.flipped-x.mwe-popups-is-tall:before, .mwe-popups.mwe-popups-image-pointer.flipped-x:before {
	border-bottom: 8px solid #a2a9b1 !important
}

.mwe-popups.mwe-popups-type-page.mwe-popups-fade-in-down.flipped-x-y.mwe-popups-is-tall:before, .mwe-popups.mwe-popups-type-page.mwe-popups-fade-in-down.flipped-x-y.mwe-popups-is-not-tall:before {
	border-top: 8px solid #a2a9b1 !important
}

.mwe-popups.mwe-popups-type-page.mwe-popups-fade-in-down.flipped-x-y.mwe-popups-is-tall:after {
	border-top: 12px solid #a2a9b1 !important
}