MediaWiki:Common.css: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
/* and, again, using this for *all* our tables... */ | /* and, again, using this for *all* our tables... */ | ||
table { border: 0px; border-collapse: collapse; } | table { | ||
table tr { border: 1px solid; border-color: #000000; } | border: 0px; | ||
table th { border: 1px solid; border-color: #000000; background-color:#FFC8FF; vertical-align: top; } | border-collapse: | ||
table td { border: 1px solid; border-color: #000000; vertical-align: top; } | collapse; | ||
} | |||
table tr { | |||
border: 1px solid; | |||
border-color: #000000; | |||
} | |||
table th { | |||
border: 1px solid; | |||
border-color: #000000; | |||
background-color:#FFC8FF; | |||
vertical-align: top; | |||
padding-left: 3px; | |||
padding-right: 3px; | |||
} | |||
table td { | |||
border: 1px solid; | |||
border-color: #000000; | |||
vertical-align: top; | |||
padding-left: 3px; | |||
padding-right: 3px; | |||
} | |||
/* C.G. 6.4.2011: einrahmen - einfacher, dünner Rand allüberall (wie von Toni gewünscht) */ | /* C.G. 6.4.2011: einrahmen - einfacher, dünner Rand allüberall (wie von Toni gewünscht) */ |
Revision as of 16:07, 31 May 2012
/* CSS placed here will be applied to all skins */ /* and, again, using this for *all* our tables... */ table { border: 0px; border-collapse: collapse; } table tr { border: 1px solid; border-color: #000000; } table th { border: 1px solid; border-color: #000000; background-color:#FFC8FF; vertical-align: top; padding-left: 3px; padding-right: 3px; } table td { border: 1px solid; border-color: #000000; vertical-align: top; padding-left: 3px; padding-right: 3px; } /* C.G. 6.4.2011: einrahmen - einfacher, dünner Rand allüberall (wie von Toni gewünscht) */ table.einrahmen { border: 0px; border-collapse: collapse; } table.einrahmen tr { border: 1px solid; } table.einrahmen th { border: 1px solid; background-color:#FFC8FF; } table.einrahmen td { border: 1px solid; } /* C.G. 6.4.2011: keinrahmen - kein Rand */ table.keinrahmen { border: 0px; border-style: hidden; border-collapse: collapse; } table.keinrahmen tr { border: 0px; } table.keinrahmen th { border: 0px; border-style: hidden; background-color:#FFC8FF; } table.keinrahmen td { border: 0px; border-style: hidden; } /* C.G. 6.4.2011: zweirahmen - zweifacher, dünner Rand allüberall (wie von Toni gewünscht) */ table.zweirahmen { border: 1px; border-collapse: separate; border-spacing:2px; border-style:double; } table.zweirahmen tr { border: 1px; border-style:double; border-spacing:2px; } table.zweirahmen th { border: 1px; border-style:double; background-color:#FFC8FF; border-spacing:2px; } table.zweirahmen td { border: 1px; border-style:double; border-spacing:2px; } /* C.G. 6.4.2011: sicherstellen, dass Variablennamen äquidistant gesetzt werden */ var { font-family: monospace; background-color: #ffc0cb; } code { font-family: monospace; background-color: #e0ffff; } pre { font-family: monospace; background-color: #e0ffff; }