Bienvenue sur JurisPedia! Vous êtes invités à créer un compte et à contribuer après avoir confirmé votre adresse de courriel. Dès lors, vous pouvez ajouter un article en commençant par lui donner un titre en renseignant ce champ:

Les lecteurs et contributeurs ne doivent pas oublier de consulter les avertissements juridiques. Il y a actuellement 3 533 articles en construction permanente...

MediaWiki:Vector.css

Un article de JurisPedia, le droit partagé.
Version du 3 mars 2014 à 02:17 par JurisPedia (discuter | contributions)

(diff) ← Version précédente | voir la version actuelle (diff) | Version suivante → (diff)
Aller à : Navigation, Rechercher

Note : après avoir enregistré 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 pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac) ;
  • Google Chrome : Appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac) ;
  • Internet Explorer : Maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ;
  • Opera : Videz le cache dans Outils → Préférences.
/* 
Source http://en.wikipedia.org/wiki/MediaWiki:Vector.css CC BY-SA
Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.action-view.page-Main_Page #siteSub,
body.action-view.page-Main_Page #contentSub,
body.action-view.page-Main_Page h1.firstHeading {
    display: none !important;
}

/* Position Main Page top banner */
body.page-Main_Page #mp-topbanner {
  margin-top: 0 !important;
}

body { background: #FFFFFF; }

background {: url('headbg.jpg'); repeat;
}

#toc h2 {padding:2em;}

/* Couleur par défaut */
#content { background : #FFFFFF; }  /* blanc */
#p-cactions li { background : #FFFFFF; }
#p-cactions li a { background : #FFFFFF; }

/* Couleur de fond des articles */
.ns-0 * #content { background : white; }
.ns-0 * #p-cactions li { background : white; }
.ns-0 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion des articles */
.ns-1 * #content { background : #FFFFCC; }
.ns-1 * #p-cactions li { background : #FFFFCC; }
.ns-1 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Utilisateur */
.ns-2 * #content { background : white; }
.ns-2 * #p-cactions li { background : white; }
.ns-2 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Utilisateur */
.ns-3 * #content { background : #FFFFCC; }
.ns-3 * #p-cactions li { background : #FFFFCC; }
.ns-3 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond pages JurisPedia  */
.ns-4 * #content { background : #F4F4F4; }
.ns-4 * #p-cactions li { background : #F4F4F4; }
.ns-4 * #p-cactions li a { background : #F4F4F4; }

/* Couleur de fond des pages de discussion JurisPedia */
.ns-5 * #content { background : #FFFFCC; }
.ns-5 * #p-cactions li { background : #FFFFCC; }
.ns-5 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Image */
.ns-6 * #content { background : white; }
.ns-6 * #p-cactions li { background : white; }
.ns-6 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Image */
.ns-7 * #content { background : #FFFFCC; }
.ns-7 * #p-cactions li { background : #FFFFCC; }
.ns-7 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond pages MediaWiki  */
.ns-8 * #content { background : #EEEEFF; }
.ns-8 * #p-cactions li { background : #EEEEFF; }
.ns-8 * #p-cactions li a { background : #EEEEFF; }

/* Couleur de fond des pages de discussion MediaWiki */
.ns-9 * #content { background : #FFFFCC; }
.ns-9 * #p-cactions li { background : #FFFFCC; }
.ns-9 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Modèle */
.ns-10 * #content { background : white }
.ns-10 * #p-cactions li { background : white }
.ns-10 * #p-cactions li a { background : white }

/* Couleur de fond des pages de discussion Modèle */
.ns-11 * #content { background : #FFFFCC; }
.ns-11 * #p-cactions li { background : #FFFFCC; }
.ns-11 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Aide */
.ns-12 * #content { background : #EEEEFF; }
.ns-12 * #p-cactions li { background : #EEEEFF; }
.ns-12 * #p-cactions li a { background : #EEEEFF; }

/* Couleur de fond des pages de discussion Aide */
.ns-13 * #content { background : #FFFFCC; }
.ns-13 * #p-cactions li { background : #FFFFCC; }
.ns-13 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Catégorie */
.ns-14 * #content { background : white; }
.ns-14 * #p-cactions li { background : white; }
.ns-14 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Catégorie */
.ns-15 * #content { background : #FFFFCC; }
.ns-15 * #p-cactions li { background : #FFFFCC; }
.ns-15 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Thema */
.ns-200 * #content { background : white; }
.ns-200 * #p-cactions li { background : white; }
.ns-200 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Thema */
.ns-201 * #content { background : #FFFFCC; }
.ns-201 * #p-cactions li { background : #FFFFCC; }
.ns-201 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Projet */
.ns-202 * #content { background : white; }
.ns-202 * #p-cactions li { background : white; }
.ns-202 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Projet */
.ns-203 * #content { background : #FFFFCC; }
.ns-203 * #p-cactions li { background : #FFFFCC; }
.ns-203 * #p-cactions li a { background : #FFFFCC; }

/* Couleur de fond des pages Jurisprudence */
.ns-210 * #content { background : white; }
.ns-210 * #p-cactions li { background : white; }
.ns-210 * #p-cactions li a { background : white; }

/* Couleur de fond des pages de discussion Jurisprudence */
.ns-211 * #content { background : #FFFFCC; }
.ns-211 * #p-cactions li { background : #FFFFCC; }
.ns-211 * #p-cactions li a { background : #FFFFCC; }


/* les nombre impairs représentent les espaces de discussion
 '0': 'Article', '1' : 'Discuter'
 '2': 'Utilisateur', '3' : 'Discussion utilisateur'
 '4': 'Jurispedia', '4' : 'Discussion JurisPedia'
 '6': 'Image', '5' : 'Discuter Image'
 '8': 'MediaWiki', '9' : 'Discussion MediaWiki'
 '10':   'Modèle', '10' : 'Discuter Modèle'
 '12':   'aide', '13' : 'Discuter Aide'
 '14':   'categorie' '15' : 'Discuter Catégorie'
 '200':   'Thema' '201' : 'Discuter Thema'
 '202':   'Projet' '203' : 'Discuter Projet'
 '210':   'Jurisprudence' '211' : 'Discuter Jurisprudence'

*/
/* En enlevant la mise en commentaire sur la ligne suivante : mise en valeur de l'avertissement */
//li#f-disclaimer a { border:dashed 1px red; padding:0.2em; border-style; }

/* En enlevant la mise en commentaire sur la ligne suivante : désactive les form de l'espace encyclopédique */
/*.ns-0 * #content form { display:none; }

/*
 * Style de l'interface de JurisPedia
 */

#p-cactions li.selected {
    border-color: #aaa;
}


