Différences entre les versions de « MediaWiki:Common.css »

De Wikirouge
Aller à la navigation Aller à la recherche
m (Page blanchie)
m
Ligne 1 : Ligne 1 :
 +
/* Le CSS placé ici sera appliqué à tous les habillages. */
  
 +
 +
#mobileview, #about { display: none ! important; }
 +
 +
#mw-prefsection-editing-advancedediting, #mw-prefsection-editing-labs, #mw-prefsection-editing-fckeditor { display: none; }
 +
 +
 +
/***** Page d'accueil *****/
 +
 +
#mainpage table { padding-top: 10px; padding-bottom: 10px; }
 +
#mainpage table a { font-size:0.85em; }
 +
#mainpage table table td { padding-top : 0px ; border: 1px solid black; border-radius: 5px; }
 +
#mainpage table table b { display: block; text-align: center; text-transform: uppercase; color: #A50000; }
 +
 +
 +
/***** Styles de pages *****/
 +
 +
/* masquer les liens [modifier] sur titres 3 et 4 */
 +
h3 .mw-editsection, h4 .mw-editsection { display: none; }
 +
 +
/* augmenter l'espace entre les puces, sauf si elles ont une class, comme la table des matières */
 +
/* #mw_content li:not([class]) { margin-bottom: 0.8em; } */
 +
 +
/* justifier et limiter largeur du texte pour la lisibilité */
 +
#mw-content-text {max-width: 850px; text-align: justify; }
 +
#mw-content-text img {max-width: 850px; }
 +
 +
blockquote
 +
{
 +
font-style: italic;
 +
padding-left: 20px;
 +
padding-right: 8px;
 +
border-style: solid;
 +
border-color: #ccc;
 +
border-width: 0;
 +
border-left-width: 5px;
 +
}
 +
 +
/* Flèches de CategoryTree (ex: Catégorie:Continents) en rouge */
 +
.CategoryTreeToggle { color: #A50000; }
 +
 +
/* Modèle:Abréviation_discrète */
 +
abbr.abbr { text-decoration: none!important; }
 +
 +
 +
/***** Tables des matières *****/
 +
 +
/* ne pas numéroter les tables de matière 3 */
 +
.tocnumber { display: none; }
 +
 +
#toctitle { border-bottom: 0; }
 +
#toc a { text-decoration-style: solid; }
 +
.toctoggle { display: none; }
 +
 +
 +
 +
/***** Footer
 +
 +
#f-list { float: left; }
 +
#mw_bloc-central { margin-right: auto; margin-left: auto; text-align:center; }
 +
#mw_copyright, #mw_poweredby { float: right; }
 +
*****/
 +
 +
 +
/***** Modèles *****/
 +
 +
 +
/* style "Modèle:Article détaillé" */
 +
.detail { font-style: italic; border-bottom: brown; margin-bottom: 10px; }
 +
.detail:before { content: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/15px-Exquisite-kfind.png); }
 +
 +
/* style "Modèle:Attention" */
 +
.alerte { font-style: italic; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; background: #FF9C9C; }
 +
 +
/* style "Modèle:Désambiguation" */
 +
.desambiguation { font-style: italic; }
 +
 +
 +
/* [[Modèle:Nobr]] */
 +
.nowrap { white-space: nowrap; }
 +
 +
 +
 +
/***** CKeditor *****/
 +
 +
 +
/* Supprimer la bordure bleue sur le nouveau CKeditor */
 +
.wikiEditor-ui .wikiEditor-ui-view { border: none!important; }
 +
.wikiEditor-ui .wikiEditor-ui-top { border: none!important; }
 +
.cke_chrome { padding: 0!important; }
 +
 +
 +
/* style interieur du Ckeditor */
 +
/*iframe .cke_editor p { text-align: justify; } */
 +
/* FAIRE AVEC ckeditor/contents.css */
 +
 +
 +
/*
 +
.ImagePreviewBox img { max-height: 200px;  max-width: 300px; }
 +
.ImagePreviewBox { overflow: unset!important; }
 +
*/

Version du 24 novembre 2017 à 01:15

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


#mobileview, #about { display: none ! important; }

#mw-prefsection-editing-advancedediting, #mw-prefsection-editing-labs, #mw-prefsection-editing-fckeditor { display: none; }


/***** Page d'accueil *****/

#mainpage table { padding-top: 10px; padding-bottom: 10px; }
#mainpage table a { font-size:0.85em; }
#mainpage table table td { padding-top : 0px ; border: 1px solid black; border-radius: 5px; }
#mainpage table table b { display: block; text-align: center; text-transform: uppercase; color: #A50000; } 


/***** Styles de pages *****/

/* masquer les liens [modifier] sur titres 3 et 4 */ 
h3 .mw-editsection, h4 .mw-editsection { display: none; }

/* augmenter l'espace entre les puces, sauf si elles ont une class, comme la table des matières */
/* #mw_content li:not([class]) { margin-bottom: 0.8em; } */

/* justifier et limiter largeur du texte pour la lisibilité */
#mw-content-text {max-width: 850px; text-align: justify; }
#mw-content-text img {max-width: 850px; }

blockquote
{
	font-style: italic;
	padding-left: 20px;
	padding-right: 8px;
	border-style: solid;
	border-color: #ccc;
	border-width: 0;
	border-left-width: 5px;	
}

/* Flèches de CategoryTree (ex: Catégorie:Continents) en rouge */
.CategoryTreeToggle { color: #A50000; }

/* Modèle:Abréviation_discrète */ 
abbr.abbr { text-decoration: none!important; }


/***** Tables des matières *****/

/* ne pas numéroter les tables de matière 3 */ 
.tocnumber { display: none; }

#toctitle { border-bottom: 0; }
#toc a { text-decoration-style: solid; }
.toctoggle { display: none; }



/***** Footer 

#f-list { float: left; }
#mw_bloc-central { margin-right: auto; margin-left: auto; text-align:center; }
#mw_copyright, #mw_poweredby { float: right; }
*****/


/***** Modèles *****/


/* style "Modèle:Article détaillé" */ 
.detail { font-style: italic; border-bottom: brown; margin-bottom: 10px; } 
.detail:before { content: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Exquisite-kfind.png/15px-Exquisite-kfind.png); }

/* style "Modèle:Attention" */
.alerte { font-style: italic; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; background: #FF9C9C; }

/* style "Modèle:Désambiguation" */ 
.desambiguation { font-style: italic; }


/* [[Modèle:Nobr]] */
.nowrap { white-space: nowrap; }



/***** CKeditor *****/


/* Supprimer la bordure bleue sur le nouveau CKeditor */
.wikiEditor-ui .wikiEditor-ui-view { border: none!important; }
.wikiEditor-ui .wikiEditor-ui-top { border: none!important; }
.cke_chrome { padding: 0!important; }


/* style interieur du Ckeditor */ 
/*iframe .cke_editor p { text-align: justify; } */
/* FAIRE AVEC ckeditor/contents.css */


/*
.ImagePreviewBox img { max-height: 200px;  max-width: 300px; }
.ImagePreviewBox { overflow: unset!important; }
*/