Difference between revisions of "MediaWiki:Common.css"

From FollowTheScore
Jump to: navigation, search
m (Reverted edits by Gero (Talk); changed back to last version by WikiSysop)
Line 1: Line 1:
#n-Manual { background-color: #ffddaa; }
 
#n-Source/Download { background-color: #ccccff; }
 
#n-Test { background-color: #ccffcc; }
 
#n-Type { background-color: #dedede; }
 
  
/* wikitable, sortable, and prettytable class definitions
+
/* wikitable, sortablewikitable, and prettytable class definitions
 
** based on meta.wikimedia.org MediaWiki:Common.css  
 
** based on meta.wikimedia.org MediaWiki:Common.css  
 
*/
 
*/
  
table.wikitable, table.sortable, table.prettytable {
+
table.wikitable, table.sortablewikitable,
 +
table.prettytable {
 
   margin: 1em 1em 1em 0;
 
   margin: 1em 1em 1em 0;
 
   background: #f9f9f9;
 
   background: #f9f9f9;
Line 15: Line 12:
 
}
 
}
  
table.wikitable td, table.sortable td, table.prettytable td {
+
table.wikitable th, table.wikitable td,
 +
table.sortablewikitable th,  table.sortablewikitable td,
 +
table.prettytable th, table.prettytable td {
 
   border: 1px #aaaaaa solid;
 
   border: 1px #aaaaaa solid;
 
   padding: 0.2em;
 
   padding: 0.2em;
 
}
 
}
  
table.wikitable th, table.sortable th, table.prettytable th {
+
table.wikitable th,
 +
table.sortablewikitable th,
 +
table.prettytable th {
 
   background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
 
   background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
  border: 1px #aaaaaa solid;
 
 
   text-align: center;
 
   text-align: center;
 
}
 
}
  
table.wikitable caption, table.sortable caption, table.prettytable caption {
+
table.wikitable caption,
 +
table.sortablewikitable caption,
 +
table.prettytable caption {
 
   margin-left: inherit;
 
   margin-left: inherit;
 
   margin-right: inherit;
 
   margin-right: inherit;
 
}
 
}
 +
 +
/* Zurdnung von Farben zu Hauptkategorien */

Revision as of 11:25, 23 June 2007

/* wikitable, sortablewikitable, and prettytable class definitions
** based on meta.wikimedia.org MediaWiki:Common.css 
*/

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

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

table.wikitable th,
table.sortablewikitable th,
table.prettytable th {
  background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
  text-align: center;
}

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

/* Zurdnung von Farben zu Hauptkategorien */