MediaWiki:Common.css
Révision datée du 6 janvier 2017 à 12:29 par Vincent Andrès (discussion | contributions) (1 http remplacé par https)
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.
/** Le CSS placé ici sera appliqué à toutes les apparences. */ /* * common.css * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue * NOTA PER GLI ADMIN: Si prega di non modificare senza preventiva discussione! */ /*<pre><nowiki>*/ #footer { clear: both } /* images */ div.floatright { float: right; margin: 0em 0.5em 0em 0.5em; } div.floatright p { font-style: italic; } div.floatleft { float: left; margin: 0em 0.5em 0em 0.5em; } div.floatleft p { font-style: italic; } /* Print-specific things to hide */ .printfooter { display: none; } /* table standards */ table { background-color:#FFFFFF; /* bianco opaco, per evitare sovrapp. con le linee dei titoli di sezione */ } table.rimage { float:right; margin-left:1em; margin-bottom:1em; text-align:center; font-size:smaller; } /* thumbnails */ div.thumb { margin: 0.5em; text-align: center; width: auto; } div.thumb div { border: 1px solid #888888; background-color: #f7f7f7; padding: 2px; font-size: 95%; text-align: center; overflow: hidden; } div.thumb div * { border: none; background: none; } div.thumb img { border:1px solid #888888; margin-bottom:3px; background:#FFFFFF; } div.thumbcaption, div.thumbcaption * { border: none !important; background: none !important; } div.thumbcaption { padding: 0.2em 0 0.2em 0 !important; text-align: left !important; } div.tright { float: right; margin-left:0.5em; } div.tleft { float: left; margin-right:0.5em; } /* Page history styling */ /* the auto-generated edit comments */ .autocomment { color: #4b4b4b; } #pagehistory span.user { margin-left: 1.4em; margin-right: 0.4em; } #pagehistory span.minor { font-weight: bold; } #pagehistory li { border: 1px solid White; } #pagehistory li.selected { background-color:#f9f9f9; border:1px dashed #aaaaaa; } table.diff { background:white; } td.diff-otitle { background:#ffffff; } td.diff-ntitle { background:#ffffff; } td.diff-addedline { background:#ccffcc; font-size: 80%; } td.diff-deletedline { background:#ffffaa; font-size: 80%; } td.diff-context { background:#eeeeee; font-size: 80%; } span.diffchange { color: red; font-weight: bold; } img { border: none; } img.tex { vertical-align: middle; } span.texhtml { font-family: serif; } #toc, .toc { border: 1px solid #bba; background-color: #f7f8ff; padding: 5px; font-size: 95%; text-align: center; } #toc h2, .toc h2 { display: inline; border: none; padding: 0; font-size: 100%; font-weight: bold; } #toc ul, .toc ul { list-style-type: none; list-style-image: none; margin-left: 0; padding-left: 0; text-align: left; } #toc ul ul, .toc ul ul { margin: 0 0 0 2em; } #toc .toctoggle, .toc .toctoggle { font-size: 94%; } .error { color: red; font-size: larger; } /* emulate center */ .center { width: 100%; text-align: center; } *.center * { margin-left: auto; margin-right: auto; } /* small for tables and similar */ .small, .small * { font-size: 94%; } table.small { font-size: 100% } /* use this instead of #toc for page content */ .toccolours { border:1px solid #aaaaaa; background-color:#f9f9f9; padding:5px; font-size: 95%; } #siteNotice { border:none; padding-left: 0.5em; padding-right: 0.5em; } .redirectText { font-size:150%; margin:5px; } /* Makes redirects appear in italics on [[Special:Allpages]] */ .allpagesredirect { font-style: italic; } .searchmatch { color: red; font-weight: bold; } .sharedUploadNotice { font-style: italic; } span.unpatrolled { font-weight:bold; color:red; } span.updatedmarker { color:black; background-color:#00FF00; } span.newpageletter { font-weight:bold; color:black; background-color:yellow; } span.minoreditletter { color:black; background-color:#C5FFE6; } table.gallery { border: 1px solid #cccccc; margin: 2px; padding: 2px; background-color:#ffffff; } table.gallery tr { vertical-align:top; } table.gallery td { vertical-align:top; background-color:#f9f9f9; border: solid 2px white; } div.gallerybox { margin: 2px; width: 150px; } div.gallerybox div.thumb { text-align: center; border: 1px solid #cccccc; margin: 2px; } div.gallerytext { font-size: 94%; padding: 2px 4px; } span.comment { font-style: italic; } span.changedby { font-size: 95%; } .previewnote { text-align: center; color: #cc0000; } .editExternally { border-style:solid; border-width:1px; border-color:gray; background: #ffffff; padding:3px; margin-top:0.5em; float:left; font-size:small; text-align:center; } .editExternallyHelp { font-style:italic; color:gray; } li span.deleted { text-decoration: line-through; color: #888; font-style: italic; } /* Classes for EXIF data display */ table.mw_metadata { margin-left: 0.5em; } table.mw_metadata caption { font-weight: bold; } table.mw_metadata th { font-weight: normal; } table.mw_metadata td { padding: 0.1em; } table.mw_metadata { border: none; border-collapse: collapse; } table.mw_metadata td, table.mw_metadata th { border: 1px solid #aaaaaa; padding-left: 4px; padding-right: 4px; } table.mw_metadata th { background-color: #f9f9f9; } table.mw_metadata td { background-color: #fcfcfc; } table.mw_metadata td.spacer { background: inherit; border-top: none; border-bottom: none; } table.collapsed tr.collapsable { display: none; } .visualClear { clear: both; } #mw_trackbacks { border: solid 1px #bbbbff; background-color: #eeeeff; padding: 0.2em; } /* Allmessages table */ #allmessagestable th { background-color: #b2b2ff; } #allmessagestable tr.orig { background-color: #ffe2e2; } #allmessagestable tr.new { background-color: #e2ffe2; } #allmessagestable tr.def { background-color: #f0f0ff; } #jump-to-nav { display: none; } /* caratteri per i template IPA, Unicode, polytonic */ /* "Inherit" resetta i fonts per tutti i browser eccetto MSIE6. Il commento vuoto deve essere presente */ .IPA { font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode; font-family /**/:inherit; } .Unicode { font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode; font-family /**/:inherit; } .polytonic { font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; font-family /**/:inherit; } /* Stili per Wikipedia:CommonsTicker */ .tList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; } .tList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; } .tAction_deleted:before { content:" [CANC] "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_replaced:before { content:" [SOST] "; color: #880088; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_addedTag:before { content:" [+TAG] "; color: #DD6600; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_removedTag:before { content:" [-TAG] "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_addedBad:before { content:" [+TAG] "; color: #DD6600; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_removedBad:before { content:" [-TAG] "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_addedGood:before { content:" [+ OK] "; color: #00AA00; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_removedGood:before { content:" [- OK] "; color: #DD6600; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_replacedOwn:before { content:" [INFO] "; color: #808080; font-family:monospace; font-weight:bold; font-size:100%; } .tAction_deletedRev:before { content:" [INFO] "; color: #808080; font-family:monospace; font-weight:bold; font-size:100%; } .tUsage { font-size:80%; } /* ticker usage list */ .tTemplateEntry { font-weight: bold; } /* entry applies to a template used by multiple images */ /* make the list of references look smaller */ ol.references { font-size: 100%; } .references-small { font-size: 90%;} /* Class for links with loudspeaker icon next to them */ /* copiata da en.wiki per fare link con l'icona di un altoparlante */ .audiolink a{ background: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png") center left no-repeat !important; padding-left: 16px !important; padding-right: 0 !important; } .AvvisoTrasferito { background-color: #EEF8FF; border: 1px solid black; margin: 5px; padding: 5px; } /* Geographical coordinates To display coordinates using the notation in the source code, write this in your User:Username/monobook.css: .geo-default { display: inline } .geo-nondefault { display: none } .geo-dec { display: inline } .geo-dms { display: inline } To display coordinates using decimal notation, write this in your User:Username/monobook.css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: inline } .geo-dms { display: none } To display coordinates using DMS notation, write this in your User:Username/monobook.css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: none } .geo-dms { display: inline } To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css: .geo-default { display: inline } .geo-nondefault { display: inline } .geo-dec { display: inline } .geo-dms { display: inline } .geo-multi-punct { display: inline } See [[Template:Coor link]] for how these are used. Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed. */ .geo-default { display: inline; } .geo-nondefault { display: none; } .geo-dms { display: inline; } .geo-dec { display: inline; } .geo-multi-punct { display: none; } .longitude .latitude { white-space: nowrap; } /* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */ .geo { } /***** end Geo-related */ /** BOÎTES ET MESSAGES **/ /* BANDEAUX D'AVERTISSEMENT */ /* style par défaut des bandeaux d'avertissement décidés sur Wikipédia:Prise de décision/Changement de style des messages d'avertissement Utilisé dans Modèle:Méta bandeau d'avertissement */ .bandeau { /* monobookocentré */ text-align: left; margin: 8px 10% 12px; border-style: solid; border-width: 1px 1px 1px 10px; padding: 2px 10px; } .bandeau table { background-color: transparent } .bandeau-niveau-grave { border-color: #aa0044; background-color: #ffcccc } .bandeau-niveau-modere { border-color: #ff8822; background-color: #ffeedd } .bandeau-niveau-ebauche { border-color: #ff8822; background-color: #ffeedd } .bandeau-niveau-information { border-color: #77ccff; background-color: #fbfbfb } .bandeau-icone { vertical-align: middle; text-align: center; min-width: 45px; padding-right: 10px } .bandeau-titre { font-size: 1em; line-height: 1.4em; margin-bottom: 0.5em } .bandeau-texte { font-size: 0.9em; line-height: 1.2em } /* MESSAGEBOX */ /* Styles des « messagebox » standard. Utilisation : * class="messagebox" : voir [[modèle:Messagebox]]. * class="messagebox merge" : inutilisé ? * class="messagebox cleanup" pour certains bandeaux de maintenance (exemple sur [[modèle:Résumé introductif]]) * class="messagebox standard-talk" pour les bandeaux en page de discussion des aricles (exemple : [[modèle:Traduit de]]) */ .messagebox { /* monobookocentré */ border:1px solid #AAA; background:#F9F9F9; width:80%; margin:0 auto 1em auto; padding:.2em; text-align:justify; } .messagebox.merge { /* monobookocentré */ border:1px solid #CF9FFF; background:#F5EDF5; text-align:center; } .messagebox.cleanup { /* monobookocentré */ border:1px solid #9F9FFF; background:#EFEFFF; text-align:center; } .messagebox.standard-talk { /* monobookocentré */ border:1px solid #C0C090; background:#F8EABA; } /* MESSAGES D'ALERTE */ /* Styles par défaut pour les bandeaux en haut des articles. Syntaxe : Styles décidés suite à [[Projet:Charte graphique/Harmonisation des messages d'avertissement]] et [[Wikipédia:Prise de décision/Harmonisation des messages d'avertissement]]. */ /* Classe pour toutes les alertes. */ .alerte { /* monobookocentré */ padding:.11em; background:#FFD; margin-bottom:.4em; font-style:italic; } /* Classe supplémentaire pour les alertes graves. */ .grave { border:1px solid #F96 } /* monobookocentré */ /*</nowiki></pre>*/