Difference between revisions of "MediaWiki:Common.css"

From YTMND
Jump to: navigation, search
 
(More fun styles taken from Wikipedia)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
/*
 
/*
<pre>
+
<pre><nowiki>
 
*/
 
*/
  
Line 8: Line 8:
  
  
/* wikitable/prettytable class for skinning normal tables */
+
/* Messagebox templates */
  
table.wikitable,
+
.messagebox {
table.prettytable {
+
  border: 1px solid #aaaaaa;
  margin: 1em 1em 1em 0;
+
  background-color: #f9f9f9;
  background: #f9f9f9;
+
  width: 80%;
  border: 1px #aaaaaa solid;
+
  margin: 0 auto 1em auto;
  border-collapse: collapse;
+
  padding: .2em;
 +
  text-align: justify;
 
}
 
}
 
+
.messagebox.merge {
table.wikitable th, table.wikitable td,
+
  border: 1px solid #c0b8cc;
table.prettytable th, table.prettytable td {
+
  background-color: #f0e5ff;
  border: 1px #aaaaaa solid;
+
  text-align: center;
  padding: 0.2em;
+
 
}
 
}
 
+
.messagebox.cleanup {
table.wikitable th,
+
  border: 1px solid #9f9fff;
table.prettytable th {
+
  background-color: #efefff;
  background: #f2f2f2;
+
  text-align: center;
  text-align: center;
+
 
}
 
}
 
+
.messagebox.standard-talk {
table.wikitable caption,
+
  border: 1px solid #c0c090;
table.prettytable caption {
+
  background-color: #f8eaba;
  margin-left: inherit;
+
  margin-right: inherit;
+
}
+
 
+
.allpagesredirect {
+
  font-style: italic;
+
 
}
 
}
  
Line 75: Line 68:
 
   width: 20em;
 
   width: 20em;
 
   font-size: 90%;
 
   font-size: 90%;
 +
}
 +
 +
/* styles for bordered infobox with merged rows */
 +
.infobox.bordered .mergedtoprow td,
 +
.infobox.bordered .mergedtoprow th {
 +
  border: 0;
 +
  border-top: 1px solid #aaaaaa;
 +
  border-right: 1px solid #aaaaaa;
 +
}
 +
 +
.infobox.bordered .mergedrow td,
 +
.infobox.bordered .mergedrow th {
 +
  border: 0;
 +
  border-right: 1px solid #aaaaaa;
 
}
 
}
  
 
/*
 
/*
</pre>
+
</nowiki></pre>
 
*/
 
*/

Latest revision as of 12:59, July 13, 2006

/*
<pre><nowiki>
*/

.hiddenStructure {display: none}

.if {display: none}


/* Messagebox templates */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}

/* 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%;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaaaaa;
   border-right: 1px solid #aaaaaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaaaaa;
}

/*
</nowiki></pre>
*/