Difference between revisions of "MediaWiki:Common.css"

From FollowTheScore
Jump to: navigation, search
Line 17: Line 17:
 
   width:33%;
 
   width:33%;
 
}
 
}
 +
 +
/* Demo for a special DPL table which is used by dplmatrix */
 +
 +
table.dplmatrix {
 +
  margin: 1em 1em 1em 0;
 +
  background: #f9f9f9;
 +
  border: 1px #aaaaaa solid;
 +
  border-collapse: collapse;
 +
}
 +
table.dplmatrix th {
 +
  background: #f2f2f2;
 +
  border: 1px #aaaaaa solid;
 +
  padding: 0.5em;
 +
  font-size: 80%;
 +
}
 +
table.dplmatrix td {
 +
  text-align: center;
 +
  border: 1px #aaaaaa solid;
 +
  padding: 0.5em;
 +
}
 +
  
 
/* wikitable, sortable, and prettytable class definitions
 
/* wikitable, sortable, and prettytable class definitions

Revision as of 18:29, 17 December 2007

/* disable navigation sidebar */
#p-navigation { display:none }

/* color settings for article types */

#n-Manual { background-color: #ffddaa; }
#n-Source { background-color: #ccccff; }
#n-Test { background-color: #ccffcc; }
#n-Type { background-color: #dedede; }

/* Demo for a special DPL table which can be assigned via rowcolformat */

table.dpl3columns td {
  background: #f2f2f2;
  padding: 0.5em;
  border:3px;
  width:33%;
}

/* Demo for a special DPL table which is used by dplmatrix */

table.dplmatrix {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.dplmatrix th {
  background: #f2f2f2;
  border: 1px #aaaaaa solid;
  padding: 0.5em;
  font-size: 80%;
}
table.dplmatrix td {
  text-align: center;
  border: 1px #aaaaaa solid;
  padding: 0.5em;
}


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

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

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

table.wikitable th, table.sortable th, table.prettytable th {
  background: #E6E6FA; /* lavender; wikimedia: #f2f2f2 */
  border: 1px #aaaaaa solid;
  text-align: center;
}

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