MediaWiki:Monobook.css
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
Documentation for this user script can be added at MediaWiki:Monobook. This user script seems to have an accompanying .js page at MediaWiki:Monobook.js. |
/* edit this file to customize the monobook skin for the entire site, but you're probably looking for [[Mediawiki:Common.css]]. This stylesheet is skin-specific. */
/* For search */
.mw-search-results table {
background: transparent;
}
/* Makes the background of a framed or thumbnail image white instead of gray. */
/* Only visible with transparent images. */
div.thumb div a img { background:#fff; }
/* Ripped out of [[w:de:MediaWiki:Monobook.css]]. Necessary for displaying text in the upper right edge. */
/* This is being used in [[Template:Shortcut]]. */
#shortcut {
display: inline;
position: absolute; z-index: 1; border: none; background: none; right: 12px; top: .3em; float: right; margin: 0;
padding: 0; line-height: 1.5em; text-align: right; text-indent: 0; font-size: 90%; text-transform: none; white-space: normal;
}
/* NavFrame */
div.BoxenVerschmelzen,
div.NavFrame {
margin: 0;
padding: 2px;
border: 1px solid #aaa;
border-collapse: collapse;
font-size: 95%;
}
div.BoxenVerschmelzen div.NavFrame {
border-style: none;
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
font-size: 100%;
background: #efefef;
position: relative;
}
div.NavFrame p {
font-size: 100%;
}
div.NavFrame div.NavContent {
font-size: 100%;
}
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
.NavToggle {
position: absolute;
right: 5px;
font-weight: normal;
}
#wpUploadDescription { height: 160px;}
/* extra buttons for edit dialog (from tr:) */
.my-buttons {
padding: .5em;
}
.my-buttons a {
color: #000;
background: #cde !important;
font-weight: bold;
font-size: .9em;
text-decoration: none;
border: thin #069 outset;
padding: 0 .1em .1em;
}
.my-buttons a:hover, .my-buttons a:active {
background: #bcd;
border-style: inset;
}
/* Fix jQuery Dialog font size */
.ui-dialog {font-size: 1.3em!important;}