MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus DarkfleetWiki
Wechseln zu: Navigation, Suche
(testweise teile der common.css des fwwiki)
Zeile 1: Zeile 1:
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
+
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/
.generallyHide { display:none; }
+
/** GEMEINSAME SKINANPASSUNGEN FÜR DAS DarkfleetWiki                    **/
 +
/** Jede Ergänzung oder Änderung an dieser Seite muss unbedingt vorher  **/
 +
/** für alle Skins auf ihre Funktionalität hin geprüft werden. Alle      **/
 +
/** Änderungen auf dieser Seite wirken sich auf die Darstellung aller    **/
 +
/** Inhalte aus. Bitte achte deshalb mit besonderer Sorgfalt auf deine  **/
 +
/** Änderungen; sprich sie vorher am besten mit der Community ab.       **/
 +
/** teilweise Import von: FreewarWiki: MediaWiki:Common.css              **/
 +
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/
  
a .NPC, a:link .NPC { display:none; }
+
/********** Inhaltsverzeichnis **********/
a:hover .NPC, a:active.NPC { display:inherit; }
+
/*** 1. Tabellen und Layout          ***/
 +
/*** 2. Sonstige Anpassungen          ***/
 +
/****************************************/
  
.maplink { text-decoration: none; }
 
.maplink a:link { text-decoration: none; }
 
.maplink { z-index:2; }
 
.maplink a:hover { text-decoration: none; }
 
.maplink { line-height: 1em; }
 
  
.QP { display:none; }
+
/*-------------------------------------*/
.QPvisible .QP { display:inherit; }
+
/* +++  1. Tabellen und Layout    +++ */
 +
/*-------------------------------------*/
  
.NI { display:none; }
+
/* „Cold Sunfire“-ähnliche Tabellen */
.NIvisible .NI { display:inherit; }
+
table.coldsunfire {
 +
border-collapse: collapse;
 +
font-size: 12px;
 +
}
  
*[class].IEonly { display:none; }
+
table.coldsunfire td {
*.noIE { display:none; }
+
background-color: #ECE9E6;
*[class].noIE { display:inherit; }
+
border: 1px solid #D6CBC2;
 +
padding: 2px;
 +
padding-left: 5px;
 +
}
  
