Difference between revisions of "MediaWiki:Monobook.css"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(copied from meta.wikimedia.org)
(Don't display some stuff on the main page)
Line 1: Line 1:
 +
/* <pre><nowiki> */
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
 
#fundraising {
 
#fundraising {
Line 7: Line 8:
 
}
 
}
 
 
 +
/* Don't display some stuff on the main page */
 +
body.page-Main_Page #t-cite,
 +
body.page-Main_Page #lastmod,
 +
body.page-Main_Page #siteSub,
 +
body.page-Main_Page h1.firstHeading {
 +
    display: none !important;
 +
}
 +
 
#content {
 
#content {
 
     background: #ffffff; /* white */
 
     background: #ffffff; /* white */
Line 61: Line 70:
 
     .editlink, .noprint, .metadata, .dablink { display: none }
 
     .editlink, .noprint, .metadata, .dablink { display: none }
 
}
 
}
 +
/* </nowiki></pre> */

Revision as of 00:57, 25 December 2007

/* <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;
}	 	
		 	
/* Don't display some stuff on the main page */
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page h1.firstHeading {
    display: none !important;
}

#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 }
}
/* </nowiki></pre> */