MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
New page: →CSS placed here will be applied to all skins: #column-content { margin-left: -15em } #column-content #content { margin-left: 15em } #p-logo a, #p-logo a:hover { width: 15em } .portlet... |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
#column-content { margin-left: - | #column-content { margin-left: -14em } | ||
#column-content #content { margin-left: | #column-content #content { margin-left: 14em } | ||
#p-logo a, #p-logo a:hover { width: | #p-logo a, #p-logo a:hover { width: 14em } | ||
.portlet { width: | .portlet { width: 13em } | ||
#p-cactions { left: | #p-cactions { left: 13em } | ||
/* Wikitable (Prettytable) class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
empty-cells: show; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaaaaa solid; | |||
padding: 0.2em 0.4em; | |||
} | |||
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3, | |||
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 { | |||
background: #8da7d6; | |||
text-align: center; | |||
} | |||
table.wikitable td.hl1, table.wikitable th.hl1, | |||
table.prettytable td.hl1, table.wikitable th.hl1 { | |||
background: #c5d8fc; | |||
text-align: center; | |||
} | |||
table.wikitable td.hl2, table.wikitable th.hl2, | |||
table.prettytable td.hl2, table.wikitable th.hl2 { | |||
background: #a7c1f2; | |||
text-align: center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */ | |||
div.BoxenVerschmelzen, | |||
div.NavFrame { | |||
margin: 0px; | |||
padding: 2px; | |||
border: 1px solid #aaaaaa; | |||
text-align: center; | |||
border-collapse: collapse; | |||
font-size: 95%; | |||
clear:both; | |||
} | |||
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-color: #ffffff; | |||
margin: 0px; | |||
padding: 2px; | |||
float: left; | |||
} | |||
div.NavFrame div.NavHead { | |||
height: 1.6em; | |||
font-weight: bold; | |||
font-size: 100%; | |||
background-color: #efefef; | |||
} | |||
div.NavFrame p { | |||
font-size: 100%; | |||
} | |||
div.NavFrame div.NavContent { | |||
font-size: 100%; | |||
} | |||
div.NavFrame div.NavContent p { | |||
font-size: 100%; | |||
} | |||
div.NavEnd { | |||
margin: 0px; | |||
padding: 0px; | |||
line-height: 1px; | |||
clear: both; | |||
} | |||
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */ | |||
.NavToggle { | |||
font-size: x-small; | |||
float:right; | |||
} | |||
/* Abstand vor Navigationsleisten */ | |||
div.BoxenVerschmelzen, | |||
div.NavFrame { | |||
margin-top: 1.5em; | |||
} | |||
div.BoxenVerschmelzen div.NavFrame { | |||
margin-top: 0; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
margin-top: 0; | |||
} | |||
/* Navigationsleisten nicht mit ausdrucken */ | |||
@media print{ | |||
.NavFrame { | |||
display: none; | |||
} | |||
.BoxenVerschmelzen { | |||
display: none; | |||
} | |||
} |
Latest revision as of 21:19, 8 September 2010
/* CSS placed here will be applied to all skins */ #column-content { margin-left: -14em } #column-content #content { margin-left: 14em } #p-logo a, #p-logo a:hover { width: 14em } .portlet { width: 13em } #p-cactions { left: 13em } /* Wikitable (Prettytable) class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; empty-cells: show; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em 0.4em; } table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3, table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 { background: #8da7d6; text-align: center; } table.wikitable td.hl1, table.wikitable th.hl1, table.prettytable td.hl1, table.wikitable th.hl1 { background: #c5d8fc; text-align: center; } table.wikitable td.hl2, table.wikitable th.hl2, table.prettytable td.hl2, table.wikitable th.hl2 { background: #a7c1f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /* Stylesheet-Ergänzung zu Standard-Navigationsleisten */ div.BoxenVerschmelzen, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; } 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-color: #ffffff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } /* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */ .NavToggle { font-size: x-small; float:right; } /* Abstand vor Navigationsleisten */ div.BoxenVerschmelzen, div.NavFrame { margin-top: 1.5em; } div.BoxenVerschmelzen div.NavFrame { margin-top: 0; } div.NavFrame + div.NavFrame { margin-top: 0; } /* Navigationsleisten nicht mit ausdrucken */ @media print{ .NavFrame { display: none; } .BoxenVerschmelzen { display: none; } }