Difference between revisions of "MediaWiki:Common.css"
Wikisimpsons - The Simpsons Wiki
Line 56: | Line 56: | ||
div.ajax-poll { width:auto !important; } | div.ajax-poll { width:auto !important; } | ||
+ | |||
+ | /* wikitable/prettytable class for skinning normal tables */ | ||
+ | table.wikitable, | ||
+ | table.prettytable { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | table.wikitable th, table.wikitable td, | ||
+ | table.prettytable th, table.prettytable td { | ||
+ | border: 1px #aaa 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; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | table.prettytable code, | ||
+ | table.wikitable code { | ||
+ | background-color: transparent; | ||
+ | } |
Revision as of 15:47, June 26, 2010
/*
<pre>
*/
h2 {margin-top: 20px;}
.toc {margin-top: 20px;}
blockquote {padding-right: 150px}
.unpatrolled {display: none !important; }
.hiddenStructure {display: none;}
a {text-decoration: none; color: #002bb8; background: none;}
a:visited {color: #5a3696;}
a:active {color: #faa700;}
a:hover {text-decoration: underline;}
a.stub {color: #772233;}
a.new, #p-personal a.new {color: #ba0000;}
a.new:visited, #p-personal a.new:visited {color: #a55858;}
/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
display: inline;
font-size: 90%;
font-weight: normal;
font-style: italic;
text-align: right;
}
/***********************************************************
** Formatting for "hidden" Appearences section; cc-by-nc by [[w:c:MemoryAlpha:User:Bp]] at [[w:c:MemoryAlpha:User:Bp/interactive tree script]]
*/
.hiddenlist { display:none; }
.visiblelist { display:block; }
.listexpand { text-decoration: none; color: #002BB8; }
.listexpand:hover { text-decoration: underline; color: #002BB8; }
/*
</pre>
*/
div.ajax-poll { width:auto !important; }
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaa 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;
font-weight: bold;
}
table.prettytable code,
table.wikitable code {
background-color: transparent;
}