「MediaWiki:Monobook.css」修訂間的差異
出自 MozTW Wiki
Danielwang(對話 | 貢獻) |
Danielwang(對話 | 貢獻) (force border on all tables, add "pres"entational class for tables, colorize instead of bolden <strong>chinese text</strong>) |
||
行 4: | 行 4: | ||
.snav li:first-child { padding-left: 0; } | .snav li:first-child { padding-left: 0; } | ||
.snav li:last-child { border-right: none; } | .snav li:last-child { border-right: none; } | ||
+ | |||
+ | /* data table */ | ||
+ | table { border-collapse: collapse; } | ||
+ | table > tr > td, table > tr > th { border: 1px solid #eeeeee; } | ||
+ | |||
+ | /* presentational table */ | ||
+ | table.pres { border-collapse: collapse; } | ||
+ | table.pres > tr > td, table.pres > tr > th { border: none; } | ||
+ | |||
+ | [lang="zh"] strong, | ||
+ | [lnag="zh-tw"] strong, | ||
+ | strong[lang="zh"], | ||
+ | strong[lnag="zh-tw"] { font-weight: normal; color: #cc0000; } | ||
+ | |||
+ | [lang="en"] strong, | ||
+ | [lnag="en-US"] strong, | ||
+ | strong[lang="en"], | ||
+ | strong[lnag="en-US"] { font-weight: bold; } |
於 2005年6月24日 (五) 16:28 的修訂
/* edit this file to customize the monobook skin for the entire site */ .snav { display: inline; } .snav li { display: inline; padding-right: 0.25em; padding-left: 0.25em; border-right: 1px solid; } .snav li:first-child { padding-left: 0; } .snav li:last-child { border-right: none; } /* data table */ table { border-collapse: collapse; } table > tr > td, table > tr > th { border: 1px solid #eeeeee; } /* presentational table */ table.pres { border-collapse: collapse; } table.pres > tr > td, table.pres > tr > th { border: none; } [lang="zh"] strong, [lnag="zh-tw"] strong, strong[lang="zh"], strong[lnag="zh-tw"] { font-weight: normal; color: #cc0000; } [lang="en"] strong, [lnag="en-US"] strong, strong[lang="en"], strong[lnag="en-US"] { font-weight: bold; }