« MediaWiki:Common.css » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
 
(17 versions intermédiaires par le même utilisateur non affichées)
Ligne 4 : Ligne 4 :




#main-page h1.firstHeading.firstHeading.page-header { display: none; }


body {  
body {  
Ligne 56 : Ligne 55 :
/* Tweeki tweaks */
/* Tweeki tweaks */


.navbar-default {background: rgba(22,58,84,0.98); color: #ffffff;}
 
 
#toc {display:block;}
 
.firstHeading, .tweekiFirstHeading {text-align: left;}
 
.navbar-default {
color: #ffffff;
background-color: #163A54;
    background-blend-mode: overlay;
    background-repeat: repeat;
    background-position: 0 0;
    background-image: url('//static.nefald.fr/img/pixel-light.png');
}




Ligne 63 : Ligne 75 :
.navbar-default a:hover, .navbar-default .navbar-nav>li>a:hover {color: #ffffff;}
.navbar-default a:hover, .navbar-default .navbar-nav>li>a:hover {color: #ffffff;}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a {background: rgb(231, 244, 243);}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a {
color: #ffffff;
background-color: #163A54;
    background-blend-mode: overlay;
    background-repeat: repeat;
    background-position: 0 0;
    background-image: url('//static.nefald.fr/img/pixel-light.png');
}




Ligne 146 : Ligne 166 :
width: 300px !important;
width: 300px !important;
}
}
/* Styles pour listes imbriqués formant une arborescence,
  en particulier utilisés dans le [[modèle:Arbre début]]. */
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
padding-left: 20px;
text-indent: 0.3em;
}
.treeview li li.lastline {
background-position: 0 -5971px;
}
.treeview li.emptyline > ul {
margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px;
}


/* Wikitable 2
/* Wikitable 2
----------------------------------- */
----------------------------------- */
table.wikitable2 {width: 100%;}


table.wikitable2 th, table.wikitable2 td.hl1, table.wikitable2 th.hl1,
table.wikitable2 th, table.wikitable2 td.hl1, table.wikitable2 th.hl1,
Ligne 157 : Ligne 208 :
text-align: left;
text-align: left;
}
}
table.wikitable2 td { border: 1px solid #ccc; }


/* Tableau de chronologie
/* Tableau de chronologie
Ligne 502 : Ligne 555 :
h2 {
h2 {
font-family: 'Helvetica', Arial, sans-serif;
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.5em;
font-size: 1.8em;
font-weight: bold;
font-weight: bold;
margin: 1.6em 0 1em 0;
margin: 1.6em 0 1em 0;
Ligne 511 : Ligne 564 :
h3 {
h3 {
font-family: 'Helvetica', Arial, sans-serif;
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.4em;
margin: 1.1em 0 0.4em 0;
margin: 1.1em 0 0.4em 0;
}
}
Ligne 663 : Ligne 717 :
#nolist li {
#nolist li {
  list-style-type:none;
  list-style-type:none;
}
@media (min-width: 992px) {
.col-md-9 { width: 90%;}
.col-md-offset-9 { margin-left: 90%;}
}
}

Dernière version du 13 mai 2020 à 22:11

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





body { 
background-color: #FCFDFD!important; 
background-image: none!important; 
background-repeat: none;
}

.mw-widget-dateInputWidget-calendar {position: inherit!important;}

.selflink {color: #468847;}

.keyboard-key, .kbd {color:#0a7cc8; text-decoration: none;}

/* Couleurs des liens */
a {color:#0a7cc8; text-decoration: none;}
a:hover {color:#181D2E;text-decoration: none;}
a:active{color:#4E8DAF;}
a:visited {color:#0a7cc8;text-decoration: none;}
.new a , #p-personal .new a,#quickbar .new a, .new a:hover, .new a:visited {font-weight:italic!important;}
 
code, code a { 
	background-color:#DFF0D8!important;
	color: #468847!important;
}

.coord {
    font-size: 12px;
    font-family: Consolas,"Liberation Mono",Courier,monospace;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: nowrap;
    border: 1px solid #EAEAEA;
    background-color:#D7EFEE!important;
   color:#468781!important;
}


code .red {
    color: #c7254e!important;
    background-color: #f9f2f4!important;
}


.coord a {
    background-color:#D7EFEE!important;
   color:#468781!important;
}


/* Tweeki tweaks */



#toc {display:block;}

.firstHeading, .tweekiFirstHeading {text-align: left;}

.navbar-default {
	color: #ffffff;
	background-color: #163A54;
    background-blend-mode: overlay;
    background-repeat: repeat;
    background-position: 0 0;
    background-image: url('//static.nefald.fr/img/pixel-light.png');
}


.navbar-default a, .navbar-default .navbar-nav>li>a {color: #a2b0bb;}

.navbar-default a:hover, .navbar-default .navbar-nav>li>a:hover {color: #ffffff;}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a {
	color: #ffffff;
	background-color: #163A54;
    background-blend-mode: overlay;
    background-repeat: repeat;
    background-position: 0 0;
    background-image: url('//static.nefald.fr/img/pixel-light.png');
	
}


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


#ouvrage {
width:70%;
font-style: italic;
margin: 0.25em 0;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #31708F;
text-align:justify; 
text-justify: auto;
}

#ouvrage p {
font-size:1.1em;
}

#ouvrage h2 {
border-bottom: none!important;
color:#1B3E57;
margin-bottom:0.3em!important;
}

 #ouvrage cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 5px;
}
 
 #ouvrage cite:before {
content: "\2014 \2009";
}

#citation {
width:70%;
font-style: italic;
margin: 0.25em 0;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #31708F;
text-align:justify; 
text-justify: auto;
}

