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

De Wikimedica
(Forcage de la hauteur pour VEForAll)
(Réglage de CSS en ligne à cause d'un bogue)
Ligne 141 : Ligne 141 :
.mw-body h5 { font-size:1.1em; font-style:normal; font-weight:bold; text-decoration: normal; }
.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; }
.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;
}

Version du 23 septembre 2020 à 00:32

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

.wikimedica-box
{
    margin: 5px 10% 5px 10%;
    padding: 10px;
    border-style: solid;
    overflow: hidden;
    font-size: 100%;
    border-radius: 5px;
}

.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;
}

.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;
}

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

/* Arrière plan de Wikimedica. */
body { 
	height: inherit;
	background-color: transparent;
}
html {
	background-image: url('/images/7/7a/Background_wiki.jpg');
	background-repeat: no-repeat;
	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. */
#footer-places-privacy { display: none; }
#footer-places-disclaimer { display: none; }

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

#toc 
{ 
	border-radius: 5px; 
	float: right;
	clear: both;
	width: 300px;
	margin-left: 5px;
}
.thumbinner { border-radius: 5px; }
#catlinks { border-radius: 5px; }
#content { border-bottom-left-radius: 5px; }
.mw-capiunto-infobox 
{ 
	border-radius: 5px;
	width: 310px;
	max-width: 310px;
}
.mw-capiunto-infobox tr
{ 
	word-break: break-word;
}
.mw-capiunto-infobox th
{ 
	width: 100px;
}

.menu { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
#simpleSearch { border-radius: 5px; }
#oo-ui-popupWidget-popup { border-radius: 5px; }
.errorbox { border-radius: 5px; }

.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;
}