.blacklink a:link, .blacklink a:visited { color:#4040FF; }
+
table.coldsunfire th {
 +
background-image: url(http://fwwiki.de/images/a/ae/Button_bg.jpg);
 +
border: 1px solid #A2A09F;
 +
font-weight: bold;
 +
padding: 2px;
 +
padding-left: 5px;
 +
text-align: left;
 +
}
  
.brandheiss { background:url(http://www.fwwiki.de/images/f/fc/Brandhei%C3%9F.gif) center no-repeat; font-weight:bold; }
+
/* Ersetzt Prettytable-Vorlage */
 +
.prettytable {
 +
border: 1px solid #aaaaaa;
 +
border-collapse: collapse;
 +
background-color: #F9F9F9;
 +
font-size: 95%;
 +
}
  
.linktomap { background:url(http://www.fwwiki.de/images/4/41/12px-Erde.png) center no-repeat; }
+
.prettytable th,
 +
.prettytable td {
 +
border: 1px solid #aaaaaa;
 +
padding: 0.33em;
 +
}
  
/* Bilder von Unicode-Zeichen für IE-Nutzer */
+
.prettytable th {
.unicode span { visibility:hidden; }
+
font-weight: bold;
.unicode#✓ { background:url(http://www.fwwiki.de/images/e/e5/%E2%9C%93.gif) no-repeat; }
+
text-align: center;
.unicode#✗ { background:url(http://www.fwwiki.de/images/2/23/%E2%9C%97.gif) no-repeat; }
+
}
.unicode#✓colorgreen { background:url(http://www.fwwiki.de/images/e/e2/%E2%9C%93green.gif) no-repeat; }
 
.unicode#✗colorred { background:url(http://www.fwwiki.de/images/9/95/%E2%9C%97red.gif) no-repeat; }
 
.unicode#☮font-size2em { background:url(http://www.fwwiki.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em; }
 
*[class].unicode span { visibility:visible; }
 
*[class].unicode#✓, *[class].unicode#✓colorgreen, *[class].unicode#✗colorred, *[class].unicode#☮font-size2em { background-image:url(); }
 
  
  
/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */
 
.BoxenVerschmelzen, .NavFrame, .VTabs
 
        { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; }
 
.VTabs { text-align:left; margin: 0; padding: 0; border-collapse: separate; background: transparent; }
 
.VTab { width: 100%;  }
 
.BoxenVerschmelzen .NavFrame, .BoxenVerschmelzen .VTabs { border-style: none; border-style: hidden; width: 100%; }
 
.NavFrame + .NavFrame { border-top-style: none; border-top-style: hidden; }
 
.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; }
 
.NavHead, .VTabCaption { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; }
 
.NavFrame p { font-size: 100%; }
 
.NavContent { font-size: 100%; }
 
.NavContent p { font-size: 100%; }
 
.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; }
 
.VTabCaption { margin: 2px; }
 
.VTabContent { height: 0; overflow: hidden; }
 
.NavToggle { font-size: x-small; float:right; }
 
  
+
/* Navigationsleisten nicht mit ausdrucken */
/* Navigationsleisten nicht mit ausdrucken */
+
@media print {
@media print { .NavFrame, .BoxenVerschmelzen, .VTabs { display: none; } }
+
.BoxenVerschmelzen,
 +
.NavFrame,
 +
.VTabs {
 +
display: none;
 +
}
 +
}
  
/* Abgerundete Ecken für Rahmen (noch kein CSS-Standard, kommt in CSS 3.0) */
+
/* Allgemeine Definition für Navigationsleisten */
.rundeecken
+
#navbar {
{
+
background: none;
  -moz-border-radius:10px;
+
border: none;
}
+
float: right;
 +
font-size: 85%;
 +
line-height: 1.5em;
 +
margin: 0em;
 +
padding: 0em;
 +
position: absolute;
 +
right: 12px;
 +
text-align: right;
 +
text-indent: 0;
 +
text-transform: none;
 +
top: -1.5em;
 +
/* top: -3.2em; */
 +
white-space: normal;
 +
z-index: 1;
 +
}
 +
.NavFrame + .NavFrame {
 +
border-top-style: none;
 +
border-top-style: hidden;
 +
}
 +
.NavPic {
 +
background-color: #ffffff;
 +
float: left;
 +
margin: 0px;
 +
padding: 2px;
 +
}
  
#navbar
+
.NavHead,
{
+
.VTabCaption {
position:absolute; z-index:1; border:none; background:none;
+
background-color: #efefef;
right:12px; top:-3.2em; float:right; margin:0.0em;
+
font-size: 100%;
padding:0.0em; line-height:1.5em; text-align:right; text-indent:0;
+
font-weight: bold;
font-size:85%; text-transform:none; white-space:normal;
+
height: 1.6em;
}
+
}
  
 +
.NavFrame p {
 +
font-size: 100%;
 +
}
  
/* Einstellungen für [[Cold Sunfire]]-ähnliche Tabellen */
+
.NavContent {
table.coldsunfire { border-collapse: collapse; font-size: 12px; }
+
font-size: 100%;
table.coldsunfire td { padding: 2px; padding-left: 5px; background-color: #ECE9E6; border: 1px solid #D6CBC2; }
+
}
table.coldsunfire th { border: 1px solid #A2A09F; font-weight: bold; padding: 2px; padding-left: 5px; background-image: url(http://www.fwwiki.de/images/a/ae/Button_bg.jpg); text-align: left; }
 
  
/* Gesamtkartenspezifisches */
+
.NavContent p {
.brownlink a { color:#775533 }
+
font-size: 100%;
.gesamtkartenwarnung { display:none; }
+
}
  
/* Dient der Anzeige von [[MediaWiki:Anoneditwarning]] */
+
.NavEnd {
#mw-anon-edit-warning
+
clear: both;
{
+
line-height: 1px;
background: #d3e1f2;
+
margin: 0px;
border: 1px solid #1a47ff;
+
padding: 0px;
margin: 1em auto;
+
}
padding: 1em;
 
width: 80%;
 
}
 
  
/* Alternativlogo: Standard weg */
+
.NavToggle {
/* #p-logo { display: none; } */
+
float:right;
 +
font-size: x-small;
 +
}
 +
 
 +
/* Zusätzliche Definitionen für vertikale Tabs */
 +
.BoxenVerschmelzen,
 +
.NavFrame,
 +
.VTabs {
 +
margin: 0px;
 +
padding: 2px;
 +
border: 1px solid #aaaaaa;
 +
text-align: center;
 +
border-collapse: collapse;
 +
font-size: 95%;
 +
clear:both;
 +
}
 +
 
 +
.VTabs {
 +
text-align:left;
 +
margin: 0;
 +
padding: 0;
 +
border-collapse: separate;
 +
background: transparent;
 +
}
 +
 
 +
.VTab {
 +
width: 100%;
 +
}
 +
 
 +
.BoxenVerschmelzen .NavFrame,
 +
.BoxenVerschmelzen .VTabs {
 +
border-style: none;
 +
border-style: hidden;
 +
width: 100%;
 +
}
 +
 
 +
.VTabCaption {
 +
margin: 2px;
 +
}
 +
.VTabContent {
 +
height: 0;
 +
}
 +
 
 +
/* Navigationsleiste für Kategorie-Navigation in [[MediaWiki:Sitenotice]] */
 +
.sitenotice_navbar {
 +
background: none;
 +
border: none;
 +
bottom: -2.5em;
 +
float: right;
 +
font-size: 85%;
 +
line-height: 1.5em;
 +
margin: 0em;
 +
padding: 0em;
 +
position: absolute;
 +
right: 12px;
 +
text-align: right;
 +
text-indent: 0;
 +
text-transform: none;
 +
white-space: normal;
 +
z-index: 1;
 +
}
 +
 
 +
/*-------------------------------------*/
 +
/* +++  3. Sonstige Anpassungen    +++ */
 +
/*-------------------------------------*/
 +
 
 +
/* Brandheiss-Stern */
 +
.brandheiss {
 +
background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat;
 +
font-weight:bold;
 +
}
 +
 
 +
/* Bilder von Unicode-Zeichen für IE-Nutzer */
 +
.unicode span {
 +
visibility:hidden;
 +
}
 +
 
 +
.unicode#✓ {
 +
background:url(http://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat;
 +
}
 +
 
 +
.unicode#✗ {
 +
background:url(http://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat;
 +
}
 +
 
 +
.unicode#✓colorgreen {
 +
background:url(http://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat;
 +
}
 +
 
 +
.unicode#✗colorred {
 +
background:url(http://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat;
 +
}
 +
 
 +
.unicode#☮font-size2em {
 +
background:url(http://fwwiki.staticdata.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em;
 +
}
 +
 
 +
*[class].unicode span {
 +
visibility:visible;
 +
}
 +
 
 +
*[class].unicode#✓,
 +
*[class].unicode#✓colorgreen,
 +
*[class].unicode#✗colorred,
 +
*[class].unicode☮?font-size2em {
 +
background-image:url();
 +
}
 +
 
 +
/* Warnmeldungen für IE-Benutzer */
 +
*[class].IEonly {
 +
display:none;
 +
}
 +
 
 +
*.noIE {
 +
display:none;
 +
}
 +
 
 +
*[class].noIE {
 +
display:inherit;
 +
}
 +
 
 +
/* Dient zur Transparenzanzeige bei Grafiken */
 +
#file img {
 +
background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png);
 +
}
 +
 
 +
/* Dient der Hervorhebung von [[MediaWiki:Anoneditwarning]] */
 +
#mw-anon-edit-warning {
 +
background: #d3e1f2;
 +
border: 1px solid #1a47ff;
 +
margin: 1em auto;
 +
padding: 1em;
 +
width: 80%;
 +
}
 +
 
 +
/* Fette Admin-Links in der Spezialseiten-Übersicht normal anzeigen; Legende ausblenden */
 +
.mw-specialpages-notes {
 +
display: none;
 +
}
 +
 
 +
.mw-specialpagerestricted {
 +
font-weight: normal;
 +
}
 +
 
 +
/* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */
 +
.allpagesredirect,
 +
.redirect-in-category,
 +
.watchlistredir {
 +
font-style: italic;
 +
}
 +
 
 +
/* Entfernt den Pfeil hinter Links auf das DarkfleetWiki, wodurch man sich die „plainlinks“-Klasse erspart */
 +
div#content a.external[href^="http://darkfleetwiki.de"],
 +
div#content a.external[href^="http://www.darkfleetwiki.de"],
 +
#mw_content a.external[href^="http://darkfleetwiki.de"],
 +
#mw_content a.external[href^="http://www.darkfleetwiki.de"] {
 +
background: none;
 +
padding-right: 0;
 +
}
  
/* SVG-Errors */
+
/* Verhindert die Sprengung des Layouts bei momentanen SVG-Errors */
 
.MediaTransformError {
 
.MediaTransformError {
  overflow: hidden;
+
overflow: hidden;
 
}
 
}
 +
 +
/* Einleitende Tabelle bei auf [[Spezial:Letzte Änderungen]] */
 +
.RecentChangesHeadingTable {
 +
width: 70%;
 +
margin-left: 100px;
 +
}
 +
 +
/* Alternativlogo: Standard weg */
 +
/* #p-logo { display: none; } */

Version vom 9. August 2012, 06:29 Uhr

/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/
/** GEMEINSAME SKINANPASSUNGEN FÜR DAS DarkfleetWiki                     **/
/** Jede Ergänzung oder Änderung an dieser Seite muss unbedingt vorher   **/
/** für alle Skins auf ihre Funktionalität hin geprüft werden. Alle      **/
/** Änderungen auf dieser Seite wirken sich auf die Darstellung aller    **/
/** Inhalte aus. Bitte achte deshalb mit besonderer Sorgfalt auf deine   **/
/** Änderungen; sprich sie vorher am besten mit der Community ab.        **/
/** teilweise Import von: FreewarWiki: MediaWiki:Common.css              **/
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/

/********** Inhaltsverzeichnis **********/
/*** 1. Tabellen und Layout           ***/
/*** 2. Sonstige Anpassungen          ***/
/****************************************/


/*-------------------------------------*/
/* +++   1. Tabellen und Layout    +++ */
/*-------------------------------------*/

/* „Cold Sunfire“-ähnliche Tabellen */
table.coldsunfire {
	border-collapse: collapse;
	font-size: 12px;
}

table.coldsunfire td {
	background-color: #ECE9E6;
	border: 1px solid #D6CBC2;
	padding: 2px;
	padding-left: 5px;
}

table.coldsunfire th {
	background-image: url(http://fwwiki.de/images/a/ae/Button_bg.jpg);
	border: 1px solid #A2A09F;
	font-weight: bold;
	padding: 2px;
	padding-left: 5px;
	text-align: left;
}

/* Ersetzt Prettytable-Vorlage */
.prettytable {
	border: 1px solid #aaaaaa;
	border-collapse: collapse;
	background-color: #F9F9F9;
	font-size: 95%;
}

.prettytable th,
.prettytable td {
	border: 1px solid #aaaaaa;
	padding: 0.33em;
}

.prettytable th {
	font-weight: bold;
	text-align: center;
}



/* Navigationsleisten nicht mit ausdrucken */
@media print {
	.BoxenVerschmelzen,
	.NavFrame,
	.VTabs {
		display: none;
	}
}

/* Allgemeine Definition für Navigationsleisten */
#navbar {
	background: none;
	border: none;
	float: right;
	font-size: 85%;
	line-height: 1.5em;
	margin: 0em;
	padding: 0em;
	position: absolute;
	right: 12px;
	text-align: right;
	text-indent: 0;
	text-transform: none;
	top: -1.5em;
	/* top: -3.2em; */
	white-space: normal;
	z-index: 1;
}
.NavFrame + .NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
.NavPic {
	background-color: #ffffff;
	float: left;
	margin: 0px;
	padding: 2px;
}

.NavHead,
.VTabCaption {
	background-color: #efefef;
	font-size: 100%;
	font-weight: bold;
	height: 1.6em;
}

.NavFrame p {
	font-size: 100%;
}

.NavContent {
	font-size: 100%;
}

.NavContent p {
	font-size: 100%;
}

.NavEnd {
	clear: both;
	line-height: 1px;
	margin: 0px;
	padding: 0px;
}

.NavToggle {
	float:right;
	font-size: x-small;
}

/* Zusätzliche Definitionen für vertikale Tabs */
.BoxenVerschmelzen,
.NavFrame,
.VTabs {
	margin: 0px;
	padding: 2px;
	border: 1px solid #aaaaaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
	clear:both;
}

.VTabs {
	text-align:left;
	margin: 0;
	padding: 0;
	border-collapse: separate;
	background: transparent;
}

.VTab {
	width: 100%;
}

.BoxenVerschmelzen .NavFrame,
.BoxenVerschmelzen .VTabs {
	border-style: none;
	border-style: hidden;
	width: 100%;
}

.VTabCaption {
	margin: 2px;
}
.VTabContent {
	height: 0;
}

/* Navigationsleiste für Kategorie-Navigation in [[MediaWiki:Sitenotice]] */
.sitenotice_navbar {
	background: none;
	border: none;
	bottom: -2.5em;
	float: right;
	font-size: 85%;
	line-height: 1.5em;
	margin: 0em;
	padding: 0em;
	position: absolute;
	right: 12px;
	text-align: right;
	text-indent: 0;
	text-transform: none;
	white-space: normal;
	z-index: 1;
}

/*-------------------------------------*/
/* +++  3. Sonstige Anpassungen    +++ */
/*-------------------------------------*/

/* Brandheiss-Stern */
.brandheiss {
	background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat;
	font-weight:bold;
}

/* Bilder von Unicode-Zeichen für IE-Nutzer */
.unicode span {
	visibility:hidden;
}

.unicode#✓ {
	background:url(http://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat;
}

.unicode#✗ {
	background:url(http://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat;
}

.unicode#✓colorgreen {
	background:url(http://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat;
}

.unicode#✗colorred {
	background:url(http://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat;
}

.unicode#☮font-size2em {
	background:url(http://fwwiki.staticdata.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em;
}

*[class].unicode span {
	visibility:visible;
}

*[class].unicode#✓,
*[class].unicode#✓colorgreen,
*[class].unicode#✗colorred,
*[class].unicode☮?font-size2em {
	background-image:url();
}

/* Warnmeldungen für IE-Benutzer */
*[class].IEonly {
	display:none;
}

*.noIE {
	display:none;
}

*[class].noIE {
	display:inherit;
}

/* Dient zur Transparenzanzeige bei Grafiken */
#file img {
	background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png);
}

