Difference between revisions of "MediaWiki:Monobook.css"

From Twinsuniverse
Jump to: navigation, search
m
m (pity, it didn't work!)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the Monobook skin */
 
/* CSS placed here will affect users of the Monobook skin */
  
The following makes the background light blue in all namespaces, except for the mainspace:
 
  
#content {
 
    background: #F8FCFF; /* a light blue */
 
}
 
 
#content div.thumb {
 
    border-color: #F8FCFF;
 
}
 
 
.ns-0 * #content {
 
    background: white;
 
}
 
 
#mytabs li {
 
    background: #F8FCFF;
 
}
 
 
.ns-0 * #mytabs li {
 
    background: white;
 
}
 
 
#mytabs li a {
 
    background-color: #F8FCFF;
 
}
 
 
.ns-0 * #mytabs li a {
 
    background-color: white;
 
}
 
 
#p-cactions li a, #p-cactions li a:hover, #p-cactions li.selected a {
 
    background-color: #F8FCFF;
 
}
 
 
.ns-0 * #p-cactions li a {
 
    background-color: #fbfbfb;
 
}
 
 
.ns-0 * #p-cactions li.selected a, .ns-0 * #p-cactions li a:hover {
 
    background-color: white;
 
}
 
 
.ns-0 * #content div.thumb {
 
    border-color: white;
 
}
 
 
 
The following makes the corners of boxes round:
 
<pre>
 
 
/* Main content frame */
 
/* Main content frame */
#content {
+
#content
     -moz-border-radius-topleft:0.4em;
+
{
    -moz-border-radius-topright:0.4em;
+
     border-radius: 0.4em;
    -moz-border-radius-bottomright:0.4em;
+
 
}
 
}
  
 
/* Upper tabs */
 
/* Upper tabs */
#p-cactions ul li, #p-cactions ul li a {   
+
#p-cactions ul li, #p-cactions ul li a
  -moz-border-radius-topleft: 0.7em;
+
{   
  -moz-border-radius-topright: 0.7em;
+
    border-radius: 0.7em 0.7em 0px 0px;
 
}
 
}
  
 
/* Side-Bar */
 
/* Side-Bar */
div.pBody {
+
div.pBody
     -moz-border-radius:7px;
+
{
 +
     border-radius: 0px 7px 7px 0px;
 
}
 
}
  
 
/* Footer */
 
/* Footer */
#footer {
+
#footer
     -moz-border-radius:0.3em;
+
{
 +
     border-radius: 0.3em;
 
}
 
}
  
 
/* Thumbnails */
 
/* Thumbnails */
div.thumbinner {
+
div.thumbinner
     -moz-border-radius:0.6em;
+
{
 +
     border-radius: 0.6em;
 
}
 
}
  
 
/* Table of Contents */
 
/* Table of Contents */
#toc {
+
#toc
     -moz-border-radius:8px;
+
{
 +
     border-radius: 8px;
 
}
 
}
  
 
/* "Categories" box */
 
/* "Categories" box */
#catlinks {
+
#catlinks
     -moz-border-radius:8px;
+
{
 +
     border-radius: 8px;
 
}
 
}
  
 
/* Left boxes on main page */
 
/* Left boxes on main page */
table[align="left"][cellspacing="6"] td {
+
table[align="left"][cellspacing="6"] td
     -moz-border-radius:9px;
+
{
 +
     border-radius: 9px;
 
}
 
}
</pre>
 

Latest revision as of 18:23, 24 May 2014

/* CSS placed here will affect users of the Monobook skin */


/* Main content frame */
#content
{
    border-radius: 0.4em;
}

/* Upper tabs */
#p-cactions ul li, #p-cactions ul li a
{  
    border-radius: 0.7em 0.7em 0px 0px;
}

/* Side-Bar */
div.pBody
{
    border-radius: 0px 7px 7px 0px;
}

/* Footer */
#footer
{
    border-radius: 0.3em;
}

/* Thumbnails */
div.thumbinner
{
    border-radius: 0.6em;
}

/* Table of Contents */
#toc
{
    border-radius: 8px;
}

/* "Categories" box */
#catlinks
{
    border-radius: 8px;
}

/* Left boxes on main page */
table[align="left"][cellspacing="6"] td
{
    border-radius: 9px;
}