MediaWiki:Monobook.css : Différence entre versions

Un article de WikiSimland 3.0.
Aller à : navigation, rechercher
Ligne 1: Ligne 1:
/* edit this file to customize the monobook skin for the entire site */
+
/* <pre><nowiki> O--<GLOBAL>---------------------------------------------------O */
  
/*
+
body
== Styles ==
+
{
 +
background: #fcf6e4   
 +
url("http://images.wikia.com/arsmagica/images/9/9a/Parchment1.jpg");
 +
}
  
<pre> */
+
#column-content {
 
+
width: 100%;
/* --- GÉNÉRAL --- */
+
padding-top: 23px; /* For Firefox */
 +
padding-bottom: 0px;
 +
        border: none;
 +
        background: transparent; 
 +
}
  
 
#content {
 
#content {
  text-align: justify;
+
position: absolute;
 +
top: -10px;
 +
padding: 0px 0px 0px 0px;
 +
position: relative;
 +
        border: none;
 +
        background: transparent;
 
}
 
}
  
body.ns-104 {
+
 
  text-align: justify;  
+
/* O--<PAGE TITLE>---------------------------------------------------O */
}
+
 
body.ns-104 p{
+
.firstHeading
   text-indent: 2em
+
{
 +
position: relative;
 +
left: -3px;
 +
top: 20px;
 +
margin-top: 0px;
 +
width: 100%;
 +
clear: both;
 +
padding: 23px 0px 10px 3px; /*top padding so page title doesn't overlay bar*/
 +
background-color: transparent;
 +
background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
 +
  background-repeat: repeat-x;
 +
  background-position: top left;   
 +
   color: #532900;
 +
font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
 +
font-weight: bold;
 +
/* font-size: 1.5em; */
 +
text-align: left;
 +
border: none;
 
}
 
}
  
/* suppression des numéros dans le sommaire */
 
span.tocnumber { display:none;}
 
  
 +
/* O--<GENERAL LINKS>---------------------------------------------------O */
 +
 +
