MediaWiki:Common.css: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Cid Highwind
(+"Zitate" aus Monobook.css)
imported>Shisma
Zeile 655: Zeile 655:
 
q:lang(de) , .episode { quotes: "„" "”" "‚" "’" }
 
q:lang(de) , .episode { quotes: "„" "”" "‚" "’" }
  
.dialogzitat cite{
+
.dialogzitat dt{
 
font-weight:bold;
 
font-weight:bold;
 
font-style:normal;
 
font-style:normal;
 +
}
 +
 +
.dialogzitat dt{
 +
display:inline;
 
}
 
}
  

Version vom 1. August 2008, 22:47 Uhr

/*
<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;
	clear:both;
}

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
}

.searchList { border: 1px solid black; overflow:hidden; margin-left: 0px !important; margin-top: 2px; padding: 2px; background-color: white; color: black; }

.searchListItem { list-style: none; background: transparent; color:black; cursor:default; }
.searchListItemHighlight { list-style: none; background-color: #4070D0; color:white; cursor:default; }

.searchListItemRedirect { list-style: none; background: transparent; color:#888; cursor:default; }
.searchListItemRedirectHighlight { list-style: none; background-color: #4070D0; color:white; cursor:default; }

.searchListText { list-style: none; background-color: white; color:black; padding: 2px; cursor:default; }
.searchListTools { list-style: none; background-color: #ccc; border-top: 1px dotted black; color:black; padding: 2px; }

a.searchListTools { color: blue; text-decoration: none; border: none; }
a.searchListTools:active { color: red; text-decoration: underline; border: none; }
a.searchListTools:visited { color: purple; text-decoration: none; border: none; }
a.searchListTools:hover { color: red; text-decoration: underline; border: none; }

.panel {margin: 0.5em 0; padding:0.5em;}

.usermessage {
	background-color: #394A5C;
	border: 1px solid #66BBFF;
	color: #FFFFFF;
}

/*MA/de-spezifisches */

/***********************************************************
** MARKIERUNG VON REDIRECTS
*/


.allpagesredirect {
       font-style: italic;
}
 
.watchlistredir {
       font-style: italic;
}

/***********************************************************
** Formatierungen für Logbucheinträge
***********************************************************/

div.logbuch {
	width: 85%;
	margin: 1.0em auto 0.5em auto;
	padding: 5px;
	text-align: left;
	border: 1px inset #999999;
	background-color: #2A2A2A;
	color: #FFFFFF;
	line-height: 120%;
}

/***********************************************************
** Formatting for new quote style, by User:Bp
** For testing only, not final. (übernommen aus der englischen MA zum Testen)
*/
.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;}

/***********************************************************
** Formatierungen für Vorlage "ExzellenterArtikel"
***********************************************************/

div.featured {
	background: #282828;
	border: 2px solid #FF9900;
	padding: 0.4em;
}


/***********************************************************
** SVG-Transparenz bleibt transparent
***********************************************************/

#file img, .gallerybox .thumb img {
	background: none;
}


/***********************************************************
** für das clear-Objekt (Beendigung des Textumflusses)
***********************************************************/

.clear {
        clear: both;
        width: 0px;
        height: 0px;
        margin: 0;
        padding: 0;
}

/***********************************************************
** TEST: Wegklappbare Navigationsleisten
***********************************************************/

 div.BoxenVerschmelzen,
 div.NavFrame {
    margin: 0px;
    padding: 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
    clear: both;
 }
 div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
 }
 div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
 }
 div.NavPic {
    background-color: #333333;
    margin: 0px;
    padding: 2px;
    float: left;
 }
 div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #660000;
    color: #FFCC00;
 }
 div.NavFrame p {
    font-size: 100%;
 }
 div.NavFrame div.NavContent {
    font-size: 100%;
 }
 div.NavFrame div.NavContent p {
    font-size: 100%;
 }
 div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
 }
 
 /* Abstand vor Navigationsleisten */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
   margin-top: 1.5em;
 }
 div.BoxenVerschmelzen div.NavFrame {
   margin-top: 0;
 }
 div.NavFrame + div.NavFrame {
   margin-top: 0;
 }
 
 /* Navigationsleisten nicht mit ausdrucken */
 
 @media print{
    .NavFrame {
        display: none;
    }
    .BoxenVerschmelzen {
        display: none;
    }
 }



/* ZITATE: Verschoben von Monobook.css */

blockquote{
	background-color: #444444;
	padding:1em;
}

.dialogzitat{
	display:inline;
}

q{
	font-family:sans-serif;
	font-style:italic;
}

.zitat q{
	font-style:normal;
}

q:lang(de) , .episode { quotes: "„" "”" "‚" "’" }

.dialogzitat dt{
	font-weight:bold;
	font-style:normal;
}

.dialogzitat dt{
	display:inline;
}

.dialogzitat q{
	font-style:normal;
}

.dialogzitat strong{
	font-weight:normal;
	text-transform: uppercase;
}

.regieanweisung{
	font-style:italic;
}

.zitat{
	text-align:center;
	width:70%;
	margin:auto;
}

cite.EpLink{
	font-style:normal;
}

.zitat cite{
	font-size:95%;
}

.zitat cite cite{
	font-size:100%;
}

.meta{ font-style:italic; display:block; margin-left:2em; }

.meta cite.EpLink{
	font-style:italic;
}

.zitat cite.EpLink{
	font-style:italic;
}



/*
</pre>
*/