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

De Wikimedica
(Restitution CSS de l'ancienne version du CSS pour faire des captures d'écran de la vielle version du site)
Aucun résumé des modifications
 
(39 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages. */
/* 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
.wikimedica-box
{
{
Ligne 8 : Ligne 50 :
     overflow: hidden;
     overflow: hidden;
     font-size: 100%;
     font-size: 100%;
     border-radius: 5px;
    background-color: #f8f9fa;
     border: 1px solid #a2a9b1;
}
}


Ligne 32 : Ligne 75 :
{
{
margin-left: 5px;
margin-left: 5px;
}
.linkedwiki_current_value {
  display: block;
  background-image: url(MW-Icon-Warning.png);
}
.linkedwiki_tooltip {
    position: relative;
}
.linkedwiki_tooltip:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
width: 0;
height: 0;
    display: block;
border-left: 15px solid transparent;
border-bottom: 15px solid transparent;
border-top: 15px solid #f00;
}
}


Ligne 74 : Ligne 94 :
/* Diminue l'intésité de la couleur des liens vers des pages inexistantes. */
/* Diminue l'intésité de la couleur des liens vers des pages inexistantes. */
a.new { color: #710000; }
a.new { color: #710000; }
/* Arrière plan de Wikimedica. */
body {
height: inherit;
background-color: transparent;
}
html {
background-image: url('/images/7/7a/Background_wiki.jpg');
background-repeat: repeat-x;
background-position: bottom left;
min-height: 100%;
background-color: #f6f6f6;
height: inherit;
}


/* Cache les liens vers ces pages dans le footer, ils ont été délacé dans les conditions d'utilisation. */
/* Cache les liens vers ces pages dans le footer, ils ont été délacé dans les conditions d'utilisation. */
Ligne 98 : Ligne 104 :
#toc  
#toc  
{  
{  
border-radius: 5px;
float: right;
float: right;
clear: both;
clear: both;
Ligne 104 : Ligne 109 :
margin-left: 5px;
margin-left: 5px;
}
}
.thumbinner { border-radius: 5px; }
 
#catlinks { border-radius: 5px; }
#content { border-bottom-left-radius: 5px; }
.mw-capiunto-infobox  
.mw-capiunto-infobox  
{  
{  
border-radius: 5px;
width: 310px;
width: 310px;
max-width: 310px;
max-width: 310px;
Ligne 122 : Ligne 124 :
}
}


.menu { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
.errorbox {  
#simpleSearch { border-radius: 5px; }
    padding: 10px;
#oo-ui-popupWidget-popup { border-radius: 5px; }
    border-style: solid;
.errorbox { border-radius: 5px; }
    margin-bottom: 2em;
    overflow: hidden;
    font-size: 150%;
    background-color: #ffcfcf;
    color: #d33;
    border: 1px solid #d33;
}


.flow-post-new  
.flow-post-new  
Ligne 148 : Ligne 156 :
     margin-right: 1em;
     margin-right: 1em;
}
}
/* Hide this section to free up some space in the left sidebar .*/
#p-coll-print_export {
display: none;
}


/* Menu de gauche et en tête (Gestion:Tâches/Liste/221/13) */
/* Menu de gauche et en tête (Gestion:Tâches/Liste/221/13) */
Ligne 181 : Ligne 183 :
     background-position: center;
     background-position: center;
     background-image: url(/w/load.php?modules=mobile.ooui.icons&image=expand&format=rasterized&skin=minerva&version=g2vdu);
     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);
     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");
}
}


Ligne 200 : Ligne 202 :
display: none; /* Hide this section because it only displays the copyright.*/
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; }

Dernière version du 20 février 2024 à 15:42

/* 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; }