MediaWiki:Common.css: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Defchris
(Test: Wegklappbare Navigationsleisten)
imported>Defchris
K (Header-Farbe)
Zeile 431: Zeile 431:
 
     font-weight: bold;
 
     font-weight: bold;
 
     font-size: 100%;
 
     font-size: 100%;
     background-color: #efefef;
+
     background-color: #660000;
 
  }
 
  }
 
  div.NavFrame p {
 
  div.NavFrame p {

Version vom 9. Februar 2008, 19:46 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 #AAAAAA;
	background-color: #222222;
	color: inherit;
	clear: right;
	float: right;
	width: 200px;
	margin-left: 1.5em;
	margin-right: 0em;
}

table.wiki-sidebar tr th {
	background-color: #660000;
	border: 1px outset #660000;
	text-align: center;
	font-weight: bold;
}

table.wiki-sidebar td {
	line-height: 130%;
	border: 1px outset #222222;
}

/*DEPRECATED: Use td.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 {
	border: 0px outset #888888;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

table.wiki-sidebar td.sb-left {
	width: 35%;
	font-weight: bold;
	text-align: right;
	background-color: #222222;
	border: 0px outset #8888888;
}

table.wiki-sidebar td.sb-right {
	background-color: #2E2E33;
}




/* NAV-Simple anders definiert in MA/de
/***********************************************************
** TABLE: NAV-SIMPLE
*/
table.nav-simple {
	width: auto;
	clear: both;
	background-color: #222222;
	border: 1px solid #AAAAAA;
	margin: 1em auto 1em auto;
}

table.nav-simple tr th {
	background-color: #660000;
	border: 1px outset #660000;
	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 #AAAAAA;
	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 #AAAAAA;
	background-color: #222222;
	color: #FFFFFF;
}

table.grey tr th, table.grey thead tr th {
	color: #FFFFFF;
	background-color: #660000;
	border: 1px outset #660000;
	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 #AAAAAA;
}

table.mainpage tr td, table.mainpage tr th {
	vertical-align: top;
	padding: 4px;
	width: 33%;
}

table.mainpage tr th {
	background-color: #660000;
	border: 1px outset #660000;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
}





/***********************************************************
** TABLE: FORUMLIST
*/
table.forumlist {
	width: 100%;
	background-color: #222222;
	border: 1px solid #AAAAAA;
}
table.forumlist tr th, table.forumlist thead tr th { 
	color: inherit;
	background-color: #660000; 
	border: 1px outset #660000; 
	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 {
	background-color: #222222;
	border: 1px solid #AAAAAA;
	color: #FFFFFF;
	margin: 2em 0 1em;
	padding: .5em 1em;
	vertical-align: middle;
	text-align: justify;
}

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;
}

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 #AAAAAA;
}


/***********************************************************
** DIV SHORTCUT
*/
div.shortcut {
	float:right;
	border:1px solid #AAAAAA;
	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 #AAAAAA;
	background-color: #222222;
	line-height: 130%;
	margin: 1em auto 0.5em auto;
	clear:both;
}

div.articletype table {
	background-color: transparent;
	float: left;
	padding: 1px; 
}





/***********************************************************
** MISC. DEPRECATED STUFF
*/
td.odd, td.even {
	background-color: #222222;
	border: 1px outset #888888;
}


/* Wikipedia Links makieren */
#bodyContent a[href ^="http://de.wikipedia.org"]:after,
#bodyContent a[href ^="http://en.wikipedia.org"]:after {
    content:" " url(http://memory-alpha.org/de/images/0/00/Wikipedia.gif); }

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

/*
</pre>
*/