Cid Highwind (talk | contribs) (rm as suggested by bp; search no longer on main page) |
(try fix for IE7 rendering bug) |
||
Line 316: | Line 316: | ||
line-height: 130%; |
line-height: 130%; |
||
margin: 1em auto 0.5em auto; |
margin: 1em auto 0.5em auto; |
||
− | clear:both; |
||
} |
} |
||
Revision as of 23:05, 27 August 2008
/*
<pre>
*/
/***********************************************************
** This CSS file contains all formatting information
** for user-created formats on Memory Alpha.
**
** For formatting of any class used by the Mediawiki
** engine, use [[Mediawiki:Monobook.css]].
**
** NOTE: Styles in this file are defined to be compliant
** with Monobook, the standard skin. For use with other
** skins, some or all of these might need to be redefined
** in the CSS file of that skin. -- Cid, 2006-05-18
*/
/***********************************************************
** TABLE: WIKI-SIDEBAR
*/
table.wiki-sidebar {
border: 1px solid #666;
background-color: #222222;
color: inherit;
clear: right;
float: right;
width: 300px;
margin-left: 1.5em;
margin-right: 0em;
margin-bottom: 1.3em;
}
table.wiki-sidebar tr th {
background: #000000 url(http://images.wikia.com/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x;
text-align: center;
font-weight: bold;
font-size:larger;
}
table.wiki-sidebar td {
line-height: 130%;
border:0;
font-size:smaller;
}
/*DEPRECATED: Use td.sb-left instead!*/
table.wiki-sidebar td.odd {
width: 35%;
font-weight: bold;
text-align: right;
}
table.wiki-sidebar td.sb-both {
text-align: center;
padding-left: 0;
padding-right: 0;
}
table.wiki-sidebar td.sb-both img {
display:block; /*force new line after img in sidebar */
border: 0px outset #888888;
margin: 0;
padding-left: 0;
padding-right: 0;
}
table.wiki-sidebar td.sb-left {
width: 33%;
font-weight: bold;
text-align: left;
vertical-align:top;
}
table.wiki-sidebar td.sb-right {
}
/** Deactivate thumbnail formatting in wiki-sidebars - originally from MA/de */
table.wiki-sidebar tr td div.thumb,
table.wiki-sidebar tr td div.tright,
table.wiki-sidebar .thumbinner {
clear: none;
float: none;
border:0 !important;
margin:0 auto !important;
padding:0 !important;
width:auto !important;
text-align:center;
display:inline;
}
table.wiki-sidebar .thumbinner img {margin:0 auto !important;}
table.wiki-sidebar tr td div.thumb div.thumbcaption {display:none;}
/***********************************************************
** TABLE: NAV-SIMPLE
*/
table.nav-simple {
width: auto;
clear: both;
background-color: #222222;
border: 1px solid #666;
margin: 1em auto 1em auto;
}
table.nav-simple tr th {
background: #000000 url(http://images.wikia.com/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x;
text-align: center;
font-weight: bold;
}
table.nav-simple tr td {
background-color: transparent;
text-align: center;
font-size: smaller;
}
/***********************************************************
** TABLE: BROWSER
*/
table.browser {
width: 100%;
clear: both;
border: 1px solid #666;
background-color: #222222;
color: #FFFFFF;
}
table.browser td {
text-align: center;
width: 33%;
background: #222222;
border: 1px outset #888888;
line-height: 130%;
}
table.browser td.topic {
background-color: #222222;
border: none;
}
/***********************************************************
** TABLE: GREY
*/
table.grey {
border: 1px solid #666;
background-color: #222222;
color: #FFFFFF;
}
table.grey tr th, table.grey thead tr th {
color: #FFFFFF;
background: #000000 url(http://images.wikia.com/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x;
text-align: left;
font-weight: bold;
}
table.grey td {
border: 1px outset #888888;
}
/***********************************************************
** TABLE: MAINPAGE
*/
table.mainpage {
width: 100%;
background-color: #222222;
border: 1px solid #666;
}
table.mainpage tr td, table.mainpage tr th {
vertical-align: top;
padding: 4px;
width: 33%;
}
table.mainpage tr th {
background: #000000 url(http://images.wikia.com/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x;
text-align: center;
font-weight: bold;
font-size: 1.2em;
}
/***********************************************************
** TABLE: FORUMLIST
*/
table.forumlist {
width: 100%;
background-color: #222222;
border: 1px solid #666;
}
table.forumlist tr th, table.forumlist thead tr th {
color: inherit;
background: #000000 url(http://images.wikia.com/memoryalpha/eo/images/f/f7/MA_page_bar.png) repeat-x;
text-align: left;
font-weight: bold;
}
/***********************************************************
** DIVs "Messages"
*/
div.warning {
background-color: #401F22;
border: 1px solid #660000;
color: #FF0000 !important;
font-weight: bold;
margin: 2em 0 1em;
padding: .5em 1em;
vertical-align: middle;
text-align: justify;
}
div.header-notice,
.copyright-notice {
background-color: #222222;
border: 1px solid #666;
color: #FFFFFF;
margin: 2em 0 1em;
padding: .5em 1em;
vertical-align: middle;
text-align: justify;
}
div.header-notice table {
background-color: transparent;
padding: 1px;
}
div.notice {
background-color: #401F22;
border: 1px dashed #CC0000;
color: #FFFFFF;
margin: 2em 20% 1em 20%;
padding: .5em 1em;
vertical-align: middle;
text-align: justify;
font-size:smaller;
}
div.header-notice#fa {
width: auto;
font-size: inherit !important;
}
div.notice p,
div.header-notice p,
div.warning p {
line-height: 120% !important;
}
div span.msg-title {
display: block;
width: 100%;
color: #FFD942;
text-align: center;
font-size: 150%;
font-weight: bold;
border-bottom: 1px solid #666;
}
/***********************************************************
** DIV SHORTCUT
*/
div.shortcut {
float:right;
border:1px solid #666;
background-color:#222222;
padding: 0.5em;
margin-bottom:1em;
text-align: center;
font-size:smaller;
font-weight:bold;
width: auto;
}
/***********************************************************
** DIV: ARTICLETYPE
*/
div.articletype {
font-size: smaller;
padding-top: 0em;
padding-bottom: 0em;
float: right;
position: absolute;
right: 1em;
top: 0em;
white-space: nowrap;
text-align: center;
border:1px solid #666;
background-color: #222222;
line-height: 130%;
margin: 1em auto 0.5em auto;
}
div.articletype table {
background-color: transparent;
float: left;
padding: 1px;
}
/***********************************************************
** AUDIOLINK ICON (see [[Template:Audio]])
*/
#bodyContent .audiolink a {
background: url("http://images.wikia.com/memoryalpha/en/images/3/32/Ma_audio_icon.png") center right no-repeat;
padding-right: 16px;
}
/***********************************************************
** Wikipedia Links marker from MA/de
*/
/*
** #bodyContent a[href *="*.wikipedia.org"]:after {
** content:" " url(/en/images/0/00/Wikipedia.gif);
** }
**/
/***********************************************************
** NOBLOCK (see [[Template:Unwrittentopics]])
** use 'span class="p-noblock"' to prevent text blocks via <p> inside
**
** NOTE:Renamed "p-wantedpages" on 2006-08-07. Let me know if this breaks anything. --CID
*/
.p-wantedpages p {
display:inline;
}
.p-wantedpages s a { display:none; }
.p-wantedpages {
color:#2E2E33;
}
.p-wantedpages a:after {
color:#FFFFFF;
content:",";
}
/***********************************************************
** Hiding .firstHeading, #siteSub, #contentSub on pages in ns:Portal
*/
.ns-102 * .firstHeading,
.ns-102 * h3#siteSub,
.ns-102 * #contentSub {
display:none;
}
/***********************************************************
** Hiding "discussion" link in ns:Forum
*/
.ns-100 * li#ca-talk {
display:none;
}
/***********************************************************
** Formatting for [[Memory Alpha:Episode data project/talk page thing]]
** by User:Bp
*/
.eptalkpagebox {background: #222; border: 1px solid #aaa; margin: 1em; padding: 1em; font-size: 95%;}
/***********************************************************
** Formatting for "hidden" Appearences section; by User:Bp
*/
.hiddenlist { display:none; }
.visiblelist { display:block; }
.listexpand { text-decoration: none; color: #66BBFF; }
.listexpand:hover { text-decoration: underline; color: #66BBFF; }
/***********************************************************
** Tex and Math formatting; suggested by User:Bp
*/
.texhtml,
a img[alt="math"] {
border:1px solid #222222;
background-color: #FFFFFF;
padding:3px;
}
/***********************************************************
** Formatting for new quote style, by User:Bp
** For testing only, not final.
*/
.dialogue {margin-left:20px;}
.dialogue-inside {border-left:5px solid #434343; padding-left:5px;}
.dialogue-inside-highlight {border-left:5px solid #434343; padding-left:5px;}
.dialogue-attribution {margin-left:40px;}
.quoteline {line-height:1.7; font-size:116%;}
.quoteline-action {margin-left:20px; line-height:1.7;}
.speaker-label {font-family: monospace; font-style: normal; color: #FFCC00;}
/***********************************************************
** Formatting for horizontal scroll bars on overwide pre
** tags, by User:Bp
*/
pre { overflow:auto; }
/***********************************************************
** Formatting an "ul" as inline enumeration by encapsulating
** with <div class="inline-list"
*/
.inline-list ul {display:inline;list-style:none;margin:0em;}
.inline-list ul li {display:inline;margin:0em;}
.inline-list ul li+li:before {
color:#FFFFFF;
content:", ";
}
div#mw-js-message{
background-color: transparent;
}
/***********************************************************
** MISC. DEPRECATED STUFF
*/
td.odd, td.even {
background-color: #222222;
border: 1px outset #888888;
}
/***********************************************************
** Hide "template navigation" [[Template:Tnavbox]] by default
** Override this in your personal Common.css, if you like.
*/
div.tnavbox {
visibility: hidden
}
.panel {margin: 0.5em 0; padding:0.5em;}
.usermessage {
background-color: #394A5C;
border: 1px solid #66BBFF;
color: #FFFFFF;
}
/*
</pre>
*/