「MediaWiki:Monobook.css」修訂間的差異
出自 MozTW Wiki
Danielwang(對話 | 貢獻) (force border on all tables, add "pres"entational class for tables, colorize instead of bolden <strong>chinese text</strong>) |
Danielwang(對話 | 貢獻) |
||
| 行 7: | 行 7: | ||
/* data table */ | /* data table */ | ||
table { border-collapse: collapse; } | table { border-collapse: collapse; } | ||
| − | table | + | table td, table th { border: 1px solid #ccc; } |
/* presentational table */ | /* presentational table */ | ||
table.pres { border-collapse: collapse; } | table.pres { border-collapse: collapse; } | ||
| − | table.pres | + | table.pres td, table.pres th { border: none; } |
[lang="zh"] strong, | [lang="zh"] strong, | ||
[lnag="zh-tw"] strong, | [lnag="zh-tw"] strong, | ||
strong[lang="zh"], | strong[lang="zh"], | ||
| − | strong[lnag="zh-tw"] { font-weight: normal; color: # | + | strong[lnag="zh-tw"] { font-weight: normal; color: #900; } |
[lang="en"] strong, | [lang="en"] strong, | ||
於 2005年6月24日 (五) 16:36 的修訂
/* 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 td, table th { border: 1px solid #ccc; }
/* presentational table */
table.pres { border-collapse: collapse; }
table.pres td, table.pres th { border: none; }
[lang="zh"] strong,
[lnag="zh-tw"] strong,
strong[lang="zh"],
strong[lnag="zh-tw"] { font-weight: normal; color: #900; }
[lang="en"] strong,
[lnag="en-US"] strong,
strong[lang="en"],
strong[lnag="en-US"] { font-weight: bold; }
