MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Michi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Michi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 107: | Zeile 107: | ||
#toc .tocnumber { | #toc .tocnumber { | ||
display: none; | display: none; | ||
} | |||
/* default skin for navigation boxes */ | |||
table.navbox { /* navbox container style */ | |||
border:1px solid #aaa; | |||
width:100%; | |||
margin:auto; | |||
clear:both; | |||
font-size:88%; | |||
text-align:center; | |||
padding:1px; | |||
} | |||
table.navbox + table.navbox { | |||
margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ | |||
} | |||
.navbox-title, .navbox-abovebelow, table.navbox th { | |||
text-align:center; /* title and above/below styles */ | |||
padding-left:1em; | |||
padding-right:1em; | |||
} | |||
.navbox-group { /* group style */ | |||
white-space:nowrap; | |||
text-align:right; | |||
font-weight:bold; | |||
padding-left:1em; | |||
padding-right:1em; | |||
} | |||
.navbox, .navbox-subgroup { | |||
background:#fdfdfd; /* Background color */ | |||
} | |||
.navbox-list { | |||
border-color:#fdfdfd; /* Must match background color */ | |||
} | |||
.navbox-title, table.navbox th { | |||
background:#ccccff; /* Level 1 color */ | |||
} | |||
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { | |||
background:#ddddff; /* Level 2 color */ | |||
} | |||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | |||
background:#e6e6ff; /* Level 3 color */ | |||
} | |||
.navbox-even { | |||
background:#f7f7f7; /* Even row striping */ | |||
} | |||
.navbox-odd { | |||
background:transparent; /* Odd row striping */ | |||
} | |||
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | |||
float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */ | |||
font-weight: normal; /* are styled here so they can be customised. */ | |||
text-align: right; | |||
width: auto; | |||
} | |||
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */ | |||
width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */ | |||
} | } | ||
Version vom 10. Februar 2009, 23:41 Uhr
/* CSS placed here will be applied to all skins */
/* replace the book in the background with something else */
/* stop background image from scrolling with content area */
body {
background: gold;
background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6 {
color: #FF0000;
}
h2 {
margin-top: 0.5em;
}
p {
text-align: justify;
}
pre {
background: lightyellow;
background-color: lightyellow;
border: 1px solid #ffd700;
font-family: monospace;
font-size: 1em;
margin-left: 1em;
margin-right: 1em;
padding: 0.5em;
width: 49em;
}
pre.wiki {
background: white;
background-color: white;
border: 0px solid #000000;
width: 95%;
}
table th, table td {
vertical-align: top;
}
table.wiki {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px solid #aaaaaa;
border-collapse: collapse;
}
table.wiki th, table.wiki td {
border: 1px solid #aaaaaa;
padding: 0.2em;
vertical-align: top;
}
table.wiki th {
background: #f2f2f2;
text-align: left;
}
table.wiki caption {
margin-left: inherit;
margin-right: inherit;
}
table.wikitable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px solid #aaaaaa;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px solid #aaaaaa;
padding: 0.2em;
vertical-align: top;
}
table.wikitable th {
background: #f2f2f2;
text-align: left;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
}
/* Links vom Inhaltsverzeichnis 17 Pixel Abstand */
#toc, .toc, .mw-warning {
background-color: #f2f2f2;
border: 1px solid #aaaaaa;
margin-left: 17px;
padding: 5px;
font-size: 95%;
width: 310px;
}
/* Überschrift "Inhaltsverzeichnis" ist linksbündig */
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
text-align: left;
}
/* Keine automatische Nummerierung der Inhaltsverzeichniseinträge */
#toc .tocnumber {
display: none;
}
/* default skin for navigation boxes */
table.navbox { /* navbox container style */
border:1px solid #aaa;
width:100%;
margin:auto;
clear:both;
font-size:88%;
text-align:center;
padding:1px;
}
table.navbox + table.navbox {
margin-top:-1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
text-align:center; /* title and above/below styles */
padding-left:1em;
padding-right:1em;
}
.navbox-group { /* group style */
white-space:nowrap;
text-align:right;
font-weight:bold;
padding-left:1em;
padding-right:1em;
}
.navbox, .navbox-subgroup {
background:#fdfdfd; /* Background color */
}
.navbox-list {
border-color:#fdfdfd; /* Must match background color */
}
.navbox-title, table.navbox th {
background:#ccccff; /* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background:#ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background:#e6e6ff; /* Level 3 color */
}
.navbox-even {
background:#f7f7f7; /* Even row striping */
}
.navbox-odd {
background:transparent; /* Odd row striping */
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables javascript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
.navbox .collapseButton { /* In navboxes, the show/hide button balances the vde links from */
width: 6em; /* [[Template:Tnavbar]], so they need to be the same width. */
}
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
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;
}
a.NavToggle {
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: 90%;
}