MediaWiki:Mobile.css

Une nouvelle de Wikinews, la source d'informations que vous pouvez écrire.

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.
/* CSS placed here will affect users of the mobile site */

/**
 * BALISES
 */

sup,
sub {
	line-height: 0.75em;
}

dfn {
	font-style: normal;
	font-weight: bold;
}
i > dfn {
	font-style: italic;
}

/**
 * TRUCS UTILES
 */

.italique {
	font-style: italic;
}
.italique i {
	font-style: normal;
}

/* [[Modèle:Indication de langue]] et [[Modèle:Lien]]. */
.indicateur-langue,
.indicateur-format {
	font-family: monospace;
	font-weight: bold;
	font-size: small;
	font-style: normal;
	word-spacing: -0.4em;
}

/* Affichage des chiffres romains, voir [[modèle:Rom]] ou [[modèle:Romain]]. */
.romain {
	text-transform: lowercase;
	font-variant: small-caps;
}

.nowrap,
.mw-magiclink-isbn {
	white-space: nowrap;
}

/* Liens "petit crayon" créés par [[Module:Wikidata]] */
.wikidata-linkback {
	padding-left: 0.5em;
	/* Pour les copier-collers, retire les alternatives textuelles
           "Voir et modifier les données sur Wikidata" */
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Numérotations différentes pour les notes de bas de page. */
.references-small.lower-alpha ol {
	list-style-type: lower-alpha;
}
.references-small.lower-greek ol {
	list-style-type: lower-greek;
}
.references-small.decimal ol,
.references-small.lower-alpha ol ol,
.references-small.lower-greek ol ol {
	list-style-type: decimal;
}

/* Balise abbr discrète */
abbr.abbr {
	text-decoration: none;  /* Firefox, Chrome */
	border-bottom: 0;  /* IE */
}

/* Classe de masquage, remplace display:none. Contenu non affiché mais lisible par les lecteurs d'écrans. */
.hidden {
	position: absolute;
	left: 0;
	top: -5000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
caption.hidden {
	position: static;
	text-indent: -5000px;
}

/* Réserver un contenu à l'impression (display rétabli dans MediaWiki:Print.css) */
.printcssonly {
	display: none;
}

/* Message-système des sous-pages de discussion. Classe .fieldsetlike etc.
   pour permettre la réutilisation de ces styles. */
.fieldsetlike {
	text-align: center;
	border: 1px solid #aaa;
	margin: 1em 0;
	padding: 0 0 0.4em 0;
}
.fieldsetlike .legendlike {
	margin-top: -0.8em;
}
.fieldsetlike .legendtextlike {
	padding: 0 8px;
	background: white;
}
.fieldsetlike ul {
	list-style-type: none;
	margin: 0;
}
.fieldsetlike li {
	display: inline;
	white-space: nowrap;
}
.fieldsetlike li:not(:last-child):after {
	content: '\a0- ';
}
#talkpageheader li {
	color: #707070;
}

/**
 * TABLEAUX
 */

.wikitable th[scope=row] {
	text-align: left;
}

.alternance,
.alternance2 {
	border-collapse: collapse;
}

table.alternance > * > tr > th,
table.alternance2 > * > tr > th {
	background: #e6e6e6;
}

.alternance tr,
.alternance th[scope="row"] {
	background: #fcfcfc;
}

.alternance tr:nth-child(odd),
.alternance tr:nth-child(odd) th[scope="row"] {
	background: #eeeeee;
}

.alternance2 tr,
.alternance2 th[scope="row"] {
	background: #eeeeee;
}

.alternance2 tr:nth-child(odd),
.alternance2 tr:nth-child(odd) th[scope="row"] {
	background: #fcfcfc;
}

/**
 * MISES EN FORME PARTICULIÈRES DES LISTES
 */

/* Classe pour les listes horizontales séparées par des puces.
   Adaptation de la classe 'hlist' de en:User:Edokter.
   (cf. [[mw:Snippets/Horizontal lists]]).
*/
.liste-horizontale ul,
.liste-horizontale li {
	margin: 0;
	padding: 0;
}
.liste-horizontale ul ul,
.liste-horizontale li {
	display: inline;
}
.liste-horizontale li:after {
	content: " · ";
	font-weight: bold;
}
.liste-horizontale li:last-child:after {
	content: none;
}
.liste-horizontale li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.liste-horizontale li li:last-child:after {
	content: ") ";
	font-weight: normal;
}

/**
 * Listes sans puces
 */

.liste-simple ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.liste-simple ul li {
	margin-bottom: 0;
}

/* Style par défaut des bandeaux de portail décidés sur
   [[Wikipédia:Prise de décision/Bandeaux de portails]]
   Utilisé dans [[Modèle:Méta lien vers portail]] et [[Modèle:Portail]]. */
#bandeau-portail {
	border: solid #aaa 1px;
	background-color: #f9f9f9;
	/*text-align: center;*/ /* lorsque faible largeur, mieux avec alignement à gauche */
	margin-top: 1em;
	overflow-x: auto; /* scroll sur le cadre pour éviter scroll sur la page entière */
}
#bandeau-portail,
#liste-portail {
	padding: 4px;
	margin-left: 0;
	clear: both;
}
#liste-portail li,
#bandeau-portail li{
	display: inline;
}
.bandeau-portail-element {
	white-space: nowrap;
	margin: 0 1.5em;
}
.bandeau-portail-icone {
	margin-right: 0.5em;
}
.bandeau-portail-texte {
	font-weight: bold;
}

