Difference between revisions of "MediaWiki:Common.css"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created (taken from meta.wikimedia.org))
 
(Added OpenVZ-specific styles (taken from WikiMedia:Openvz.css)
Line 2: Line 2:
 
<pre>
 
<pre>
 
*/
 
*/
 +
 +
/* This stuff is taken from wikimedia/common.css */
  
 
.hiddenStructure {display: none}
 
.hiddenStructure {display: none}
Line 75: Line 77:
 
   width: 20em;
 
   width: 20em;
 
   font-size: 90%;
 
   font-size: 90%;
 +
}
 +
 +
/* This stuff is for making the site look more OpenVZ-like (i.e. greenish/plonish).
 +
  Taken from MediaWiki:Openvz.css, done by Kir
 +
*/
 +
 +
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 {
 +
    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;
 +
}
 +
 +
#p-cactions li {
 +
border: 1px solid #7dae96;
 +
border-bottom: none;
 +
}
 +
 +
#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;
 
}
 
}
  

Revision as of 10:07, 9 June 2006

/*
<pre>
*/

/* This stuff is taken from wikimedia/common.css */

.hiddenStructure {display: none}

.if {display: none}


/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
}

.allpagesredirect {
  font-style: italic;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

/* This stuff is for making the site look more OpenVZ-like (i.e. greenish/plonish).
   Taken from MediaWiki:Openvz.css, done by Kir
*/

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

#p-cactions li {
	border: 1px solid #7dae96;
	border-bottom: none;
}

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

/*
</pre>
*/