Benutzer:Wikibähhhr/monobook.css

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen

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
/* <pre><nowiki> */
/*======================================================================*/
/*## mediawiki.css */

/* white on white, no background image */
body { 
    background-color: white; 
    background: none;
}

/* pre should scroll, not widen the page. and it's too big */
pre { 
    overflow: auto; 
    font-size: 90%;
}

/* diffs are too small */ 
.diff-context,
.diff-deletedline,
.diff-addedline {
    /* .diffchange */
    font-size: 100% !important;
}

/* links have color. no underline necessary */
a {
    text-decoration: none; 
}

/* colored interwiki links */
#bodyContent a.extiw,
#bodyContent a.extiw:active {
    color: green;
}

/* icon for interwiki links */
#bodyContent a.extiw:after {
    content:"✩";
    font-size:120%;
}

/* remove a lot of stuff i do not need */
#siteNotice,
#NavFrame,
#footer, .printfooter,
#histlegend,
#editpage-copywarn, #editpage-copywarn-copywarn, #editpage-longpagewarning {
    display: none;
}

/* red marker before local content of pages for shared images */
div.sharedUploadNotice + p::before {
    content: "!!! "; 
    color: red; 
    font-size: 150%; 
    font-weight: bold; 
}

/* show EXIF data */
#mw_metadata tr.collapsable {
    display: table-row;
}

/*======================================================================*/
/*## wikipedia.css */

/* no intros for me */
.wp_intro {
    display: none;
}

/* personendaten shall be displayed */
table.metadata { 
    display: block; 
}

/* warning hand so i don't edit user pages by accident */
li#ca-edit a[href*="title=Benutzer:"] { background: left url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Stop_hand.png/32px-Stop_hand.png); }
li#ca-edit a[href*="title=Benutzer:D/"] { background: none; }
li#ca-edit a[href*="title=Benutzer:D&"] { background: none; }

/* that's me */
#bodyContent a[href$="Benutzer:D"] {
    color: darkorange;
    font-weight: bold;
}

/* fake external link */
#bodyContent a[href*="wikipedia"] {
    background: inherit !important;
    /* padding-right: inherit !important; */
    padding-right: 0 !important;
}

/*======================================================================*/
/*## usermessageLean.css */

 /* less annoying kackbalken */
div.usermessage {
    font-weight: normal;
    background-color: transparent !important;
    border-color: transparent transparent black transparent !important;
    border-style: groove; 
    text-align: right;
    padding-bottom: 0;
    margin-right: 0.1em;
    /* hack: kackbalken with less space above it */
    margin-top: -1em;
}

/* darkred links in the usermessage */
div.usermessage a {
    color: darkred;
}

/*======================================================================*/
/*## sideBar.css */

/* fix column one, the two top portlets have been unfixed with JS */
#column-one { 
    position: fixed;
    left: -1px;
    z-index: 4;
    padding: 0;
    margin-top: 1.8em;
}

/* portlet styling */
#column-one { 
    background: transparent;
    border: none;
}
#column-one .portlet {
    background-color: white;
    border: 1px solid #aaaaaa;
    border-top: none;
    margin-bottom: 0;
    margin-left: 0.5em;
    padding-top: 0.2em;
    width: 11.7em;
}
#column-one .portlet h5 {
    background: transparent;
    font-weight: bold;
    margin: 0;
    padding: 0.1em;
    margin-left: 0.2em;
    border: none;
}
#column-one .portlet div {
    background: transparent;
    border: none;
}
#column-one .portlet div ul {
    margin: 0;
}
#column-one .portlet div ul li {
    list-style: disc;
    margin-bottom: 0;
    margin-left: 1em;
}

/* move list items to the left and remove background image */
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
    padding-left: 0;
    background-image: none; 
}       

/* i do not need these portlets */  /* #p-navigation, #p-tb,  */
#p-logo , #p-support, #p-goodies, #p-Mitmachen, #p-personal {     
    display: none;
}

/* i do not need this sidebar links */
#t-upload, #t-print, #t-ispermalink, #t-permalink, #t-cite,
#t-emailuser, #t-blockip, #t-contributions,
#n-mainpage, #n-aboutsite, #n-topics, #n-alphindex, #n-randompage,
#feedlinks {
    display: none;
}

/* move p-cactions upwards as p-personal gone */
#p-cactions {
    top: 0.22em;    /* was 1.3em, but 0.3em was too low? */
}

/* the first portlet need a border at the top */
#p-search {
    border-top: 1px solid #aaaaaa !important;
}

/* there was too much padding around here */
#p-search .pBody { 
    padding: 0.2em;
}

/* hack: remove ugly space below the searchform */
#searchform { 
    background-color: transparent;
    margin-bottom: 0;
}

/* search input goes directly into the portlet */
#searchInput { 
    font-size: 100%; 
    width: 11.2em;
    background-color: transparent;
    border: 1px solid #aaaaaa;
    margin: 0; 
    padding: 0;
}