/* Dient der Hervorhebung von [[MediaWiki:Anoneditwarning]] */
#mw-anon-edit-warning {
	background: #d3e1f2;
	border: 1px solid #1a47ff;
	margin: 1em auto;
	padding: 1em;
	width: 80%;
}

/* Fette Admin-Links in der Spezialseiten-Übersicht normal anzeigen; Legende ausblenden */
.mw-specialpages-notes {
	display: none;
}

.mw-specialpagerestricted {
	font-weight: normal;
}

/* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */
.allpagesredirect,
.redirect-in-category,
.watchlistredir {
	font-style: italic;
}

/* Entfernt den Pfeil hinter Links auf das DarkfleetWiki, wodurch man sich die „plainlinks“-Klasse erspart */
div#content a.external[href^="http://darkfleetwiki.de"],
div#content a.external[href^="http://www.darkfleetwiki.de"],
#mw_content a.external[href^="http://darkfleetwiki.de"],
#mw_content a.external[href^="http://www.darkfleetwiki.de"] {
	background: none;
	padding-right: 0;
}

/* Verhindert die Sprengung des Layouts bei momentanen SVG-Errors */
.MediaTransformError {
	overflow: hidden;
}

/* Einleitende Tabelle bei auf [[Spezial:Letzte Änderungen]] */
.RecentChangesHeadingTable {
	width: 70%;
	margin-left: 100px;
}

/* Alternativlogo: Standard weg */
/* #p-logo { display: none; } */