#citation p {
font-size:1.1em;
}

#citation h2 {
border-bottom: none!important;
color:#1B3E57;
margin-bottom:0.3em!important;
}

 #citation cite {
color: #999999;
font-size: 14px;
display: block;
margin-top: 5px;
}
 
 #citation cite:before {
content: "\2014 \2009";
}


#purge {
float:right;
}

table.right {
float: right !important;
clear: right !important;
width: 300px !important;
}


/* Styles pour listes imbriqués formant une arborescence,
   en particulier utilisés dans le [[modèle:Arbre début]]. */
.treeview ul {
	padding: 0;
	margin: 0;
}
.treeview li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}
.treeview li li {
	background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
	padding-left: 20px;
	text-indent: 0.3em;
}
.treeview li li.lastline {
	background-position: 0 -5971px;
}
.treeview li.emptyline > ul {
	margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
	background-position: 0 9px;
}


/* Wikitable 2
----------------------------------- */

table.wikitable2 {width: 100%;}

table.wikitable2 th, table.wikitable2 td.hl1, table.wikitable2 th.hl1,
table.wiki-table2 th, table.wiki-table2 td.hl1, table.wikitable2 th.hl1 {
background: #f8f6eb;
padding: 0.35em 0.5em;
color: #000;
text-align: left;
}

