MediaWiki:Common.css
Aus der Mikrocontroller.net Artikelsammlung, mit Beiträgen verschiedener Autoren (siehe Versionsgeschichte)
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
- Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
.thumb {
margin: 1em;
border: 1px solid lightgray;
padding: 0.5em;
}
/* GeShi */
.mw-geshi {
max-width: 870px;
overflow: auto;
/* Problem: in many browsers, 1em is smaller (px) for monospace than for sans-serif. Workaround: use sans-serif as last alternative -> uses same font size! see http://www.brunildo.org/test/monospace_fsize.html */
font-family: monospace, sans-serif ! important;
}
/* tagline (MediaWiki:Tagline) */
#siteSub {font-size: 90%; font-style: italic;}
body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-submit #siteSub { display: none; }
/* Allow wrapping of text in PRE tags */
#mw-content-text pre {
white-space: pre-wrap;
}
/* Prevent images from expanding the page horizontally */
#mw-content-text img {
max-width: 100%;
}
/* top of page links to "navigation" and "search", not very useful */
#jump-to-nav {
display: none;
}
.mw-header .mw-editsection {
display: none;
}
.mw-header:hover .mw-editsection {
font-size: 0.6em;
float: right;
display: block;
}
#mw-content-text {
/* Prevent long URLs/Paths from extending the width of the page */
word-break: break-word;
word-wrap: break-word;
/* More space before category links */
margin-bottom: 1em;
}
#bodyContent {
/* More space after page title */
margin-top: 1em;
}
/* <http://www.mikrocontroller.net/topic/143703> */
table.wikitable {
table-layout: fixed;
width: 100%;
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid; border-collapse: collapse; empty-cells:show;
}
table.wikitable th {
border: 1px #AAA solid; padding: 0.3em;
background-color: #ddddff;
}
table.wikitable td {
border: 1px #AAA solid; padding: 0.3em;
}
/* </> */
.toclevel-2 ul {
display: none;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/**
* Vector HeadAnchors
*
* @license http://krinkle.mit-license.org/
* @author Timo Tijhof, 2013–2014
*/
.mw-header {
/* core sets this to fix editsection link bunching, but they no longer float
* and we need this so that the anchors are visible */
overflow: visible;
}
.mw-headline-headanchor {
padding-left: 17px;
margin-left: -17px;
background-size: 14px 12px;
background-repeat: no-repeat;
background-position: 0 50%;
}
.mw-headline-headanchor,
.mw-headline-headanchor:hover,
.mw-headline-headanchor:visited {
color: inherit;
text-decoration: none;
}
.mw-headline-headanchor:focus {
outline: 0;
}
.mw-header:hover .mw-headline-headanchor,
.mw-headline-headanchor:target {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSI3Ij48ZyBmaWxsPSIjNDE0MDQyIj48cGF0aCBkPSJNOS44IDdoLS45bC0uOS0uMWMtLjctLjMtMS40LS43LTEuOC0xLjMtLjItLjEtLjMtLjMtLjMtLjVsLS4zLS40Yy0uMS0uNC0uMi0uOC0uMi0xLjIgMC0uNC4xLS44LjItMS4yaDEuN2MtLjMuNC0uNC44LS40IDEuMiAwIC40LjEuOC4zIDEuMS4xLjIuMi4zLjQuNC4xLjEuMi4yLjQuMy4zLjIuNy4zIDEgLjNoMy40YzEuMiAwIDIuMi0uOSAyLjItMi4xcy0xLTIuMS0yLjItMi4xaC0xLjRjLS4zLS42LS43LTEtMS4yLTEuNGgyLjZjMiAwIDMuNiAxLjYgMy42IDMuNXMtMS42IDMuNS0zLjYgMy41aC0yLjZ6TTguNCAyYy0uMS0uMS0uMi0uMy0uNC0uMy0uMy0uMi0uNy0uMy0xLS4zaC0zLjRjLTEuMiAwLTIuMi45LTIuMiAyLjEgMCAxLjIgMSAyLjEgMi4yIDIuMWgxLjRjLjMuNS43IDEgMS4yIDEuNGgtMi42Yy0yIDAtMy42LTEuNi0zLjYtMy41czEuNi0zLjUgMy42LTMuNWgzLjUwMDAwMDAwMDAwMDAwMDRsLjkuMWMuNy4yIDEuNC43IDEuOCAxLjMuMS4xLjIuMy4zLjUuMS4xLjIuMy4yLjUuMS40LjIuOC4yIDEuMiAwIC40LS4xLjgtLjIgMS4yaC0xLjZjLjMtLjUuNC0uOS40LTEuM3MtLjEtLjgtLjMtMS4xYy0uMS0uMi0uMi0uMy0uNC0uNHoiLz48L2c+PC9zdmc+);
}
/************************** from mediawiki.skinning/content.css ***********************************/
/* we do not want to include it directly because it changes headings, fonts etc. */
/* Table of Contents */
#toc,
.toc,
.mw-warning,
.toccolours {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
font-size: 95%;
}
#toc,
.toc {
display: inline-block;
padding: 7px;
}
/* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
table#toc,
table.toc {
border-collapse: collapse;
}
/* Remove additional paddings inside table-cells that are not present in <div>s */
table#toc td,
table.toc td {
padding: 0;
}
#toc h2,
.toc h2 {
display: inline;
border: none;
padding: 0;
font-size: 100%;
font-weight: bold;
}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
text-align: center;
}
#toc ul,
.toc ul {
list-style-type: none;
list-style-image: none;
margin-left: 0;
padding: 0;
text-align: left;
}
#toc ul ul,
.toc ul ul {
margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
font-size: 94%;
}
/************************** end from mediawiki.skinning/content.css ***********************************/