MediaWiki:Monobook.css

文出維基大典

註:重取頁面,文方新焉。

  • Firefox / Safari:Shift 並點 重新載入,或合鍵 Ctrl-F5Ctrl-R(Mac 為 ⌘-R)。
  • Google Chrome:Ctrl-Shift-R(Mac為 ⌘-Shift-R)。
  • Internet Explorer:Ctrl 並點 重新整理,或合鍵 Ctrl-F5
  • Opera:須至 Tools → Preferences 清謄本(Mac 為 Opera → Preferences)。
 /*-----------------------------------------------------------------------------*/
 /* Änderungen am Monobook-Skin für die deutschsprachige Wikipedia               */
 /* --> Skinübergreifende Anpassungen befinden sich in [[MediaWiki:Common.css|Common.css]]               */
 /*-----------------------------------------------------------------------------*/

 /* Änderungen in Fett markieren */

 span.diffchange {
         font-weight: bold;
 }

 /* Links nicht unterstreichen */

 a {
        text-decoration: none;
 }

 /* Großbuchstaben in den Navigationsbereichen */

 .portlet h5,
 .portlet h6,
 #p-personal ul,
 #p-cactions li a {
 	text-transform: none;
 }

 /* Fetter Bearbeiten-Link */

 #ca-edit a {
 	font-weight: bold !important;
 }

 /* Vermeide hässliche weiße Ränder bei Float-Objekten auf nicht-weißen Hintergründen. */

 div.thumb {
 	border: none;
 }
 div.tright {
 	border: none;
 	margin: 0.5em 0 0.8em 1.4em;
 }
 div.tleft {
 	border: none;
 	margin: 0.5em 1.4em 0.8em 0;
 }

 /* fromWikipedia */

 #fromWikipedia {
 	font-size: x-small;
 }

 /* Make all non-namespace pages have a light blue content area. This is done by
 	setting the background color for all #content areas to light blue and then
 	overriding it for any #content enclosed in a .ns-0 (main namespace). I then
 	do the same for the "tab" background colors. --Lupo */

 #content,
 #mytabs li.selected a,
 #p-cactions li.selected a {
 	background-color: #F3F3FF; /* ein leichtes blau */
 }
 .ns-0 #content,
 .ns-0 #mytabs li.selected a,
 .ns-0 #p-cactions li.selected a {
 	background-color: white;
 }

 /* Siehe Diskussionsseite == Hintergrundfarben ==
 .ns--1 table,
 .ns-2 table,
 .ns-4 table,
 .ns--1 form {
 	background: inherit;
 }
 */

 /* Kategorien etwas schöner darstellen */

 #catlinks {
 	border: 0px;
 	border-top: 2px dotted #aaaaaa;
  }

 /* Tabellenüberschriften (mit |+) größer und fett */

 caption {
 	font-size: 105%;
 	font-weight: bold;
 }

 ol.references {
 	font-size:90%;
 }

 /* Abschnitt-Bearbeiten-Links */
 .editsection {
 	font-size:90%;
 }

 /* [[Wikipedia:Externhinweis|Externhinweis]] */

 #externHinweis {
 	font-size: x-small;
 	text-align: center;
 	padding: 5px;
 }

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

 /*-----------------------------------------------------------------------------*/

 /* Absolute Positionierungen für Monobook.css */
 /* Bitte [[MediaWiki Diskussion:Common.css#Absolute_Positionierungen]] beachten */

 /* Koordinaten-Vorlagen: */

 #coordinates_3_ObenRechts {
    display: inline;
 }

 #coordinates {
    display: inline;
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal;
 }

 /* Sitenotice linksbündig, sollte dort keine Probleme machen, dafür die Koordinaten freihalten */

 #siteNotice p {text-align:left;}
 #siteNotice {padding-left:0;}


 /* kleines Globus-Symbol neben der Geookordinate anzeigen */

 #coordinates a[href ^="http://"] {
    background: url(//upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px !important;
 }

 /* Unterdrückung des Weblink-Pfeiles für im Artikel eingebettete Koordinaten */

 #bodyContent span.coordinates a.external[href ^="http://"] {background-image:none;padding-right: 0;}

 /* für [[Vorlage:ISSN-Link]] damit ohne Globus-Symbol: */

 #issnlink {
    display: inline;
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal;
 }

 /* für [[Wikipedia:Editcount|Vorlage:Editcount]]: */

 #editcount {
    display: inline;
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal;
 }

 /* Formatierung für Abkürzungen (experimentell): */

 #shortcut {
    display: inline;
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal;
 }

 /* Formatierung für Kennzeichnungfür Artikelstadien (Exzellent, Lesenswert etc.) (experimentell): */

 #artikelstadium {
    display: block;
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal;
 }

 /*-----------------------------------------------------------------------------*/

 /* Links im [[Portal:Punk]] */

 #punk a {
         color: red
 }
 #punk a.new {
         color: #FF8000
 }

 /*-----------------------------------------------------------------------------*/

/* enlarge font-size for zh fonts */

   #bodyContent { font-size:118%}

/* Fix Fontsize */ .portlet h5, .portlet ul,

   #toc .toctoggle {

   font-size: 100%;

} .pBody,

   #footer,

div.thumb div {

   font-size: 95%;

}

h2 {

   font-weight: bold;

}

/* ul {

   margin: 0.5em 0 0 1.5em;

}

*/

/* siteNotice 去掉斜体 */

   #siteNotice {

   font-style: normal;

}

 /*-----------------------------------------------------------------------------*/

 /* wikitable class for skinning normal tables */

 table.wikitable {
   background: #f9f9f9;
   border: 1px #aaa solid;
 }

 table.wikitable th, table.wikitable td {
   border: 1px #aaa solid;
   padding: 0.2em;
 }

 table.wikitable th {
   background: #f2f2f2;
 }