Difference between revisions of "MediaWiki:Monobook.css"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Don't display some stuff on the main page)
(moved stuff from openvz.css to here)
Line 69: Line 69:
 
@media print {
 
@media print {
 
     .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://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;
 +
}
 +
 +
pre {
 +
    font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
 +
    font-size: 90%;
 +
    padding: 1em;
 +
    border: 1px dashed #7dae96;
 +
    color: Black;
 +
    background-color: #f7f9fa;
 +
    white-space: pre;
 +
    overflow: auto;
 +
}
 +
 +
#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;
 +
}
 +
 +
.listing,
 +
.stx table {
 +
    /* The default table for document listings. Contains name, document types, modification times etc in a file-browser-like fashion */
 +
    border-collapse: collapse;
 +
    border-left: 1px solid #7dae96;
 +
    border-bottom: 1px solid #7dae96;
 +
    font-size: 85%;
 +
    margin: 0em 0em 1em 0em;
 +
}
 +
.listing th,
 +
.stx table th {
 +
    background: #d6e5de;
 +
    border-top: 1px solid #7dae96;
 +
    border-bottom: 1px solid #7dae96;
 +
    border-right: 1px solid #7dae96;
 +
    font-weight: normal;
 +
    padding: 0em 1em 0em 1em;
 +
    text-transform: lowercase;
 +
}
 +
.listing .top {
 +
    border-left: 1px solid White;
 +
    border-top: 1px solid White ! important;
 +
    border-right: 1px solid White ! important;
 +
    text-align: right ! important;
 +
    padding: 0em 0em 1em 0em;
 +
}
 +
.listing .odd {
 +
    /*every second line should be shaded */
 +
    background-color: transparent;
 +
}
 +
.listing .even {
 +
    background-color: #f7f9fa;
 +
}
 +
.listing .listingCheckbox {
 +
    text-align: center;
 +
}
 +
.listing td,
 +
.stx table td {
 +
    border-right: 1px solid #7dae96;
 +
    padding: 0em 1em;
 +
    text-align: left;
 +
}
 +
.listing .filename {
 +
width: 40em;
 +
font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
 +
}
 +
.listing .filesize {
 +
width: 5em;
 +
font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
 +
text-align: right;
 +
}
 +
 +
.listing a:hover {
 +
    text-decoration: underline;
 +
}
 +
.listing img {
 +
    vertical-align: middle;
 +
}
 +
 +
span.date {
 +
    font-size: smaller;
 +
    font-style: oblique;
 +
    white-space: nowrap;
 
}
 
}
 
/* </nowiki></pre> */
 
/* </nowiki></pre> */

Revision as of 02:30, 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 }
}

/* OpenVZ additions goes here */

a, #bodyContent a.external {
    text-decoration: none;
    color: #436976;
    background-color: transparent;
}

.portlet h5 {
    background: url(http://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;
}

pre {
    font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
    font-size: 90%;
    padding: 1em;
    border: 1px dashed #7dae96;
    color: Black;
    background-color: #f7f9fa;
    white-space: pre;
    overflow: auto;
}

#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;
}

.listing,
.stx table {
    /* The default table for document listings. Contains name, document types, modification times etc in a file-browser-like fashion */
    border-collapse: collapse;
    border-left: 1px solid #7dae96;
    border-bottom: 1px solid #7dae96;
    font-size: 85%;
    margin: 0em 0em 1em 0em;
}
.listing th,
.stx table th {
    background: #d6e5de;
    border-top: 1px solid #7dae96;
    border-bottom: 1px solid #7dae96;
    border-right: 1px solid #7dae96;
    font-weight: normal;
    padding: 0em 1em 0em 1em;
    text-transform: lowercase;
}
.listing .top {
    border-left: 1px solid White;
    border-top: 1px solid White ! important;
    border-right: 1px solid White ! important;
    text-align: right ! important;
    padding: 0em 0em 1em 0em;
}
.listing .odd {
    /*every second line should be shaded */
    background-color: transparent;
}
.listing .even {
    background-color: #f7f9fa;
}
.listing .listingCheckbox {
    text-align: center;
}
.listing td,
.stx table td {
    border-right: 1px solid #7dae96;
    padding: 0em 1em;
    text-align: left;
}
.listing .filename {
	width: 40em;
	font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
}
.listing .filesize {
	width: 5em;
	font-family: "Andale Mono", "Vera Sans Mono", Courier, monospace;
	text-align: right;
}

.listing a:hover {
    text-decoration: underline;
}
.listing img {
    vertical-align: middle;
}

span.date {
    font-size: smaller;
    font-style: oblique;
    white-space: nowrap;
}
/* </nowiki></pre> */