MediaWiki:Monobook.js: Unterschied zwischen den Versionen

Aus Moneypedia
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
 +
/*-----------------------------------------------------------------------------*/
 +
/* Ä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;
 +
}
 +
 +
/*  Kategorienseite mit transparentem Hintergrund */
 +
 +
#mw-subcategories table {
 +
        background-color: transparent;
 +
}
 +
 +
#mw-pages        table {
 +
        background-color: transparent;
 +
}
 +
 +
/* 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 */
 +
/* (für die Dauer der Spendenaktion deaktivert, weil der Rest mittig steht. Ggfs. neu anpassen */
  
// ============================================================
+
/* #siteNotice p {text-align:left;} */
/* tooltips and access keys */
+
/* #siteNotice {padding-left:0;}    */
ta = new Object();
+
 
ta['pt-userpage'] = new Array('.','My user page');
+
/* Sitenotice Hintergrund transparent, vor allem für die nicht-Artikelseiten. */
ta['pt-anonuserpage'] = new Array('.','The user page for the ip you\'re editing as');
+
#siteNotice table {
ta['pt-mytalk'] = new Array('n','My talk page');
+
    background-color: transparent;
ta['pt-anontalk'] = new Array('n','Discussion about edits from this ip address');
+
    font-size: 100%;
ta['pt-watchlist'] = new Array('l','The list of pages you\'re monitoring for changes.');
+
}
ta['pt-mycontris'] = new Array('y','List of my contributions');
+
ta['pt-login'] = new Array('o','You are encouraged to log in, it is not mandatory however.');
+
/* kleines Globus-Symbol neben der Geookordinate anzeigen */
ta['pt-anonlogin'] = new Array('o','You are encouraged to log in, it is not mandatory however.');
+
ta['pt-logout'] = new Array('o','Log out');
+
#coordinates a[href ^="http://"] {
ta['ca-talk'] = new Array('t','Discussion about the content page');
+
    background: url(http://upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat; padding-right: 18px !important;
ta['ca-edit'] = new Array('e','You can edit this page. Please use the preview button before saving.');
+
}
ta['ca-addsection'] = new Array('+','Add a comment to this discussion.');
+
ta['ca-viewsource'] = new Array('e','This page is protected. You can view its source.');
+
/* Unterdrückung des Weblink-Pfeiles für im Artikel eingebettete Koordinaten */
ta['ca-history'] = new Array('h','Past versions of this page.');
+
ta['ca-protect'] = new Array('=','Protect this page');
+
#bodyContent span.coordinates a.external[href ^="http://"] {background-image:none;padding-right: 0;}
ta['ca-delete'] = new Array('d','Delete this page');
+
ta['ca-undelete'] = new Array('d','Restore the edits done to this page before it was deleted');
+
/* für [[Vorlage:ISSN-Link]] damit ohne Globus-Symbol: */
ta['ca-move'] = new Array('m','Move this page');
+
ta['ca-nomove'] = new Array('','You don\'t have the permissions to move this page');
+
#issnlink {
ta['ca-watch'] = new Array('w','Add this page to your watchlist');
+
    display: inline;
ta['ca-unwatch'] = new Array('w','Remove this page from your watchlist');
+
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
ta['search'] = new Array('f','Search this wiki');
+
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal;
ta['p-logo'] = new Array('','Main Page');
+
}
ta['n-mainpage'] = new Array('z','Visit the Main Page');
+
ta['n-portal'] = new Array('','About the project, what you can do, where to find things');
+
/* für [[Wikipedia:Editcount|Vorlage:Editcount]]: */
ta['n-currentevents'] = new Array('','Find background information on current events');
+
ta['n-recentchanges'] = new Array('r','The list of recent changes in the wiki.');
+
#editcount {
ta['n-randompage'] = new Array('x','Load a random page');
+
    display: inline;
ta['n-help'] = new Array('','The place to find out.');
+
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
ta['n-sitesupport'] = new Array('','Support us');
+
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:85%; text-transform:none; white-space:normal;
ta['t-whatlinkshere'] = new Array('j','List of all wiki pages that link here');
+
}
ta['t-recentchangeslinked'] = new Array('k','Recent changes in pages linking to this page');
+
ta['feed-rss'] = new Array('','RSS feed for this page');
+
/* Formatierung für Abkürzungen (experimentell): */
ta['feed-atom'] = new Array('','Atom feed for this page');
+
ta['t-contributions'] = new Array('','View the list of contributions of this user');
+
#shortcut {
ta['t-emailuser'] = new Array('','Send a mail to this user');
+
    display: inline;
ta['t-upload'] = new Array('u','Upload images or media files');
+
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
ta['t-specialpages'] = new Array('q','List of all special pages');
+
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal;
ta['ca-nstab-main'] = new Array('c','View the content page');
+
}
ta['ca-nstab-user'] = new Array('c','View the user page');
+
ta['ca-nstab-media'] = new Array('c','View the media page');
+
/* Formatierung für Kennzeichnung von Artikelstadien (Exzellent, Lesenswert etc.) (experimentell): */
ta['ca-nstab-special'] = new Array('','This is a special page, you can\'t edit the page itself.');
+
ta['ca-nstab-wp'] = new Array('a','View the project page');
+
#artikelstadium {
ta['ca-nstab-image'] = new Array('c','View the image page');
+
    display: block;
ta['ca-nstab-mediawiki'] = new Array('c','View the system message');
+
    position:absolute; z-index:1; border:none; background:none; right:12px; top:0.3em; float:right; margin:0.0em;
ta['ca-nstab-template'] = new Array('c','View the template');
+
    padding:0.0em; line-height:1.5em; text-align:right; text-indent:0; font-size:90%; text-transform:none; white-space:normal;
ta['ca-nstab-help'] = new Array('c','View the help page');
+
}
ta['ca-nstab-category'] = new Array('c','View the category page');
+
// ============================================================
+
/*-----------------------------------------------------------------------------*/
 +
 +
/* Links im [[Portal:Punk]] */
 +
 +
#punk a {
 +
        color: red
 +
}
 +
#punk a.new {
 +
        color: #FF8000
 +
}

Version vom 5. April 2007, 05:06 Uhr

/*-----------------------------------------------------------------------------*/
 /* Ä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;
 }
 
 /*  Kategorienseite mit transparentem Hintergrund */
 
 #mw-subcategories table { 
        background-color: transparent; 
 }
 
 #mw-pages         table { 
        background-color: transparent; 
 }
 
 /* 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 */
 /* (für die Dauer der Spendenaktion deaktivert, weil der Rest mittig steht. Ggfs. neu anpassen */

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

 /* Sitenotice Hintergrund transparent, vor allem für die nicht-Artikelseiten. */
 #siteNotice table {
    background-color: transparent;
    font-size: 100%;
 }
 
 /* kleines Globus-Symbol neben der Geookordinate anzeigen */
 
 #coordinates a[href ^="http://"] {
    background: url(http://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 Kennzeichnung von 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
 }