Difference between revisions of "MediaWiki:Common.css"
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Level Style in Wiki Article Page Titles */ | /* Level Style in Wiki Article Page Titles */ | ||
− | + | #header-levs { | |
− | margin-right: | + | font-size: 75%; |
+ | padding-top:0.3em; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | #header-cefr { | ||
+ | margin-right: 0.3em; | ||
+ | } | ||
+ | |||
+ | #header-hsk { | ||
+ | margin: 0 0.3em; | ||
+ | font-size: 75%; | ||
} | } | ||
Line 26: | Line 37: | ||
div.dapei ul, div.dapei ol { | div.dapei ul, div.dapei ol { | ||
background-color: #f4fdf4; | background-color: #f4fdf4; | ||
+ | } | ||
+ | |||
+ | div.liju ul span.math { | ||
+ | display:block; | ||
+ | font-size:150%; | ||
+ | margin-bottom:0.5em | ||
+ | } | ||
+ | |||
+ | div.liju ul span.block { | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | /* Other Randomness */ | ||
+ | |||
+ | table.big-text { min-width:10em; max-width:80%; font-size:120% } | ||
+ | |||
+ | table.big-text tr span.pinyin { | ||
+ | font-size: 85%; | ||
+ | font-family: Helvetica, Verdana, Arial, sans-serif; | ||
+ | color: #888; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | div.bib-list ul li { | ||
+ | padding-left: 2em; | ||
+ | text-indent: -2em; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | .mw-redirect { float: none; } | ||
+ | |||
+ | .liju li.q em { | ||
+ | color:#FF8000; | ||
+ | } | ||
+ | |||
+ | .liju em {background-color:#FFFFAA; font-style:normal; } | ||
+ | div.liju li.x em {color: red; } | ||
+ | div.liju li.q em {color: #FF8000; } | ||
+ | |||
+ | .liju strong {font-weight:bold; color: green; } | ||
+ | |||
+ | .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul, .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { | ||
+ | margin: 0.3em 0 1em 1em; | ||
+ | padding: 0; | ||
+ | } | ||
+ | div.liju, div.jiegou { | ||
+ | width: 90%; | ||
+ | } | ||
+ | |||
+ | li { | ||
+ | line-height: 1.5em; | ||
+ | } | ||
+ | |||
+ | .nolayout .firstHeading { | ||
+ | margin: 1.6em 0; | ||
+ | } | ||
+ | |||
+ | /* Misc. Chinese Vocabulary Wiki Styles */ | ||
+ | |||
+ | td.big { | ||
+ | font-size: 200%; | ||
+ | line-height: 200%; | ||
+ | } | ||
+ | |||
+ | td.center-td, th.center-td { | ||
+ | text-align: center; | ||
} | } |
Latest revision as of 07:29, 10 August 2022
/* Level Style in Wiki Article Page Titles */ #header-levs { font-size: 75%; padding-top:0.3em; font-weight: normal; } #header-cefr { margin-right: 0.3em; } #header-hsk { margin: 0 0.3em; font-size: 75%; } /* Style Chinese Vocabulary Wiki Collocations / 搭配 */ div.dapei ul span.pinyin, div.dapei ul span.trans { display: inline; margin-left: 2em; } div.dapei ul span.trans { opacity: 0.8; } div.dapei ul span.pinyin:before { content: "("; } div.dapei ul span.pinyin:after { content: ")"; } div.dapei ul, div.dapei ol { background-color: #f4fdf4; } div.liju ul span.math { display:block; font-size:150%; margin-bottom:0.5em } div.liju ul span.block { display:block; } /* Other Randomness */ table.big-text { min-width:10em; max-width:80%; font-size:120% } table.big-text tr span.pinyin { font-size: 85%; font-family: Helvetica, Verdana, Arial, sans-serif; color: #888; display: block; } div.bib-list ul li { padding-left: 2em; text-indent: -2em; list-style-type: none; } .mw-redirect { float: none; } .liju li.q em { color:#FF8000; } .liju em {background-color:#FFFFAA; font-style:normal; } div.liju li.x em {color: red; } div.liju li.q em {color: #FF8000; } .liju strong {font-weight:bold; color: green; } .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul, .mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { margin: 0.3em 0 1em 1em; padding: 0; } div.liju, div.jiegou { width: 90%; } li { line-height: 1.5em; } .nolayout .firstHeading { margin: 1.6em 0; } /* Misc. Chinese Vocabulary Wiki Styles */ td.big { font-size: 200%; line-height: 200%; } td.center-td, th.center-td { text-align: center; }