MediaWiki:Common.css

From CrawlWiki
Revision as of 20:02, 26 December 2012 by Ion frigate (talk | contribs) (hoping this doesn't horribly break shit, importing from the old wiki (which itself derives from NetHackWiki))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/* 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;
}

/* Basic style for NetHack screen symbol templates
 * http://nethack.wikia.com/wiki/Category:Function_templates
 */
span.nhsym {
  background-color:#000000;
  font-family: monospace;
  padding: 2px;
  font-weight: bold;
  font-size: large;
}

/* Colors for NetHack screen symbol templates
 * Users with personal stylesheets may override these colors.
 *   For example      span class="nhsym clr-blue"
 *   Alternatively    span class="nhsym" style="color:#0000AA;"
 */
.clr-blue          { color:#0000AA; }
.clr-green         { color:#00AA00; }
.clr-cyan          { color:#00AAAA; }
.clr-red           { color:#AA0000; }
.clr-magenta       { color:#AA00AA; }
.clr-brown         { color:#AA5500; }
.clr-lightgray     { color:#AAAAAA; }
.clr-darkgray      { color:#555555; }
.clr-brightblue    { color:#5555FF; }
.clr-brightgreen   { color:#55FF55; }
.clr-brightcyan    { color:#55FFFF; }
.clr-orange        { color:#FF5555; }
.clr-brightmagenta { color:#FF55FF; }
.clr-yellow        { color:#FFFF55; }
.clr-white         { color:#FFFFFF; }

/* Forum formatting -Algorithm & -Splaka */
.forumheader { border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; }
.forumlist td span { display: block; padding-left: 10px; font-size: smaller }
.forumlist td span a { text-decoration: none; }
.forumlist td span.forum_author { padding-left: 30px; }
.forumlist td.forum_edited a { text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title span a { padding-left: 0px }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif) 
center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }

/* </pre> */