/* do not display buttons in the searchform */
.searchButton {
    display: none; 
}

/* move content upwards as the first portlet is gone */
#content {
    margin-top: 1.8em;  /* was 2.8em */
}

/* move coordinates upwards as the first portlet is gone */
#coordinates {
    top: -1em;  /* was 0.3em */
}

/*======================================================================*/
/*## popup.css */

/* the source of the contextmenu */
.popup-source {
    cursor: default;
}

/* the context menu itself */
.popup-menu { 
    cursor: pointer;
    position: absolute;
    background: white;          
    border: 1px solid black;
    padding: 4px;
}
.popup-menu.visible {
    visibility: visible;
}
.popup-menu.hidden {
    visibility: hidden;
}

/* items in the context menu */
.popup-menu-item {}

/* a separator in the context menu */
popup-menu-separator {}

/* mediawiki styling */
.popup-menu { 
    z-index: 10;
    background: white !important;
    border: 1px solid black !important;
}
.popup-menu-item {
    font-size: 120%;
    line-height: 120%;
    display: block;
}

/* my monobook style */
.popup-menu-item a {
    color:  darkred;
    text-decoration: none;
}
.popup-menu-item a:hover {
    color:  red;
    text-decoration: underline; 
}

/*======================================================================*/
/*## functionLink.css */

/* a link triggering a javascript action */ 
.functionLink {
    cursor: pointer;
    color: darkred;
    white-space: nowrap;
}
/* i need to be sure i execute the right action */
.functionLink:hover {
    text-decoration: underline;
}

/*======================================================================*/
/*## progressArea.css */

/* ajax user notification thingy */

/* contains all progress areas */
.progress-global {
    z-index: 10;
    position: fixed;
    margin: 0;
    padding: 0;
    margin-left: 1em;
    margin-right: 2em;
    background:transparent;
}

/* one area for one action */
.progress-area {
    color: black;
    background-color: #ffce7b;
    border: 1px solid #ffa500;
    margin: 0.5em 0 0.5em;
    padding: .3em .3em;
    vertical-align: middle;
}

/* describes the kind of action */
.progress-header {
    font-weight: bold;
}

/* describes details about the action */
.progress-body {
}

/* move the close button to the right */
.progress-area .closeButton {
    float: right;
}

/*======================================================================*/
/*## closeButton.css */

/* a close button within a heading */
.closeButton {
    position:       relative;
    top:            -0.1em;
    vertical-align: baseline;    
    margin:         0;
    padding:        0;
    border:         none;
    background:     transparent;
}

/* the close button lights up */
.closeButton:hover {
    color:  darkred;
}

/*======================================================================*/
/*## folding.css */

/* contains header and body */
.folding-container {
    border: 1px solid black;
    margin-bottom: 0.8em;
    padding: 0;
}
/* the headline of a fold */
.folding-header {
    font-size: 120%;
    background-color: #e8e8e8;
    border: none;
    margin: 0;
    padding: 0.1em;
}
/* the body of a fold */
.folding-body {
    background-color: white;
    border: none;
    border-top: 1px solid #d0d0d0;
    margin: 0;
    padding: 0.1em 0.5em 0.2em 0.5em;
}
/* a button for folding headers */
.folding-button {
    position: relative;
    width: 1.5ex;
    margin-left: 0;
    margin-right: 0.4ex;
    padding-left: 0.4ex;
    padding-right: 0.3ex;
    cursor: pointer;
    color: black;
}
.folding-button:hover {
    color: darkred;
}

/*======================================================================*/
/*## foldHeaders.css */

/* header and body should be adjacent */
.foldHeaders.folding-header {
    font-weight: normal;
    margin-bottom: 0 !important;
}

/* smaller paragraphs inside the body */
.foldHeaders.folding-body p {
    margin-top: 0.1em;
    margin-bottom: 0.3em;
}

/* deeper levels are indented */
.foldHeaders.folding-body .foldHeaders.folding-container {
    margin-left: 16px;
    margin-top: 0.8em;
}

/* kill the paragraph between the editsection-div and the header */
.foldHeaders.folding-container div.editsection + p {
    margin: 0; 
}

/*======================================================================*/
/*## specialNewpages.css */

/* remove list counter */
ol.specialNewPages {
    list-style-type: none;
    margin-left: 0;
}

/* page actions */
.specialNewPages .folding-header .functionLink {
    float: right;
    margin-right: 0.5em;
    font-size: 85%;
}

/* hide top-right coordinates */
.specialNewPages .coordinates {
    display: none;
}

/*======================================================================*/
/*## specialWatchlist.css */

/* display only the filtered items */
#bodyContent.source-ip   li.source-name { display: none; }
#bodyContent.source-name li.source-ip   { display: none; }

/*======================================================================*/
/*## actionWatch.css */

/* while the link is active, change its background color */
#ca-watch a.active, 
#ca-unwatch a.active, 
#p-cactions li a:hover.active {
    background-color: #ffce7b;
}
/* </nowiki></pre> */