:link:link {color: #532900;}
 +
:link.new {color: #913A40;}
 +
:link.visited {color: #532900;}
 +
:link.stub {color: #532900;}
 +
/* I'm leaving 'active' as the colour is currently appropriate. */
  
/* classe verse : utiliser avec <poem> pour les textes en vers */
+
/* O--<SIDEBAR BACKGROUNDS>---------------------------------------------------O */
  
.verse {
+
#p-Saga, #p-Setting, #p-Information, #p-Wiki, #p-search, #p-tb, #p-wikicities-nav {
  text-align: left;
+
    background: transparent url("http://images.wikia.com/arsmagica/images/9/9c/Boxtop.jpg");
  margin:0px auto;
+
    background-position: top left;
  padding-left: 2em;
+
    background-repeat: no-repeat;
 +
    position: relative;
 +
    left: 5px;
 
}
 
}
.verse p { text-indent: 0em
+
 
}
+
#p-Saga .pBody, #p-Setting .pBody, #p-Information .pBody, #p-Wiki .pBody, #p-search .pBody, #p-tb .pBody, #p-wikicities-nav .pBody {
.verse pre {
+
    background: transparent url("http://images.wikia.com/arsmagica/images/0/0d/Box.jpg");
  background-color: #ffffff;
+
    background-position: bottom left;
  font-family: sans-serif;
+
    background-repeat: no-repeat;
  line-height: 150%;
+
    border: none;
  border: 0px;
+
  padding-left: 2em;
+
  margin: 0;
+
  white-space: pre;
+
 
}
 
}
  
/* classe prose : utiliser text */
+
/* Wikia messages disabled pending graphical fix relating to extremely long messages dislocating background sections. */
 
+
#p-wikicities-nav {
.prose {
+
    display:none;
  width: 33em;
+
  text-align: justify;
+
  margin:0px auto;
+
}
+
.prose p {
+
  text-indent: 2em
+
 
}
 
}
  
  
/* --- CLASSES ACTIVES --- */
+
/* O--<PORTLET>---------------------------------------------------O */
  
/* classe text : colonne centrée de texte avec indentation */
+
/*
 
+
.portlet a.new {color: blue;}
.text {
+
.portlet ul a.new {color: green;}
  width: 33em;
+
.portlet li a.new {color: yellow;}
  text-align: justify;
+
*/
  margin:0px auto;
+
.portlet a:visited {color: #532900;}
 +
.portlet a:active {color: #532900;}
 +
.portlet a:link {color: #532900;}
 +
.portlet a:hover {
 +
    color: #532900;
 +
    background-color: transparent;
 +
    text-decoration: underline;
 
}
 
}
.text p {
+
.portlet {
  text-indent: 2em;
+
    position: relative;
 +
    top: 28px;
 +
    border: none;
 +
    align: left;
 
}
 
}
.text pre {
+
.portlet UL {
  background-color: #ffffff;
+
    background-color: transparent;
  font-family: sans-serif;
+
    border: none;
  line-height: 150%;
+
    list-style-image: url("http://images.wikia.com/arsmagica/images/7/7a/Bullet.png");
  border: 0px;
+
    align=left;
  padding-left: 2em;
+
  margin: 0;
+
  white-space: pre;
+
 
}
 
}
 
+
.portlet LI {
/* classe centertext : colonne centrée de texte sans indentation */
+
    align=left;
 
+
.centertext {
+
  width: 33em;
+
  text-align: justify;
+
  margin:0px auto;
+
 
}
 
}
.centertext p {
+
.portlet h5 {
  text-indent: 0em;
+
    background-color: transparent;
 +
    color: white;
 +
    font: 90% "new century schoolbook", serif;
 +
    font-weight: bold;
 +
    border: none;
 +
    text-transform: capitalize;
 +
    background-position: bottom left;
 
}
 
}
  
/* classe lefttext : colonne de texte à gauche avec indentation */
 
  
.lefttext {
+
/* O--<PERSONAL BAR>---------------------------------------------------O */
  width: 33em;
+
 
  text-align: justify;
+
#p-personal a.new {color: black;}
  margin-left: 5em;
+
#p-personal a:visited {color: white;}
 +
#p-personal a:active {color: white;}
 +
#p-personal a:link {color: white;}
 +
#p-personal li a:hover {
 +
text-decoration: none;
 +
background-color: transparent;
 +
        text-decoration: underline;
 
}
 
}
.lefttext p {
+
#p-personal {  
  text-indent: 2em
+
    font: "new century schoolbook", serif;
 +
    font-weight: bold;
 +
    background-color: transparent;
 +
    background: #B4AE9C url("http://images.wikia.com/arsmagica/images/7/7d/Edge.jpg");
 +
    background-position: top left;
 
}
 
}
  
  
/* --- NAMESPACE PAGE --- */
+
/* O--<TABS BAR>---------------------------------------------------O */
  
.pagetext {
+
#p-cactions {
  width: 33em;
+
    position: absolute;
  text-align: justify;
+
    top: 25px;
 +
    clear: left;
 +
    margin-left: 155px;
 +
    width:72%;
 +
margin: 0;
 +
white-space: nowrap;
 +
line-height: 1em;
 +
overflow: visible;
 +
padding: 0px;
 +
list-style: none;
 +
font-size: 100%;
 
}
 
}
.pagetext p {
+
 
  text-indent: 2em
+
#p-cactions li a:hover, #p-cactions li.selected a:hover {
 +
    color: #532900;
 +
    text-decoration: underline;
 +
    background-color: transparent;
 
}
 
}
.pagetext blockquote {
+
#p-cactions li.selected a {
  margin: 0.5em 0em;
+
font-weight: bold;
 +
        color: #532900;
 +
        border: none;
 +
        background-color: transparent;
 +
}
 +
#p-cactions li a {
 +
        color: #532900;
 +
        border: none;
 +
        background-color: transparent;
 
}
 
}
  
  
/* --- MISE EN FORME --- */
+
/* O--<TAB BAR BUTTONS -> INVISIBLE>---------------------------------------------O */
  
/* Texte en petites majuscules */
+
#p-cactions .hiddenStructure, #p-cactions h5 {
.romain {
+
display: none;
  text-transform:lowercase;
+
  font-variant:small-caps;
+
 
}
 
}
 