/**
 * TYPES DE BOITES
 */

.bandeau-discussion,
.bandeau-article,
.bandeau-simple,
.bandeau-systeme {
	clear: both;
	margin: 8px 0 12px;
	border-style: solid;
	border-width: 1px 0;
	padding: 2px 5px;
	text-align: left;
}
div.bandeau-section {
	display: block;
	margin: 0 0 .7em 0;
	overflow: hidden;
	
	border-style: solid;
	border-width: 1px 0;
	padding: 2px 0 1px 4px;
	text-align: left;
}
.bandeau-cell {
	display: table-cell;
}
.homonymie .bandeau-icone {
	/* @noflip */
	padding-right: 0.5em;
}
.bandeau-container:not('.homonymie') .bandeau-icone {
	display: none;
}
.bandeau-cell p:last-child {
	margin-bottom: 0;
}

/**
 * STYLES DE BOITES
 */
 
/* Style des bandeaux d'articles, voir [[Wikipédia:Prise de décision/Changement de style des messages d'avertissement]] */
 
.bandeau-niveau-grave {
	border-color: #aa0044;
	background-color: #ffcccc;
}
.bandeau-niveau-modere {
	border-color: #ff8822;
	background-color: #ffeedd;
}
.bandeau-niveau-information {
	border-color: #77ccff;
	background-color: #fbfbfb;
}
.bandeau-niveau-ebauche {
	display: none;
}
.bandeau-niveau-detail,    /* voir [[Wikipédia:Prise de décision/Unification des modèles : article détaillé et Loupe]] */
.bandeau-section.bandeau-niveau-information {
	border-color: #e7e7e7;
	background-color: #fdfdfd;
}

/**
 * COLONNES DES PORTAILS
 */
.portail-gauche,
.portail-droite {
	box-sizing: border-box;
}
.portail-gauche {
	float: left;
	padding-right: 1.2rem;
}
.portail-droite {
	float: right;
}
@media screen and (max-width: 981px) {
	.portail-gauche,
	.portail-droite {
		float: none;
		width: auto !important;
	}
	.portail-gauche {
		padding-right: 0;
	}
}

/* Infobox V2 (voir : [[Projet:Infobox/V2]]) */
.infobox_v2 {
	font-size: 90%;
	line-height: 1.1em;
	border-spacing: 5px;
	border-collapse:separate;
	background: #f9f9f9;
}
.infobox_v2 th {
	vertical-align: super;
	text-align: left;
}
.infobox_v2 .entete {
	height: 43px;
	vertical-align: middle;
	text-align: center;
	font-size: 140%;
	font-weight: bolder;
	line-height: 1.1em;
	color: #000;
}
/* Pour [[Modèle:Image et son]], etc. */
.infobox_v2 .media {
	height: 35px;
	vertical-align: middle;
	text-align: center;
	font-weight: bolder;
	color: #000;
}

@media screen and (min-width: 720px) {
	table.infobox_v2 {
		width: 294px !important;
	}
	table.infobox_v2,
	.infobox_v3 {
		clear: right;
		float: right !important;
		margin: 0 0 0.5em 1em;
	}
}

/* Infobox V3 */
div.infobox_v3 {
	font-size: 0.9em;
	line-height: 1.4em;
	max-width: 325px;
	margin: auto;
	word-wrap: break-word;
	background: #f9f9f9;
}
.infobox_v3 .entete {
	display: table;
	height: 45px;
	width: 100%;
	font-weight: bold;
	text-align: center;
	font-size: 1.4em;
	line-height: 1.1em;
	margin-bottom: 10px;
	background-color: #dfedff;
}
.infobox_v3 .entete > div {
	display: table-cell;
	vertical-align: middle;
	padding: 3px;
}

