MediaWiki:Common.css: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Florian K
(erster Test, Übernahme aus MA/en von Cid)
 
imported>Florian K
(Wikipedia Links makieren)
Zeile 323: Zeile 323:
  
  
 
+
/* 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); }
  
  

Version vom 24. Mai 2006, 13:11 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;
}





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


/*
</pre>
*/