+
#p-cactions ul,#p-cactions li {  
/* Texte avec une majuscule à la première lettre ce chaque mot */
+
    border: none;
.personnage
+
    background-color: transparent;
{
+
  text-transform:lowercase;
+
  text-transform:capitalize;
+
  font-weight:bold;
+
  color:#228022;
+
  font-variant:small-caps;
+
 
}
 
}
  
.lignecapitale:first-line
 
{
 
font-variant:small-caps;
 
font-size:120%;
 
text-align: justify;
 
}
 
  
/*</pre>
+
/* O--<LOGO>---------------------------------------------------O */
  
== Espaces wikisources ==
+
#p-logo {
 +
        position: absolute;
 +
top: 36px;
 +
        left:0px;
 +
        clear: left;
 +
        align: right;
 +
padding: 0px 0px 0px 0px;
 +
margin: 0px 0px 0px 0px;
 +
height: 150px;
 +
        width: 150px;
 +
        overflow: visible;
 +
        background: none;
 +
        border: none;
 +
}
  
<pre>*/
 
/*
 
'0': 'Article', '1' : 'Discuter'
 
'2': 'Utilisateur', '3' : 'Discussion utilisateur'
 
'4': 'Wikisource', '4' : 'Discussion Wikisource'
 
'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'
 
'100': 'Transwiki' '101' : 'Transwiki Catégorie'
 
*/
 
  
 +
/* O--<FOOTER>---------------------------------------------------O */
  
/* Couleur par défaut */
+
#footer {
#content { background : white; } /* blanc */
+
    position: relative;
#p-cactions li { background : white; }
+
    margin-left: 155px;
#p-cactions li a { background : white; }
+
    background-color: transparent;
 +
    background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
 +
    background-repeat: repeat-x;
 +
    background-position: top left;
 +
    border-top: 1px solid #532900;
 +
    border-left: none;
 +
    border-bottom: 3px solid #532900;
 +
    margin-top:0.4em;
 +
    padding-top:22px;
 +
    padding-bottom:0.1em;
 +
    text-align: center;
 +
    font-size: 90%;
 +
    width:72%;
 +
}
 +
#footer li {
 +
    display: inline;
 +
    margin: 0 1.3em;
 +
}
 +
/* hide from incapable browsers */
 +
head:first-child+body #footer li { white-space: nowrap; }
 +
#f-poweredbyico, #f-copyrightico {
 +
    margin: 0 8px;
 +
    background-color: transparent;
 +
    position: relative;
 +
    top: 0px;
 +
}
 +
#f-poweredbyico {
 +
    float: right;
 +
    height: 1%;
 +
}
 +
#f-copyrightico {
 +
    float: right;
 +
    height: 1%;
 +
}
  
/* 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 */
+
/* O--<SITE NOTICE>---------------------------------------------------O */
.ns-1 * #content { background : white; }
+
.ns-1 * #p-cactions li { background : white; }
+
.ns-1 * #p-cactions li a { background : white; }
+
  
/* Couleur de fond des pages Utilisateur */
+
#siteNotice {
.ns-2 * #content { background : white; }
+
    display: none;
.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 : white; }
 
.ns-3 * #p-cactions li { background : white; }
 
.ns-3 * #p-cactions li a { background : white; }
 
  
/* Couleur de fond pages Wikisource  */
+
/* O--<DIFFERENCES>---------------------------------------------------O */
.ns-4 * #content { background : white; }
+
.ns-4 * #p-cactions li { background : white; }
+
.ns-4 * #p-cactions li a { background : #F4F4F4; }
+
  
/* Couleur de fond des pages de discussion Wikisource */
+
.diffchange {
.ns-5 * #content { background : white; }
+
    text-decoration: bold;
.ns-5 * #p-cactions li { background : white; }
+
    color: #FF0000;
.ns-5 * #p-cactions li a { background : white; }
+
}
 