#bodyContent p {
	margin-left: 5em;
	margin-right: 5em;
	text-align:justify;}
#bodyContent table p {
	margin:0;}
li {
	list-style-type: ;
	list-style-position:outside;
	margin-left: 5em;
	margin-right: 5em;
	text-align:justify;
}
li li {margin: 0;}

dl {
	list-style-type: ;
	list-style-position:outside;
	margin-left: 5em;
	margin-right: 5em;
	text-align:justify;
}
dl dl {margin: 0;}


h1{
    background-image: url(http://www.jurispedia.org/images/_h1.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 21px;
    font-size: 1.5em;
}

h2{
    background-image: url(http://www.jurispedia.org/images/h2.gif);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 21px;
    font-size: 1.4em;
    margin-left: 20px
}

h3{
    background-image: url(http://www.jurispedia.org/images/h3.gif);
    background-repeat: no-repeat;
    background-position: left center;
    border-bottom: dotted 1px #aaa;
    padding-left: 21px;
    font-size: 1.3em;
    margin-left: 30px
}

h4{
    background-image: url(http://www.jurispedia.org/images/h4.gif);
    background-repeat: no-repeat;
    background-position: left center;
    border-bottom: dotted 1px #ddd;
    padding-left: 21px;
    font-size: 1.2em;
    margin-left: 40px
}

h5{
    background-image: url(http://www.jurispedia.org/images/h5.gif);
    background-repeat: no-repeat;
    background-position: left center;
    border-bottom: dotted 1px #ddd;
    padding-left: 21px;
    font-size: 1.1em;
    margin-left: 50px
}

h6{
    background-image: url(http://www.jurispedia.org/images/h6.gif);
    background-repeat: no-repeat;
    background-position: left center;
    border-bottom: dotted 1px #ddd;
    padding-left: 21px;
    font-size: 1em;
    margin-left: 55px
}

.portlet h5 {
    background: transparent;
    padding: 1em 1em 0em 0.5em;
    text-transform: lowercase;
    display: inline;
    font-size: 91%;
    height: 1em;
    font-weight: normal;
    white-space: nowrap;
    margin-left: 1px;

}

/* no background for these */
#mw-page-base, #mw-head, #mw-head-base, #footer, code {
  background: none !important;
}
 
/* set content background (needs overwriting) */
#content {
  background: #ffffff !important;
}
 

/* Position coordinates */
#coordinates {
    position: absolute;
    top: 0em;
    right: 0em;
    float: right;
    margin: 0em;
    padding: 0em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute;
    top: -2em;
    margin-right: -10px;
    display: block !important;
}

/* FR topicon position */
div.flaggedrevs_short {
    position: absolute;
    top: -3em;
    right: 80px;
    z-index: 1;
    margin-left: 0;
    /* Because this is not yet a topicon, we emulate it's behavior,
       this ensure compatibility with edit lead section gadget. */
    margin-right: -10px;
}

/* On rtl interfaces, we need to override the defaults.
   It is content included (so ltr), but positioned in part of the rtl interface. */
body.rtl #protected-icon {
    /* @noflip */
    left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
    /* @noflip */
    left: 30px;
}
body.rtl #featured-star {
    /* @noflip */
    left: 10px;
}

/* Menu over FR box */
div.vectorMenu div {
    z-index: 2;
}


/* (Soft) redirect styling (bug:26544) */
div.redirectMsg img {
    vertical-align: text-bottom;
}
.redirectText {
    font-size: 150%;
    margin: 5px;
}