table.wikitable2 td { border: 1px solid #ccc; }

/* Tableau de chronologie
----------------------------------- */
 
table.chronologie,
table.chrono {
margin: 1em -2px 1em -2px;
background: #fff;
border: 0;
border-collapse: separate;
empty-cells: show;
border-spacing: 1px;
border: 0;
}
 
table.chronologie th, table.chronologie td,
table.chrono th, table.chrono td {
border: 0;
border-bottom: 1px solid #D2D2D2;
padding: 0.35em 0.5em;
}
 
table.chronologie th, table.chronologie td.hl1, table.chronologie th.hl1,
table.chrono th, table.chrono td.hl1, table.chronologie th.hl1 {
background: #2D2D2D;
padding: 0.35em 0.5em;
color: #fff;
text-align: left;
position: relative;
}
 
table.chronologie td.hl2, table.chronologie th.hl2,
table.chrono td.hl2, table.chrono th.hl2 {
background: #fff;
color: #444;
text-align: center;
border: 1px solid #ccc;
border-top: 0;
}
 
table.chronologie td.hl3, table.chronologie th.hl3,
table.chrono td.hl3, table.chrono th.hl3 {
background: #ebf5f8;
color: #444;
text-align: center;
border: 1px solid #D2D2D2;
border-top: 0;
}
 
table.chronologie caption,
table.chrono caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
 
table.chronologie td,
table.chrono td {
vertical-align: top;
}
 
table.chronologie td:nth-child(even), table.chrono td:nth-child(even) {
background: #fbfbfb;
}
 
table.chronologie tr:hover td, table.chrono tr:hover td {
background: #f5fafc;
-webkit-transition: all .1s;
-moz-transition: all .1s;
-o-transition: all .1s;
transition: all .1s;
}
 
table.chronologie tr:hover td:nth-child(even), table.chrono tr:hover td:nth-child(even) {
background: #eaf3f7;
}
 
 
/* Code PRE TT (pour les commandes) */
 
code {
margin: 0 2px;
padding: 3px 5px;
white-space: nowrap;
border: 1px solid #EAEAEA;
background-color: #F8F6EB;
border-radius: 3px;
}
 
pre, code, tt {
font-size: 12px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
}
 
 
li { margin: 5px; }
 
/* Infobox
--------------------- */
 
.infobox {
background: #EEE; /* couleur correspondant aux titres / colonne de gauche, th */
color: #000;
float: right;
clear: right;
font-size: 95%;
border-collapse: collapse;
margin: 0 0 .5em 1em;
width: 250px;
}
 
/* monobookocentré debut*/
 
.infobox caption {
background: #C0C0C0;
border-left: 1px solid #AAA;
border-top: 1px solid #AAA;
border-right: 1px solid #AAA;
padding: .2em;
margin-left: .57em;
font-weight: bolder;
text-align: center;
color: #FFF;
font-size: 160%;
}
 
.infobox th,
.infobox td {
vertical-align: middle;
border: 1px solid #AAA;
padding: .2em .2em .2em .5em;
}
 
.infobox td {
text-align: center;
background: #F9F9F9;
}
 
.infobox th {
font-weight: normal;
text-align: left;
}
 
.infobox .infoboximage {
/* emplacement pour les photos et une description */
background: #FFF;
padding: 0;
margin-top: 0;
color: #000;
text-align: center;
}
 
.infobox .infoboxsoustitre {
/* sous-titre */
color: #000;
font-weight: bold;
font-size: 115%;
line-height: 2;
text-align: center;
}
 
.infobox dl {
clear: both
}
 
.infobox dt {
float: left;
clear: left;
width: 35%;
}
 
.infobox dd {
margin-left: 40%
}
 
/* Infobox v2
--------------------- */
 
.infobox_v2 {
/* monobookocentré debut */
background: #f9f9f9;
color: #000;
font-size: 90%;
line-height: 1.1em;
float: right!important;
clear: right!important;
align:right!important:
/* haut droite bas gauche */
margin: 0 0 .5em 1em!important;
width: 300px!important;
 -webkit-border-radius: 0.3em;
-moz-border-radius: 0.3em;
border-radius: 0.3em;
border: 1px solid #CCC;
box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
padding: 0.1em!important;
}
 
.infobox_v2 th {
vertical-align: super;
text-align: left;
}
 
.infobox_v2 .entete {
height: 45px;
vertical-align: middle;
text-align: center;
font-size: 150%;
font-weight: bolder;
line-height: 1.2em;
color: #000;
}
 
.infobox_v2 .media {
/* css V2 pour [[Modèle: Son]], etc. */;
height: 35px;
vertical-align: middle;
text-align: center;
font-weight: bolder;
color: #000;
}
 
 
/* ENTETES INFOBOXES
--------------------------------------------*/
 
.entete.construction {
background: #03576C url('//nefald.fr/wiki/images/e/ea/entete_construction.png') no-repeat top right;
width:100%;
height:60px;
}
 
 
.entete.plugin {
background: #FDB600 url('//nefald.fr/wiki/images/6/67/entete_plugin.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.joueur {
background: #0072B1 url('//nefald.fr/wiki/images/5/56/entete_joueur.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.personnage {
background: #0072B1 url('//nefald.fr/wiki/images/f/f4/entete_personnage.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.grade {
background: #FF3400 url('//nefald.fr/wiki/images/2/2b/entete_grade.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.guilde {
background: #FF2D07 url('//nefald.fr/wiki/images/2/2f/entete_guilde.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.ville {
background: #026B84 url('//nefald.fr/wiki/images/3/3e/entete_ville.png') no-repeat top right;
width:100%;
height:60px;
}
 
 
.entete.monde {
background:#82C300 url('//nefald.fr/wiki/images/7/71/entete_monde.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.logiciel {
background: #963DC7 url('//nefald.fr/wiki/images/e/e2/entete_logiciel.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.mod {
background: #FFD644 url('//nefald.fr/wiki/images/0/0d/entete_mod.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.territoire {
background: #578103 url('//nefald.fr/wiki/images/6/60/entete_territoire.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.application.mobile {
background: #A4C639 url('//nefald.fr/wiki/images/1/16/entete_application_mobile.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.schematic {
background: #596DDB url('//nefald.fr/wiki/images/f/f5/entete_schematic.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.roleplay {
background: #1E5C97 url('//nefald.fr/wiki/images/f/fe/entete_roleplay.png') no-repeat top right;
width:100%;
height:60px;
}
 
 
.entete.tutoriel {
background: #488BDD url('//nefald.fr/wiki/images/e/e5/entete_tutoriel.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.metier {
background: #7BAFFF url('//nefald.fr/wiki/images/e/e4/entete_metier.png') no-repeat top right;
width:100%;
height:60px;
}
 
.entete.divinite {
background: #012946 url('//nefald.fr/wiki/images/4/45/entete_divinite.png') no-repeat top right;
width:100%;
height:60px;
}

.entete.ordre {
background: #012946 url('//nefald.fr/wiki/images/f/f9/entete_ordre.png') no-repeat top right;
width:100%;
height:60px;
}

.entete.script {
background: #FFAC1A url('//nefald.fr/wiki/images/f/f0/entete_script.png') no-repeat top right;
width:100%;
height:60px;
}
 
h2 {
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.8em;
font-weight: bold;
margin: 1.6em 0 1em 0;
padding: 0 0 0.2em 0;
border-bottom: 1px solid #ccc;
color: #555;
}
h3 {
font-family: 'Helvetica', Arial, sans-serif;
font-size: 1.4em;
margin: 1.1em 0 0.4em 0;
}
 
 
/* * BOÎTES ET MESSAGES * */
 
div.boite-a-droite {
display: table;
clear: right;
float: right;
margin: 1em 0 1em 1em;
width: 20em;
position: relative;/* pour les images manuelles */
 
border-style: solid;
border-width: 1px;
padding: 4px;
text-align: left;
 -webkit-border-radius: 0.3em;
-moz-border-radius: 0.3em;
border-radius: 0.3em;
border: 1px solid #CCC;
box-shadow: 0 0.3em 0.3em rgba(0, 0, 0, 0.1);
padding: 0.1em;
}
.boite-sans-fond {
border-color: #aaa;/* comme boite-grise */
}
.boite-grise {
border-color: #aaa;
background-color: #F9F9F9;
}
 
.boite-jaune { 
border-color: #aaa;
background-color: #FFE998;
}
 
.boite-bleu {
border-color: #aaa;
background-color: #EFF6FA;
}
 
span.annexe {font-weight:bold;color:#0a7cc8;}
.annexe a,
.annexe a:active {color:#0a7cc8;}
.annexe a:hover { color:#CB4627!important;}
 
li.annexe {list-style:none;}
 
.titre-annexe {font-size:14px;font-weight:bold;font-style:italic;margin-left:10px;}
 
 
/* G A L L E R Y */
 
li.gallerybox div.thumb {
border: 1px solid #B4BEC3;
background-color: #f5f5f5;

ul {
/* @embed */
list-style-image: none!important;
}
 
 
/* Palette de navigation */
 
table.navbox {
background: #F9F9F9;
border: 1px solid #AAA;
clear: both;
font-size: 90%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
 
table.navbox th {
background: #CCF;
padding-left: 1em;
padding-right: 1em;
}
 
table.navbox td.group {
background: #DDF;
vertical-align: middle;
width: 150px;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
 
table.navbox td.list {
text-align: left
}
 
table.navbox td.even {
background: #EEF
}
 
table.navbox td.banner {
background: #DDF;
vertical-align: middle;
padding-left: 1em;
padding-right: 1em;
}
 
/* Modèle de palettes groupées, [[Modèle:Palette]] */
 
div.navbox_group {
border: 1px solid #aaaaaa;
margin-top: 15px;
}
 
div.navbox_group table.navbox {
border: 0;
margin: 0;
}
 
/* Liens de masquage/affichage : [[Modèle:Boîte déroulante]] et [[Modèle:Méta palette de navigation]] */
 
.navboxToggle,
.NavToggle {
font-size: 90%;
font-weight: normal;
float: right !important;
min-width: 6em;
}
 
/*ARTICLE DETAILLE */
 
 
div.article-detail {
border-color: #e7e7e7;
background-color: #fdfdfd;
display: block;
/* Pour le [[modèle: Article détaillé]] et autres */
margin: 0 0 .7em 2em;
font-size: 95%;
overflow: hidden;
border-style: solid;
border-width: 1px 0;
padding: 2px 0 1px 4px;
text-align: left;
}


 
/* List nolist */
#nolist li {
 list-style-type:none;
}

@media (min-width: 992px) {
.col-md-9 { width: 90%;}
.col-md-offset-9 { margin-left: 90%;}
}