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

De Wikirouge
Aller à la navigation Aller à la recherche
Ligne 63 : Ligne 63 :
  
 
.timeline-band-layer-inner > div { font-size: 0.65em; }
 
.timeline-band-layer-inner > div { font-size: 0.65em; }
 +
.timeline-band-layer-inner  img { height: 14px; }
 +
.timeline-event-bubble-title a, .timeline-event-bubble-body a { color: #6b0053; }
  
  

Version du 5 juin 2019 à 19:30

/* Le CSS placé ici affectera les utilisateurs de l’habillage Vector. */


/* Augmenter la largeur de la sidebar */
div#mw-panel { width: 11em; }
div#footer, #mw-head-base, div#content { margin-left: 11em; }
#left-navigation { margin-left: 11em; }


/* Sidebar */
#n-mainpage-description, #t-recentchangeslinked, #t-permalink, #t-info, #t-smwbrowselink { display: none; }
#p-logo { top: -135px; }

#p-navigation li a, #p-Rubriques li a { display: block; }
#p-navigation li a:hover, 
#p-Rubriques li a:hover { background-color: #e0d6d6; text-decoration: none; }
#p-navigation li a:before, 
#p-Rubriques li a:before { vertical-align: -52%; margin-right: 6px; }

#n-Info-sur-WikiRouge a:before { content: url(/nowiki/icones/Info.png); }
#n-randompage a:before { content: url(/nowiki/icones/Random.png); }
#n-Utiliser-le-wiki a:before { content: url(/nowiki/icones/Help.png); }

#p-Soutenir_WikiRouge li { display: inline-block; }
#p-Soutenir_WikiRouge li a { display: block; width: 25px; height: 25px; overflow: hidden; }
#p-Soutenir_WikiRouge li a:hover { opacity: 0.6; }
#n-Page-Facebook a:before { content: url(/nowiki/icones/Facebook.png); }
#n-Compte-Twitter a:before { content: url(/nowiki/icones/Twitter.png); }
#n-Faire-un-don a:before { content: url(/nowiki/icones/Don.png); }
#n-Th\.C3\.A9orie a:before { content: url(/nowiki/icones/Theorie.png); }
#n-Histoire a:before { content: url(/nowiki/icones/Histoire.png); }
#n-\.C3\.89conomie a:before { content: url(/nowiki/icones/Economie.png); }
#n-\.C3\.89cologie a:before { content: url(/nowiki/icones/Ecologie.png); }
#n-Pays a:before { content: url(/nowiki/icones/Pays.png); }
#n-Partis a:before { content: url(/nowiki/icones/Partis.png); }
#n-Socialistes a:before { content: url(/nowiki/icones/Socialistes.png); }
#n-Voir-toutes\.\.\. a:before { content: url(/nowiki/icones/Plus.png); }

#p-coll-print_export li { display: inline-block; }
#p-coll-print_export li a { display: block; width: 25px; height: 25px; overflow: hidden; }
#p-coll-print_export li a:hover { opacity: 0.6; }
#coll-create_a_book a:before { content: url(/nowiki/icones/Book.png); }
#coll-download-as-rl a:before { content: url(/nowiki/icones/PDF.png); }
#coll-download-as-odf a:before { content: url(/nowiki/icones/ODT.png); }
#t-print a:before { content: url(/nowiki/icones/Print.png); }

#p-tb #t-print { display: none; } /* cacher dans les pages spéciales */


/* Couleurs rouges */

.mw-body { border: 1px solid #8300004d; }

div.vectorTabs ul li { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsNFTcpXC7SiAAAADpJREFUGNNj+Pf3LxMDA8PIxv//w9n///1DiCOzkfB/pDD7j6QXZs7/f/9QzfzzB1P9//8Y6t6fPQsAip0nFeu95C0AAAAASUVORK5CYII=); }

div.vectorTabs, div.vectorTabs span, div#mw-head div.vectorMenu h3 { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAuCAIAAABmjeQ9AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsNFh4ZPPfDlgAAAERJREFUCNdljkEKADEMAsX/P7jQRPfQNDTsQQRJRpFrEcBPto9nDodNR/TNyCU688gm7u+To7jae/C6p5jNlajq620RHxOYTamCQxdIAAAAAElFTkSuQmCC); }

ol.references li:target, sup.reference:target { background-color: rgba(255, 188, 188, 0.1); }
#mw-content-text fieldset { border-color: #929292; }
ul.mw-contributions-list { list-style-image:none!important; }

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-constructive > .oo-ui-buttonElement-button { background-color: #923a6b; border-color: #393939; }

.timeline-band-layer-inner > div { font-size: 0.65em; }
.timeline-band-layer-inner  img { height: 14px; }
.timeline-event-bubble-title a, .timeline-event-bubble-body a { color: #6b0053; }


/* Liens */
#mw-content-text a, .catlinks a, #contentSub a { color: #6b0053; }
#mw-content-text a.new, .catlinks a.new { color: #b32901; }
#mw-panel a, #mw-panel a:visited, #preftoc a { color:black ! important; }
#p-personal a, #toc a, .mw-helplink { color:black; }
div.vectorTabs li a, div.vectorMenu li a { color:black; }
#mw-content-text .reference a { color:black; }
#mw-content-text .mw-editsection a { color:black; }
#mw-content-text .mw-cite-backlink a { color:black; }
#footer-places a { color:black; }

/* Retirer icône sur les liens externes */
div#content a.external { background:none !important; padding: 0px !important; }


/* set max width and fix the background */
    html,
    body {
    	position: relative;
    	margin-left: auto !important;
    	margin-right: auto !important;
    	max-width: 1100px;
        background-position: top left;
        background-repeat: repeat-x;
    	background-size: 100% 5em;
        background-image: url(/skins/Vector/images/page-fade.png);
        background-color: #f6f6f6;
        background-image: -webkit-gradient(linear,left top,left bottom,color-stop(50%,#ffffff),color-stop(100%,#f6f6f6));
        background-image: -webkit-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: -moz-linear-gradient(top,#ffffff 50%,#f6f6f6 100%);
        background-image: linear-gradient(#ffffff 50%,#f6f6f6 100%);
    }
    
    /** fix the position of:
    			personal user menu
    			search bar
    			the pop-up indicator of language selector
    			search suggestions 
    **/
    #p-personal { right: 3pt; }
    #p-search { margin-right: 3pt; }
    .imeselector { position: fixed; }
    .suggestions { right: 3pt !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; }




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

/* masquer les liens [modifier] sur les titres  */ 
h2 .mw-editsection, 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 le texte pour la lisibilité */
#mw-content-text { text-align: justify; }

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


/***** Notes de bas de page *****/

.mw-references-wrap { text-align: left; }


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

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