forked from ethantw/Han
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhan.min.css
22 lines (19 loc) · 10.1 KB
/
han.min.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@charset "utf-8";
/* 漢字標準格式
* Standard Han Format
*
* Version: 1.2
* Lisence: MIT Lisence
* Last-Modified: 2011/12/22
*/
/* 手動設定字體 */
/* 注音符號字體:出自教育部標準楷書之注音字符 */
@font-face { font-family: ff-zhuyin; src: url(../fonts/zhuyin.eot) /* for MsIE */; }
@font-face { font-family: ff-zhuyin; src: url(../fonts/zhuyin.ttf); }
/* 漢字手寫體(cursive) */
@font-face { font-family: ff-cursive-han; src: local(STFangsong), local(STKaiti), local(Kai), local("標楷體"), local(DFKaiShu-SB-Estd-BF); }
/* 襯線西文斜體字型 */
@font-face { font-family: ff-latin-serif-italic; src: local("Times New Roman Italic") /* for Gecko */, local("TimesNewRomanPS-ItalicMT") /* for Webkit */, local("Times-Italic"); }
/* 無襯線西文斜體字型 */
@font-face { font-family: ff-latin-sans-italic; src: local("Helvetica Oblique") /* for Gecko */, local("Helvetica-LightOblique") /* for Webkit */, local("Arial Italic") /* for Windows */, local("Arial-ItalicMT"); }
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}body,button,input,select,textarea{font-family:sans-serif}a:focus{outline:thin dotted}a:hover,a:active{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}pre,code,kbd,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol{margin-left:0;padding:0 0 0 40px}dd{margin:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}dfn{font-style:normal;font-weight:bolder}pre code{display:block;overflow:auto;white-space:pre;word-wrap:normal}html:lang(zh) a:link,html:lang(zh) a:visited,html:lang(zh) a:hover,html:lang(zh) a:active,html:lang(zh) ins{text-decoration:inherit}html:lang(zh) ins{border-bottom:3px double lightgray}u:lang(zh){letter-spacing:0}u+u{margin-left:.125em}b.pn{font-weight:inherit}b.pn:lang(zh){border-bottom:1px solid;padding-bottom:-0.05em;text-decoration:none}b.pn:lang(zh-latn){border:inherit}b.pn:lang(zh)+b.pn:lang(zh){margin-left:.1em}article h4,article h5{margin:1em 0 .5em 0}article h4+h5{margin-top:-.5em}article p,article li{line-height:2;text-align:justify}article p{margin:0}article p:before{content:" ";font-style:normal;font-weight:normal;text-decoration:none}article:lang(zh) p:before{content:" "}article:lang(ja) p:before{content:" "}article:lang(zh) p.poem-like:before,article:lang(zh).poem-like p:before,blockquote:lang(zh).poem-like p:before,article:lang(ja) p.poem-like:before,article:lang(ja).poem-like p:before,blockquote:lang(ja).poem-like p:before{content:""}article:lang(zh) p.poem-like,article:lang(zh).poem-like p,blockquote:lang(zh).poem-like p,article:lang(ja) p.poem-like,article:lang(ja).poem-like p,blockquote:lang(ja).poem-like p{margin-left:2em}cite:lang(zh),cite:lang(ja),cite:lang(en).piece{font-style:inherit}cite:lang(zh):before,cite:lang(zh):after{content:"《";font-family:"Hiragino Mincho Pro","LiSong Pro",STSong,"微軟正黑體",PMingLiU,serif;line-height:inherit}cite:lang(zh):after{content:"》"}cite:lang(zh).piece:before{content:"〈"}cite:lang(zh).piece:after{content:"〉"}cite:lang(ja):before{content:"『"}cite:lang(ja):after{content:"』"}cite:lang(ja).piece:before{content:"「"}cite:lang(ja).piece:after{content:"」"}cite:lang(en).piece:before{content:"“"}cite:lang(en).piece:after{content:"”"}cite:lang(en-GB).piece:before{content:"‘"}cite:lang(en-GB).piece:after{content:"’"}.no-cite-mark cite:before,.no-cite-mark cite:after,cite.no-cite-mark:before,cite.no-cite-mark:after{content:""!important}em:lang(zh),em:lang(ja){border-bottom:2px dotted;font-style:normal;padding-bottom:.05em}.han-js em:lang(zh),.han-js em:lang(ja){border-bottom:0 none;padding-bottom:auto}.textemphasis em:lang(zh){text-emphasis:circle;-moz-text-emphasis:circle;-o-text-emphasis:circle;-webkit-text-emphasis:circle;text-emphasis-position:under;-moz-text-emphasis-position:under;-o-text-emphasis-position:under;-webkit-text-emphasis-position:under}.textemphasis em:lang(ja){text-emphasis:sesame;-moz-text-emphasis:sesame;-o-text-emphasis:sesame;-webkit-text-emphasis:sesame}.textemphasis em span.cjk.punc{text-emphasis:none;-moz-text-emphasis:none;-o-text-emphasis:none;-webkit-text-emphasis:none}.textemphasis em span.cjk:after,.textemphasis em span.latin:after{content:""!important}.no-textemphasis em:lang(zh) span.cjk,.no-textemphasis em:lang(ja) span.cjk,.no-textemphasis em:lang(zh) span.latin,.no-textemphasis em:lang(ja) span.latin{font-style:inherit;position:relative}.no-textemphasis em:lang(zh) span.cjk:after,.no-textemphasis em:lang(ja) span.cjk:after,.no-textemphasis em:lang(zh) span.latin:after,.no-textemphasis em:lang(ja) span.latin:after{content:"・";display:inline-block;font-family:"Hiragino Mincho Pro",HiraMinPro-W3,"MS Mincho",MS-Mincho,serif!important;font-style:normal;font-weight:normal;height:.9em;left:0;line-height:1em;margin:.8em 0 0 0;overflow:hidden;position:absolute;top:0}.no-textemphasis em:lang(ja) span.cjk:after,.no-textemphasis em:lang(ja) span.latin:after{content:"、";margin:-1.2em 0 0 .35em;overflow:inherit}.no-textemphasis em:lang(zh) span.latin:after{margin-left:-.25em}.no-textemphasis em:lang(ja) span.latin:after{margin-left:0}.no-textemphasis em:lang(zh) span.space:after,.no-textemphasis em:lang(ja) span.space:after,.no-textemphasis em:lang(zh) span.cjk.punc:after,.no-textemphasis em:lang(ja) span.cjk.punc:after{content:""}i:lang(zh){font-family:ff-latin-serif-italic,"Times New Roman",ff-cursive-han,cursive,"標楷體",serif;font-style:inherit}i:lang(zh-TW),i:lang(zh-HK){font-family:ff-latin-serif-italic,"Times New Roman",ff-cursive-han,cursive,"標楷體",serif}i:lang(ja){font-family:ff-latin-serif-italic,"Times New Roman",cursive,serif;font-style:inherit}article blockquote i:lang(zh),article blockquote i:lang(ja){font-family:ff-latin-sans-italic,Helvetica,Arial,"Hiragino Sans GB",sans-serif;font-style:inherit}.msie i:lang(zh) span.latin,.msie i:lang(ja) span.latin{font-style:italic}article p strong:lang(zh),article li strong:lang(zh){font-family:sans-serif;font-weight:600}q:lang(zh),q:lang(ja){quotes:'「' '」' '『' '』' '「' '」' '『' '』' '「' '」' '『' '』'}q:lang(zh-CN),q:lang(zh-hans),q:lang(en){quotes:'“' '”' '‘' '’' '“' '”' '‘' '’' '“' '”' '‘' '’'}q:lang(en-GB){quotes:'‘' '’' '“' '”' '‘' '’' '“' '”' '‘' '’' '“' '”'}q:before{content:open-quote}q:after{content:close-quote}.no-quotes q:lang(zh):before,.no-quotes q:lang(ja):before{content:"「"}.no-quotes q:lang(zh):after,.no-quotes q:lang(ja):after{content:"」"}.no-quotes q.double:lang(zh):before,.no-quotes q.double:lang(ja):before{content:"『"}.no-quotes q.double:lang(zh):after,.no-quotes q.double:lang(ja):after{content:"』"}:lang(zh) article blockquote,:lang(ja) article blockquote{margin:1.5em 0 1.5em 2em;font-family:Times,"Times New Roman",ff-cursive-han,cursive,"標楷體",serif;width:auto}article blockquote:lang(ja){font-family:Times,"Times New Roman",cursive,serif}ruby rp{display:none}ruby rt{font-size:.5em;line-height:normal}ruby rt:before{content:"("}ruby rt:after{content:")"}rt:empty:before,rt:empty:after{content:""}.han-js ruby rt:before,.han-js ruby rt:after{content:""}ruby{display:inline-block;line-height:2em}.webkit ruby{display:inline}.han-js ruby,.han-js ruby .rt{text-indent:0}.han-js ruby .rb{display:inline-block;padding-top:.5em;position:relative;text-align:center}.han-js.msie ruby .rb{display:block;float:left}.han-js ruby .rt{font-size:.5em;left:0;line-height:normal;padding:0 .05em;position:absolute;text-align:center;top:0;white-space:nowrap}.han-js ruby.mps{display:inline;vertical-align:top}.han-js.webkit ruby.mps,.han-js.msie ruby.mps{display:inline-block}.han-js ruby.mps span.rb{padding-top:0}.han-js ruby.mps .rt{display:inline-block;font-family:ff-zhuyin,"標楷體",DFKaiShu-SB-Estd-BF,cursive,serif;font-size:1em;line-height:.9!important;margin:-.5em -.2em 0 -.5em!important;position:static!important;transform:scale(.6);-moz-transform:scale(.6);-ms-transform:scale(.6);-o-transform:scale(.6);-webkit-transform:scale(.6);vertical-align:middle;width:1.5em;white-space:pre-wrap;word-break:break-all}.han-js.msie-old ruby.mps .rt,.han-js.ie-8 ruby.mps .rt{font-size:.6em}.han-js ruby.mps rt:empty,.han-js ruby.mps .rt:empty{width:auto}.han-js ruby.mps span.tone{bottom:.6em;display:inline-block;position:absolute;right:-.4em}.han-js ruby.mps span.tone-0{bottom:auto;margin-top:-.75em;right:.5em}.webkit ruby.mps span.tone-0{bottom:auto;margin-top:-.7em;right:.25em}.msie ruby.mps span.tone{bottom:3em;font-size:.6em}.msie ruby.mps span.tone-0{bottom:auto;font-size:.6em}ruby.mps-ltr rt,ruby.mps-ltr .rt{font-family:STKaiti,Kai,cursive,serif}code:lang(zh),code:lang(ja){font-family:monospace,sans-serif}