Zum Inhalt springen

Benutzer:Yorg/monobook.css

aus Wikipedia, der freien Enzyklopädie
Dies ist eine alte Version dieser Seite, zuletzt bearbeitet am 16. November 2004 um 23:13 Uhr durch Yorg (Diskussion | Beiträge). Sie kann sich erheblich von der aktuellen Version unterscheiden.

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topleft: 1em;
  -moz-border-radius-topright: 1em;
}
#content { 
  -moz-border-radius-topleft: 1em; 
  -moz-border-radius-bottomleft: 1em;
}
div.pBody {
  -moz-border-radius-topright: 1em;
  -moz-border-radius-bottomright: 1em;
}

/* User-defined CSS for Wikipedia (MediaWiki 1.3) skin customization. Modified by [[User:Yorg]]. */

/* Purpose:
/* 1. Minor tweaks: changing links styles (I like underlined links) and colors to better
      distinguish internal/external/stub/non-existing links; removing the useless "user" icon,
      getting rid of unwanted arrow image after external links, saving some space in tables.
   2. Moving the "personal toolbar" (top right of the screen) into a side box.
   3. Moving the interlanguage links to the top.
   4. Bottom tabs.   
   5. Make all non-main namespace pages have a light blue background.
*/
/* Section 1: Minor tweaks. */

/* statt "underline" nun "none" */
a {
    text-decoration: none;
    color: darkblue;
}

a.external {color: teal; }

/* But not for stub links */
a.stub { 
    text-decoration: none;
    color: brown;
}

/* Get rid of the stupid arrow after external links (only for http for the time being) */
#bodyContent a[href ^="http://"] {
    background:inherit !important;
    padding-right:inherit !important;
}

/* suppress the person icon by your username */
li#pt-userpage { background: none; }

/* save space in tables */

table p {
   margin: 0 0 0 0;
   line-height: 1.2em;
}

th {
   line-height: 1em;
}

td {
   line-height: 1.2em;
}

/* Section 2: Transform the user toolbar into a sidebox */

#p-personal {
    position:relative;
    z-index:3;
    width: 11.6em;
}

#p-personal .pBody {
    width: 10.8em;
    border: none;
    margin: 0 0 0.5em 0em;
    float: none;
    overflow: hidden;
    font-size: 95%;
    background: White;
    border-collapse: collapse;
    border: 1px solid #aaaaaa;
    padding: 0 0.8em 0.3em .5em;
}

#p-personal ul {
    /* line-height: 1.5em; */
    list-style-type: square;
    list-style-image: url("/style/monobook/bullet.gif");

    font-size:95%;
    margin: 0 0 0 1.5em;
    padding:0;
    text-align:left;
    text-transform: none;
}

#p-personal li {
    display: list-item;
    padding:0;
    margin: 0 0 0 0;
    /* margin-bottom: 0.1em; */
}

#p-personal li a {
    text-decoration: underline;
    color: blue;
}

#p-personal h5 {
    display: inline;
    padding: 0em 1em 0em 0.5em;
}

/* Waste less space in sidebar */

#p-nav ul {
    line-height: inherit;
    margin: 0 0 0 1.5em;
}

#p-nav li {
    margin: 0 0 0 0;
}

#p-tbx ul {
    line-height: inherit;
    margin: 0 0 0 1.5em;
}

#p-tbx li {
    margin: 0 0 0 0;
}

/* Section 4: Bottom tabs layout */

#mytabs {
    margin: -0.3em 0 0  11.5em;
    white-space:nowrap;
    line-height: 1.1em;
    overflow: visible;
    border-collapse: collapse;
    padding: 0 0 0 1em;
    list-style: none;
    font-size: 95%;
}
#mytabs .hiddenStructure { display: none; }
#mytabs li {
    display: inline;
    border: 1px solid #aaaaaa;
    border-top: none;
    padding: 0.1em 0 0 0;
    margin: 0 0.3em 0 0;
    overflow: visible;
    background: White;
}
#mytabs li.selected {
    border-color: #fabd23;
    padding: 0.2em 0 0 0;
}
#mytabs li a {
    background-color: White;
    color: #0014a6;
    border: none;
    padding: 0.3em 0.8em 0 0.8em;
    text-decoration: none;
    text-transform: lowercase;
    position: relative;
    margin: 0;
}
#mytabs li.selected a { z-index: 3; }
#mytabs .new a { color:#ba0000; }
#mytabs li a:hover {
    z-index: 3;
    text-decoration: none;
}
#mytabs h5 { display: none; }
#mytabs li.istalk { margin-right: 0; }
#mytabs li.istalk a { padding-right: 0.5em; }
#mytabs-ca-addsection a { 
    padding-left: 0.4em;
    padding-right: 0.4em;
}
/* offsets to distinguish the tab groups */
li#mytabs-ca-talk { margin-right: 1.6em; }
li#mytabs-ca-watch { margin-left: 1.6em; }

/* Section 5: Personal Headlines */

h1, h2, h3, h4, h5, h6 {
    color: #658;
    background: transparent;
    font-weight: bold;
    margin: 0 25px 0 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    text-decoration: underline;
}
h1 { font-size: 175%; }
h1 { 
    border-bottom: none;
    font-weight: non;
h2 { font-size: 135%; }
h2, h3, h4, h5, h6 { 
    border-bottom: none;
    font-weight: bold;
}
h3 { font-size: 110%; }
h4 { font-size: 100%; }
h5 { font-size: 85%; }
h6 { font-size: 70%;  }