Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
 
No edit summary
Line 15: Line 15:
table.prettytable {
table.prettytable {
   margin: 1em 1em 1em 0;
   margin: 1em 1em 1em 0;
   background: #f9f9f9;
   /*background: #f9f9f9;*/
   border: 1px #aaaaaa solid;
   border: 1px #aaaaaa solid;
   border-collapse: collapse;
   border-collapse: collapse;
Line 28: Line 28:
table.wikitable th,
table.wikitable th,
table.prettytable th {
table.prettytable th {
   background: #f2f2f2;
   /*background: #f2f2f2;*/
   text-align: center;
   text-align: center;
}
}

Revision as of 09:12, 23 October 2025

/* taken from http://crawl.chaosforge.org/MediaWiki:Common.css */
/* taken from http://nethack.wikia.com/wiki/MediaWiki:Common.css */

/* edit this file to customise CSS for all skins <pre> */

/* PRE OVERFLOW
 * If "pre" text overflows, provide a scrollbar. */
pre {
  overflow: auto;
}

/* PRETTY TABLES
 * The wikitable or prettytable class skins 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;
}