Difference between revisions of "MediaWiki:Monobook.css"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(use static.openvz.org for tab-bg-sel.gif)
(#f-parallelsico +++)
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
  margin-top: 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 {
 
#content {
    background: #ffffff; /* white */
+
        background: #ffffff; /* white */
 +
border: 1px solid #7dae96;
 +
        border-right: none;
 +
//    opacity: .8; /* For Mozilla and Opera */
 +
// filter: alpha(opacity=80); /* For MSIE, might not work */
 
}
 
}
  
Line 26: Line 22:
 
#mytabs li {
 
#mytabs li {
 
     background: #f4f4f4;
 
     background: #f4f4f4;
 +
}
 +
 +
#f-parallelsico {
 +
float: right;
 +
height: 1%;
 +
top: -2px;
 +
position: relative;
 
}
 
}
  
Line 70: Line 73:
 
     .editlink, .noprint, .metadata, .dablink { display: none }
 
     .editlink, .noprint, .metadata, .dablink { display: none }
 
}
 
}
 
/* OpenVZ additions goes here */
 
 
a, #bodyContent a.external {
 
    text-decoration: none;
 
    color: #436976;
 
    background-color: transparent;
 
}
 
 
.portlet h5 {
 
    background: url(http://static.openvz.org/tab-bg-sel.gif) repeat-x 0% 100%;
 
}
 
 
.pBody {
 
    border: 1px solid #7dae96;
 
    border-left: none;
 
}
 
 
h1, h2, h3, h4, h5, h6, .header {
 
    color: #002f19;
 
}
 
 
h1, h2 {
 
    border-bottom: 1px solid #7dae96;
 
}
 
 
#p-personal li {
 
    background: transparent url(http://static.openvz.org/linkOpaque.gif) center left no-repeat;
 
    padding-left: 8px;
 
    color: #436976;
 
}
 
 
#p-personal li a {
 
    text-decoration: none;
 
    color: #436976;
 
}
 
 
#content {
 
border: 1px solid #7dae96;
 
        border-right: none;
 
// opacity: .8; /* For Mozilla and Opera */
 
// filter: alpha(opacity=80); /* For MSIE, might not work */
 
}
 
 
li#pt-userpage,
 
li#pt-anonuserpage,
 
li#pt-login {
 
background: transparent url(http://static.openvz.org/user.gif) center left no-repeat !important;
 
padding-left: 20px;
 
text-transform: none;
 
}
 
 
/* For MediaWiki:Edittools 'insert chars' to look like buttons.
 
  Originally taken from #my-buttons at http://ru.wikipedia.org/wiki/MediaWiki:Monobook.css
 
*/
 
 
#editpage-specialchars {
 
  padding: 0.5em;
 
}
 
 
#editpage-specialchars a {
 
  color: black;
 
  background-color: #ccddee;
 
  font-weight: bold;
 
  font-size: 0.9em;
 
  text-decoration: none;
 
  border: thin #006699 outset;
 
  padding: 0 0.1em 0.1em 0.1em;
 
}
 
 
#editpage-specialchars a:hover {
 
  background-color: #bbccdd;
 
}
 
 
#editpage-specialchars a:active {
 
  background-color: #bbccdd;
 
  border-style: inset;
 
}
 
 
  
 
span.date {
 
span.date {

Latest revision as of 00:32, 12 October 2011

/* <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 */
	border: 1px solid #7dae96;
        border-right: none;
//     	opacity: .8; /* For Mozilla and Opera */
//	filter: alpha(opacity=80); /* For MSIE, might not work */
}

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

#mytabs li {
    background: #f4f4f4;
}

#f-parallelsico {
 float: right;
 height: 1%;
 top: -2px;
 position: relative;
}

.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 }
}

span.date {
    font-size: smaller;
    font-style: oblique;
    white-space: nowrap;
}

li#privacy, li#disclaimer {
    display: none !important;
}
/* </nowiki></pre> */