/* Images */
.infobox_v3 .images {
	text-align: center;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.infobox_v3 .images a {
	max-width: 100%;
}
.infobox_v3 .deux-images a {
	max-width: 48%;
}
.infobox_v3 .images img {
	max-width: 100%;
	height: auto;
}
.infobox_v3 .legend {
	font-size: 0.9em;
	text-align: center;
	margin: 5px 0 8px 0;
}
/* Tableaux */
.infobox_v3 table {
	width: 100% !important;
	margin: 5px 0;
	table-layout: fixed;
	border-collapse: collapse;
}
.infobox_v3 th[scope="col"] {
	text-align: center;
	word-wrap: normal;
}
.infobox_v3 th[scope=row] {
	text-align: left;
	padding-right: 10px;
	width: 8em;
	max-width: 140px;
	word-wrap: normal;
}
.infobox_v3 th[scope=row],
.infobox_v3 td {
	padding-top: 4px;
	vertical-align: super;
}
.infobox_v3 .middle {
	vertical-align: middle;
}
.infobox_v3 .left td {
	text-align: left;
}
.infobox_v3 .vborder td {
	border-left: 1px dotted #aaa;
}
.infobox_v3 .vborder td:first-child {
	border-left: none;
}
.infobox_v3 .data {
	text-align: center;
}
/* Titres bloc et caption tableaux */
.infobox_v3 .bloc,
.infobox_v3 .bordered,
.infobox_v3 caption {
	font-weight: bold;
	text-align: center;
	line-height: 1.1em;
	margin: 0 0 5px 0;
	padding: 4px;
}
.infobox_v3 caption,
.infobox_v3 .bloc {
	background: #dfedff;
}
.infobox_v3 .bloc {
	margin: 5px 0;
}
.infobox_v3 .bordered {
	border-top: 1px solid #dfedff;
	border-bottom: 1px solid #dfedff;
	background: transparent;
}
/* TODO : mettre à jour la classe .hidden générique */
.infobox_v3 caption.hidden {
	margin: 0 !important;
	padding: 0 !important;
}
/* Séparateur */
.infobox_v3 .hr {
	font-size: 1px;
	line-height: 1px;
	margin: 5px 0;
	background-color: #dfedff;
}
.infobox_v3 .hr.collapse {
	margin: 5px 0 -8px 0;
}
/* Tnavbar */
.infobox_v3 .navbar {
	text-align: right;
	font-size: 0.8em;
}
.infobox_v3 .navbar .plainlinks {
	float: left;
}
/* Navigateur */
.infobox_v3 .overflow {
	overflow: hidden;
}
.infobox_v3 .bordered.nav,
.infobox_v3 .bordered.navbar {
	border-bottom: 0 !important;
	font-weight: normal !important;
}
.infobox_v3 .prev a,
.infobox_v3 .prev_bloc {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/49/ArrowLeftNavbox.svg/12px-ArrowLeftNavbox.svg.png") no-repeat left center;
	float: left;
	max-width: 40%;
	padding: 0 0 0 18px;
	text-align: left;
}
.infobox_v3 .next a,
.infobox_v3 .next_bloc {
	background: url("//upload.wikimedia.org/wikipedia/commons/thumb/1/10/ArrowRightNavbox.svg/12px-ArrowRightNavbox.svg.png") no-repeat right center;
	float: right;
	max-width: 40%;
	padding: 0 18px 0 0;
	text-align: right;
}
/* Divers */
.infobox_v3 table.maillot-equipe td {
	padding: 0;
}
.infobox_v3 table.maillot-equipe {
	table-layout: auto;
}

/* Graphiques transparents d'en-têtes des Infobox */
.entete {
	background-position: right center;
	background-repeat: no-repeat;
}

/* Page d'accueil 2017 */

.accueil_2017_cadre {
	margin-bottom: 1.5rem;
}

.accueil_2017_cadre h2 {
	font-variant: small-caps;
	letter-spacing: 0.01em;
	border-bottom: solid 0.2rem #bdd8fb;
	padding-bottom: 0.4em;
	margin-bottom: 0.2em;
}

.accueil_2017_pied {
	margin-top: 1.2em;
	font-size: 85%;
	text-align: right;
}

#accueil_2017_contenu .portail-gauche,
#accueil_2017_contenu .portail-droite {
	float: none;
}
#accueil_2017_contenu .portail-gauche {
	padding-right: 0;
}

/* Correctif temporaire en attendant la résolution de T216318. 
   Annule les attributs width=0 et height=0 de l'image générée par <timeline>. */
div.timeline-wrapper > img.image-lazy-loaded {
    width: auto;
    height: auto;
}

q {
  quotes: "«\a0" "\a0»";
  font: inherit;
}