MediaWiki:Monobook.css : Différence entre versions

Un article de WikiSimland 3.0.
Aller à : navigation, rechercher
 
(3 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1: Ligne 1:
/* <pre><nowiki> O--<GLOBAL>---------------------------------------------------O */
+
/* <pre><nowiki> */
 
+
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; 
+
}
+
  
 +
/* edit this file to customize the monobook skin for the entire site */
 +
#fundraising {
 +
text-align: center;
 +
border: 1px solid gray;
 +
padding: 5px;
 +
margin-top: 5px;
 +
}
 +
 
#content {
 
#content {
position: absolute;
+
    background: #ffffff; /* white */
top: -10px;
+
padding: 0px 0px 0px 0px;
+
position: relative;
+
        border: none;
+
        background: transparent;
+
 
}
 
}
  
 
+
.ns-0 * #content {
/* O--<PAGE TITLE>---------------------------------------------------O */
+
    background: #ffffff;
 
+
.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;
+
 
}
 
}
  
 
+
#mytabs li {
/* O--<GENERAL LINKS>---------------------------------------------------O */
+
     background: #f4f4f4;
 
+
: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 {
+
.ns-0 * #mytabs li {
     background: transparent url("http://images.wikia.com/arsmagica/images/0/0d/Box.jpg");
+
     background: #f4f4f4;
    background-position: bottom left;
+
    background-repeat: no-repeat;
+
    border: none;
+
 
}
 
}
  
/* Wikia messages disabled pending graphical fix relating to extremely long messages dislocating background sections. */
+
#mytabs li a {
#p-wikicities-nav {
+
     background-color: #f4f4f4;
     display:none;
+
 
}
 
}
  
 
+
.ns-0 * #mytabs li a {
/* O--<PORTLET>---------------------------------------------------O */
+
     background-color: #f4f4f4;
 
+
/*
+
.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;}
+
/* For p-cactions (the top "tabs") it works only because my .js moves them into the
#p-personal a:visited {color: white;}
+
  "ns-0" wrapper anyway. */
#p-personal a:active {color: white;}
+
#p-cactions li {
#p-personal a:link {color: white;}
+
    background: #f4f4f4;
#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 {
+
.ns-0 * #p-cactions li {
     position: absolute;
+
     background: #ffffff;
    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 {
 
#p-cactions li a {
        color: #532900;
+
    background-color: #ffffff;
        border: none;
+
        background-color: transparent;
+
 
}
 
}
  
 
+
.ns-0 * #p-cactions li a {
/* O--<TAB BAR BUTTONS -> INVISIBLE>---------------------------------------------O */
+
     background-color: #ffffff;
 
+
#p-cactions .hiddenStructure, #p-cactions h5 {
+
display: none;
+
}
+
#p-cactions ul,#p-cactions li {  
+
    border: none;
+
     background-color: transparent;
+
 
}
 
}
  
 
+
/* Display "From Meta..." */
/* O--<LOGO>---------------------------------------------------O */
+
#siteSub {
 
+
#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;
 
     display: inline;
     margin: 0 1.3em;
+
     font-size: 120%;
}
+
     font-weight: normal;
/* 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%;
+
 
}
 
}
  
 +
/* Do not print certain classes that shouldn't appear on paper */
  
/* O--<SITE NOTICE>---------------------------------------------------O */
+
@media print {
 
+
     .editlink, .noprint, .metadata, .dablink { display: none }
#siteNotice {
+
     display: none;
+
 
}
 
}
  
 +
/* Style [[Meta:Language select]] widget */
 +
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
 +
    .lang_info a {font-weight:bold;font-family:Arial,
 +
      sans-serif;font-size:8pt;}
 +
    .lang_info input {font-size:8pt;}
 +
    .lang_info input.ls_select {font-weight:bold;}
  
/* O--<DIFFERENCES>---------------------------------------------------O */
+
/* Disable grey background when code is used in a header */
 
+
h2 code, h3 code, h4 code, h5 code, h6 code {background:none;}
.diffchange {
+
/* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */
    text-decoration: bold;
+
h2 code {font-weight: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>
+
/* </nowiki></pre> */

Version actuelle en date du 20 juin 2007 à 05:02

/* <pre><nowiki> */

/* edit this file to customize the monobook skin for the entire site */
#fundraising {
 text-align: center;
 border: 1px solid gray;
 padding: 5px;
 margin-top: 5px;
}	 	
		 	
#content {
    background: #ffffff; /* white */
}

.ns-0 * #content {
    background: #ffffff;
}

#mytabs li {
    background: #f4f4f4;
}

.ns-0 * #mytabs li {
    background: #f4f4f4;
}

#mytabs li a {
    background-color: #f4f4f4;
}

.ns-0 * #mytabs li a {
    background-color: #f4f4f4;
}

/* For p-cactions (the top "tabs") it works only because my .js moves them into the
   "ns-0" wrapper anyway. */
#p-cactions li {
    background: #f4f4f4;
}

.ns-0 * #p-cactions li {
    background: #ffffff;
}

#p-cactions li a {
    background-color: #ffffff;
}

.ns-0 * #p-cactions li a {
    background-color: #ffffff;
}

/* Display "From Meta..." */
#siteSub {
    display: inline;
    font-size: 120%;
    font-weight: normal;
}

/* Do not print certain classes that shouldn't appear on paper */

@media print {
    .editlink, .noprint, .metadata, .dablink { display: none }
}

/* Style [[Meta:Language select]] widget */
.lang_info {font-size:8pt;text-align:right;margin-bottom:0.5em;}
    .lang_info a {font-weight:bold;font-family:Arial,
      sans-serif;font-size:8pt;}
    .lang_info input {font-size:8pt;}
    .lang_info input.ls_select {font-weight:bold;}

/* Disable grey background when code is used in a header */
h2 code, h3 code, h4 code, h5 code, h6 code {background:none;}
/* Some monospace fonts are too light in comparison to surrounding heading text, give them a nudge */
h2 code {font-weight:bold;}

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