+
/* 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 : white; }
+
.ns-7 * #p-cactions li { background : white; }
+
.ns-7 * #p-cactions li a { background : white; }
+
 
+
/* 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 : white; }
+
.ns-9 * #p-cactions li { background : white; }
+
.ns-9 * #p-cactions li a { background : white; }
+
 
+
/* 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 : white; }
+
.ns-11 * #p-cactions li { background : white; }
+
.ns-11 * #p-cactions li a { background : white; }
+
 
+
/* Couleur de fond des pages Aide */
+
.ns-12 * #content { background : white; }
+
.ns-12 * #p-cactions li { background : white; }
+
.ns-12 * #p-cactions li a { background : white; }
+
  
/* Couleur de fond des pages de discussion Aide */
 
.ns-13 * #content { background : white; }
 
.ns-13 * #p-cactions li { background : white; }
 
.ns-13 * #p-cactions li a { background : white; }
 
  
/* Couleur de fond des pages Catégorie */
+
/* O--<PRE TAGS>---------------------------------------------------O */
.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 */
+
pre { overflow: auto; border: 1px solid #aaa }
.ns-15 * #content { background : white; }
+
.ns-15 * #p-cactions li { background : white; }
+
.ns-15 * #p-cactions li a { background : white; }
+
  
/* Couleur de fond des pages Transwiki */
+
/* O--<HIDE USER ICON>---------------------------------------------------O */
.ns-100 * #content { background : #EEFFEE; }
+
.ns-100 * #p-cactions li { background : #EEFFEE; }
+
.ns-100 * #p-cactions li a { background : #EEFFEE; }
+
  
/* Couleur de fond des pages Discussion Transwiki */
+
li#pt-userpage {background: none}
.ns-101 * #content { background : #F5FFEE; }
+
.ns-101 * #p-cactions li { background : #F5FFEE; }
+
.ns-101 * #p-cactions li a { background : #F5FFEE; }
+
  
/*</pre>*/
+
/* </nowiki><.pre> */</pre>

Version du 19 juin 2007 à 20:21

/* <pre><nowiki> O--<GLOBAL>---------------------------------------------------O */

body 
{
 background: #fcf6e4     
 url("http://images.wikia.com/arsmagica/images/9/9a/Parchment1.jpg");
}

#column-content {
	width: 100%;
	padding-top: 23px; /* For Firefox */
	padding-bottom: 0px;
        border: none;
        background: transparent;  
}

#content {
 position: absolute;
 top: -10px;
	padding: 0px 0px 0px 0px;
	position: relative;
        border: none;
        background: transparent;  
}


/* O--<PAGE TITLE>---------------------------------------------------O */

.firstHeading 
{
 position: relative;
 left: -3px;
 top: 20px;
 margin-top: 0px;
 width: 100%;
 clear: both;
 padding: 23px 0px 10px 3px; /*top padding so page title doesn't overlay bar*/
 background-color: transparent;
 background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
   background-repeat: repeat-x;
   background-position: top left;    
  color: #532900;
 font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
 font-weight: bold;
 /* font-size: 1.5em; */
 text-align: left;
 border: none;
}


/* O--<GENERAL LINKS>---------------------------------------------------O */

