MediaWiki:Common.css

De Wikimedica

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

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

#content { margin-top: 0px; }

@media (min-width:999px) {
	
	/* Display a background behinf the title of the page. */
	#firstHeading-wrapper 
	{
		width: 100%;
		min-height: 250px;
		background-image: linear-gradient(0deg, #695d5c 0%, #695d5c40 40%), url("/images/5/5c/Bannière_d%27accueil.png");
		background-size: cover;
		margin-bottom: 0.25em;
		border-bottom: 1px solid #a2a9b1;
		position: relative;
	    background-position: center;
	}
	#firstHeading-wrapper[data-title*="Gestion:"] /* Distinctive image for pages in the Gestion namespame*/
	{
		background-image: linear-gradient(0deg, #000000 0%, #00000040 40%), url("https://upload.wikimedia.org/wikipedia/commons/d/dc/PLoSBiol4.e126.Fig6fNeuron.jpg");
	}
	
	#firstHeading-wrapper > h1
	{
		margin-bottom: 0;
		border-bottom: none;
		margin-bottom: 0;
		font-family: helvetica;
		font-size: 3em;
		position: absolute;
		bottom: 0;
		left: 0;
		margin: 0.25em;
		font-weight: bold;
		color: white;
	}
}

@media (max-width:999px) {
	/* Display the title of the page as intended by MediaWiki. */
	.mw-body-header #firstHeading-wrapper { background: none; }
	header.vector-page-titlebar { justify-content: normal; }
}
.wikimedica-box
{
    margin: 5px 10% 5px 10%;
    padding: 10px;
    border-style: solid;
    overflow: hidden;
    font-size: 100%;
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
}

.wikimedica-sidebox  { width: auto; }

@media (min-width:720px)
{
    .wikimedica-sidebox 
    { 
        float: right; 
        margin:0.5em 0 0.5em 1em; 
        clear: right;
        width: 290px;
    }
    
    .wikimedica-sidebox-typed
    { 
        width: 280px;
    }
}

#footer-poweredbyico a
{
	margin-left: 5px;
}

/* Pour le modèle Information concept. Ne peut être placé à même le modèle (Voir Wikimedica:Tâches/Liste/48) */
.information th, .information td { vertical-align: top; text-align:left; }
.information ul, .information ol { margin-top: 0px; }
.information table { border-spacing: 3px; }
.information img { width: 100%; height: auto; }

/* Hide elements which are given this class (they are shown again by Mobile.css. */
.mobileonly { display:none; }

/* For elements that should only be visible in print.*/
.printonly
{
	display: none;
}

/* Diminue l'intésité de la couleur des liens vers des pages inexistantes. */
a.new { color: #710000; }

/* Cache les liens vers ces pages dans le footer, ils ont été délacé dans les conditions d'utilisation. */
#footer-places-privacy { display: none; }
#footer-places-disclaimer { display: none; }

#ca-ve-edit { font-weight: bold; }
.mw-editsection-visualeditor { font-weight: bold; }

#toc 
{ 
	float: right;
	clear: both;
	width: 300px;
	margin-left: 5px;
}

.mw-capiunto-infobox 
{ 
	width: 310px;
	max-width: 310px;
}
.mw-capiunto-infobox tr
{ 
	word-break: break-word;
}
.mw-capiunto-infobox th
{ 
	width: 100px;
}

.errorbox { 
    padding: 10px;
    border-style: solid;
    margin-bottom: 2em;
    overflow: hidden;
    font-size: 150%;
    background-color: #ffcfcf;
    color: #d33;
    border: 1px solid #d33;
}

.flow-post-new 
{
	border-left: #f9aabe solid 5px;
	padding-left: 5px;
}

.ve-area-wrapper { height: 800px; }

/* Style des titres et sous-titres (voir Wikimedica:Tâches/Liste/106) */
.mw-body h2 { font-size:1.6em; }
.mw-body h3 { font-size:1.3em; font-style:italic; font-weight:bold; text-decoration: underline; }
.mw-body h4 { font-size:1.2em; font-style:normal; font-weight:bold; text-decoration: underline; }
.mw-body h5 { font-size:1.1em; font-style:normal; font-weight:bold; text-decoration: normal; }
.mw-body h6 { font-style: normal; font-weight:normal; text-decoration: underline; }

/* For the Drafts extension, because setting inline CSS does not work. */
.mw-htmlform-field-HTMLSubmitField
{
    display: inline-block;
    margin-right: 1em;
}

/* Menu de gauche et en tête (Gestion:Tâches/Liste/221/13) */

#mw-panel #p-tb-label {
	cursor: pointer;
	display: flex;
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}

#p-tb-label:hover{
    background-color: rgba(0,0,0,0.03);
}

#p-tb-label:after {
    content: '';
    display: block;
    min-width: 0.65em;
    min-height: 0.65em;
    margin-left: 0.25em;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 0.65em 0.65em;
    background-position: center;
    background-image: url(/w/load.php?modules=mobile.ooui.icons&image=expand&format=rasterized&skin=minerva&version=g2vdu);
    background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Eexpand%3C/title%3E%3Cpath d=%22M17.5 4.75l-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z%22/%3E%3C/svg%3E");
}

#p-tb-label.not-collapsed:after {
    -webkit-transform: scaleY(-1);
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    transform: scaleY(-1);
}


.collapsed {
    display: none!important;
}

.flow-board-header-footer p {
	display: none; /* Hide this section because it only displays the copyright.*/
}

.mw-sidebar-action { display:none; } /* Hide the link that allows switching back to the old version of the Vector skin. */

.mw-search-exists { font-size: 1.5em; } /* Make the label telling the user a page with that name exists much larger. */

table.mw-collapsed > caption { width: 500px; } /* Do not compress table caption when collapsed. */

/* Do not display links to non existing categories in red. */
#mw-normal-catlinks > ul > li > a { color: #0645ad; }
#mw-normal-catlinks > ul > li > a:visited { color: #0b0080; }

.ext-mermaid { overflow: scroll; }

.guider { hyphens: none; } /* Prevent text hyphenation on guided tours popups. */

/* Do not display the full label for the citation button in flow.*/
.flow-board .oo-ui-widget.oo-ui-iconElement.oo-ui-tool-with-icon.oo-ui-tool.oo-ui-tool-name-citoid.oo-ui-tool-with-label.oo-ui-tool-name-citefromid .oo-ui-tool-title { display: none; } /* Save toolbar space in the Flow reply form. */

/* The tour loader includes the page footer in some dialogs. Hide it.*/
.guider .hf-nsfooter { display: none; }