:link:link {color: #532900;}
:link.new {color: #913A40;}
:link.visited {color: #532900;}
:link.stub {color: #532900;}
/* I'm leaving 'active' as the colour is currently appropriate. */

/* O--<SIDEBAR BACKGROUNDS>---------------------------------------------------O */

#p-Saga, #p-Setting, #p-Information, #p-Wiki, #p-search, #p-tb, #p-wikicities-nav {
    background: transparent url("http://images.wikia.com/arsmagica/images/9/9c/Boxtop.jpg");
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    left: 5px;
}

#p-Saga .pBody, #p-Setting .pBody, #p-Information .pBody, #p-Wiki .pBody, #p-search .pBody, #p-tb .pBody, #p-wikicities-nav .pBody {
    background: transparent url("http://images.wikia.com/arsmagica/images/0/0d/Box.jpg");
    background-position: bottom left;
    background-repeat: no-repeat;
    border: none;
}

/* Wikia messages disabled pending graphical fix relating to extremely long messages dislocating background sections. */
#p-wikicities-nav {
    display:none;
}


/* O--<PORTLET>---------------------------------------------------O */

/*
.portlet a.new {color: blue;}
.portlet ul a.new {color: green;}
.portlet li a.new {color: yellow;}
*/
.portlet a:visited {color: #532900;}
.portlet a:active {color: #532900;}
.portlet a:link {color: #532900;}
.portlet a:hover {
    color: #532900;
    background-color: transparent;
    text-decoration: underline;
}
.portlet {
    position: relative;
    top: 28px;
    border: none;
    align: left;
}
.portlet UL {
    background-color: transparent;
    border: none;
    list-style-image: url("http://images.wikia.com/arsmagica/images/7/7a/Bullet.png");
    align=left;
}
.portlet LI {
    align=left;
}
.portlet h5 {
    background-color: transparent;
    color: white;
    font: 90% "new century schoolbook", serif;
    font-weight: bold;
    border: none;
    text-transform: capitalize;
    background-position: bottom left;
}


/* O--<PERSONAL BAR>---------------------------------------------------O */

#p-personal a.new {color: black;}
#p-personal a:visited {color: white;}
#p-personal a:active {color: white;}
#p-personal a:link {color: white;}
#p-personal li a:hover {
	text-decoration: none;
	background-color: transparent;
        text-decoration: underline;
}
#p-personal { 
    font: "new century schoolbook", serif;
    font-weight: bold;
    background-color: transparent;
    background: #B4AE9C url("http://images.wikia.com/arsmagica/images/7/7d/Edge.jpg");
    background-position: top left;
}


/* O--<TABS BAR>---------------------------------------------------O */

#p-cactions {
    position: absolute;
    top: 25px;
    clear: left;
    margin-left: 155px;
    width:72%;
	margin: 0;
	white-space: nowrap;
	line-height: 1em;
	overflow: visible;
	padding: 0px;
	list-style: none;
	font-size: 100%;
}

#p-cactions li a:hover, #p-cactions li.selected a:hover {
    color: #532900;
    text-decoration: underline;
    background-color: transparent;
}
#p-cactions li.selected a {
	font-weight: bold;
        color: #532900;
        border: none;
        background-color: transparent;	
}
#p-cactions li a {
        color: #532900;
        border: none;
        background-color: transparent;
}


/* O--<TAB BAR BUTTONS -> INVISIBLE>---------------------------------------------O */

#p-cactions .hiddenStructure, #p-cactions h5 {
	display: none;
}
#p-cactions ul,#p-cactions li { 
    border: none;
    background-color: transparent;
}


/* O--<LOGO>---------------------------------------------------O */

#p-logo {
        position: absolute;
	top: 36px;
        left:0px;
        clear: left;
        align: right;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	height: 150px;
        width: 150px;
        overflow: visible;
        background: none;
        border: none;
}


/* O--<FOOTER>---------------------------------------------------O */

#footer {
    position: relative;
    margin-left: 155px;
    background-color: transparent;
    background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
    background-repeat: repeat-x;
    background-position: top left; 
    border-top: 1px solid #532900;
    border-left: none;
    border-bottom: 3px solid #532900;
    margin-top:0.4em;
    padding-top:22px;
    padding-bottom:0.1em;
    text-align: center;
    font-size: 90%;
    width:72%;
}
#footer li {
    display: inline;
    margin: 0 1.3em;
}
/* hide from incapable browsers */
head:first-child+body #footer li { white-space: nowrap; }
#f-poweredbyico, #f-copyrightico {
    margin: 0 8px;
     background-color: transparent;
    position: relative;
    top: 0px;
}
#f-poweredbyico {
    float: right;
    height: 1%;
}
#f-copyrightico {
    float: right;
    height: 1%;
}


/* O--<SITE NOTICE>---------------------------------------------------O */

#siteNotice {
    display: none;
}


/* O--<DIFFERENCES>---------------------------------------------------O */

.diffchange {
     text-decoration: bold;
     color: #FF0000;
}


/* O--<PRE TAGS>---------------------------------------------------O */

pre { overflow: auto; border: 1px solid #aaa }

/* O--<HIDE USER ICON>---------------------------------------------------O */

li#pt-userpage {background: none}

/* </nowiki><.pre> */</pre>