hanzi-rails 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{vendor/assets/stylesheets/font → app/assets/fonts}/han.otf +0 -0
- data/{vendor/assets/stylesheets/font → app/assets/fonts}/han.ttf +0 -0
- data/{vendor/assets/stylesheets/font → app/assets/fonts}/han.woff +0 -0
- data/app/assets/javascripts/hanzi.js +2375 -0
- data/app/assets/stylesheets/hanzi.css.erb +2283 -0
- data/lib/hanzi-rails/engine.rb +6 -0
- data/lib/{hanzi/rails → hanzi-rails}/version.rb +1 -1
- data/lib/hanzi-rails.rb +2 -8
- metadata +18 -11
- data/vendor/assets/javascripts/hanzi.js +0 -4
- data/vendor/assets/stylesheets/hanzi.css +0 -6
@@ -0,0 +1,2283 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/*! 漢字標準格式 v3.1.0 | MIT License | css.hanzi.co */
|
4
|
+
/*! Han.css: the CSS typography framework optimised for Hanzi */
|
5
|
+
|
6
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
7
|
+
/**
|
8
|
+
* 1. Set default font family to sans-serif.
|
9
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
10
|
+
* user zoom.
|
11
|
+
*/
|
12
|
+
|
13
|
+
/* FONT PATH
|
14
|
+
* -------------------------- */
|
15
|
+
//= depend_on_asset "han.otf"
|
16
|
+
//= depend_on_asset "han.ttf"
|
17
|
+
//= depend_on_asset "han.woff"
|
18
|
+
<% v = Hanzi::Rails::HANZI_VERSION %>
|
19
|
+
|
20
|
+
html {
|
21
|
+
font-family: sans-serif;
|
22
|
+
/* 1 */
|
23
|
+
-ms-text-size-adjust: 100%;
|
24
|
+
/* 2 */
|
25
|
+
-webkit-text-size-adjust: 100%;
|
26
|
+
/* 2 */
|
27
|
+
}
|
28
|
+
|
29
|
+
/**
|
30
|
+
* Remove default margin.
|
31
|
+
*/
|
32
|
+
body {
|
33
|
+
margin: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* HTML5 display definitions
|
37
|
+
========================================================================== */
|
38
|
+
/**
|
39
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
40
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
41
|
+
* and Firefox.
|
42
|
+
* Correct `block` display not defined for `main` in IE 11.
|
43
|
+
*/
|
44
|
+
article,
|
45
|
+
aside,
|
46
|
+
details,
|
47
|
+
figcaption,
|
48
|
+
figure,
|
49
|
+
footer,
|
50
|
+
header,
|
51
|
+
hgroup,
|
52
|
+
main,
|
53
|
+
menu,
|
54
|
+
nav,
|
55
|
+
section,
|
56
|
+
summary {
|
57
|
+
display: block;
|
58
|
+
}
|
59
|
+
|
60
|
+
/**
|
61
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
62
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
63
|
+
*/
|
64
|
+
audio,
|
65
|
+
canvas,
|
66
|
+
progress,
|
67
|
+
video {
|
68
|
+
display: inline-block;
|
69
|
+
/* 1 */
|
70
|
+
vertical-align: baseline;
|
71
|
+
/* 2 */
|
72
|
+
}
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
76
|
+
* Remove excess height in iOS 5 devices.
|
77
|
+
*/
|
78
|
+
audio:not([controls]) {
|
79
|
+
display: none;
|
80
|
+
height: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
/**
|
84
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
85
|
+
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
86
|
+
*/
|
87
|
+
[hidden],
|
88
|
+
template {
|
89
|
+
display: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Links
|
93
|
+
========================================================================== */
|
94
|
+
/**
|
95
|
+
* Remove the gray background color from active links in IE 10.
|
96
|
+
*/
|
97
|
+
a {
|
98
|
+
background-color: transparent;
|
99
|
+
}
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
103
|
+
*/
|
104
|
+
a:active,
|
105
|
+
a:hover {
|
106
|
+
outline: 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
/* Text-level semantics
|
110
|
+
========================================================================== */
|
111
|
+
/**
|
112
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
113
|
+
*/
|
114
|
+
abbr[title] {
|
115
|
+
border-bottom: 1px dotted;
|
116
|
+
}
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
120
|
+
*/
|
121
|
+
b,
|
122
|
+
strong {
|
123
|
+
font-weight: bold;
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Address styling not present in Safari and Chrome.
|
128
|
+
*/
|
129
|
+
dfn {
|
130
|
+
font-style: italic;
|
131
|
+
}
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
135
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
136
|
+
*/
|
137
|
+
h1 {
|
138
|
+
font-size: 2em;
|
139
|
+
margin: .67em 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Address styling not present in IE 8/9.
|
144
|
+
*/
|
145
|
+
mark {
|
146
|
+
background: #ff0;
|
147
|
+
color: #000;
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Address inconsistent and variable font size in all browsers.
|
152
|
+
*/
|
153
|
+
small {
|
154
|
+
font-size: 80%;
|
155
|
+
}
|
156
|
+
|
157
|
+
/**
|
158
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
159
|
+
*/
|
160
|
+
sub,
|
161
|
+
sup {
|
162
|
+
font-size: 75%;
|
163
|
+
line-height: 0;
|
164
|
+
position: relative;
|
165
|
+
vertical-align: baseline;
|
166
|
+
}
|
167
|
+
|
168
|
+
sup {
|
169
|
+
top: -.5em;
|
170
|
+
}
|
171
|
+
|
172
|
+
sub {
|
173
|
+
bottom: -.25em;
|
174
|
+
}
|
175
|
+
|
176
|
+
/* Embedded content
|
177
|
+
========================================================================== */
|
178
|
+
/**
|
179
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
180
|
+
*/
|
181
|
+
img {
|
182
|
+
border: 0;
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Correct overflow not hidden in IE 9/10/11.
|
187
|
+
*/
|
188
|
+
svg:not(:root) {
|
189
|
+
overflow: hidden;
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Grouping content
|
193
|
+
========================================================================== */
|
194
|
+
/**
|
195
|
+
* Address margin not present in IE 8/9 and Safari.
|
196
|
+
*/
|
197
|
+
figure {
|
198
|
+
margin: 1em 40px;
|
199
|
+
}
|
200
|
+
|
201
|
+
/**
|
202
|
+
* Address differences between Firefox and other browsers.
|
203
|
+
*/
|
204
|
+
hr {
|
205
|
+
-moz-box-sizing: content-box;
|
206
|
+
box-sizing: content-box;
|
207
|
+
height: 0;
|
208
|
+
}
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Contain overflow in all browsers.
|
212
|
+
*/
|
213
|
+
pre {
|
214
|
+
overflow: auto;
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
219
|
+
*/
|
220
|
+
code,
|
221
|
+
kbd,
|
222
|
+
pre,
|
223
|
+
samp {
|
224
|
+
font-family: monospace, monospace;
|
225
|
+
font-size: 1em;
|
226
|
+
}
|
227
|
+
|
228
|
+
/* Forms
|
229
|
+
========================================================================== */
|
230
|
+
/**
|
231
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
232
|
+
* styling of `select`, unless a `border` property is set.
|
233
|
+
*/
|
234
|
+
/**
|
235
|
+
* 1. Correct color not being inherited.
|
236
|
+
* Known issue: affects color of disabled elements.
|
237
|
+
* 2. Correct font properties not being inherited.
|
238
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
239
|
+
*/
|
240
|
+
button,
|
241
|
+
input,
|
242
|
+
optgroup,
|
243
|
+
select,
|
244
|
+
textarea {
|
245
|
+
color: inherit;
|
246
|
+
/* 1 */
|
247
|
+
font: inherit;
|
248
|
+
/* 2 */
|
249
|
+
margin: 0;
|
250
|
+
/* 3 */
|
251
|
+
}
|
252
|
+
|
253
|
+
/**
|
254
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
255
|
+
*/
|
256
|
+
button {
|
257
|
+
overflow: visible;
|
258
|
+
}
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
262
|
+
* All other form control elements do not inherit `text-transform` values.
|
263
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
264
|
+
* Correct `select` style inheritance in Firefox.
|
265
|
+
*/
|
266
|
+
button,
|
267
|
+
select {
|
268
|
+
text-transform: none;
|
269
|
+
}
|
270
|
+
|
271
|
+
/**
|
272
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
273
|
+
* and `video` controls.
|
274
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
275
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
276
|
+
* `input` and others.
|
277
|
+
*/
|
278
|
+
button,
|
279
|
+
html input[type="button"],
|
280
|
+
input[type="reset"],
|
281
|
+
input[type="submit"] {
|
282
|
+
-webkit-appearance: button;
|
283
|
+
/* 2 */
|
284
|
+
cursor: pointer;
|
285
|
+
/* 3 */
|
286
|
+
}
|
287
|
+
|
288
|
+
/**
|
289
|
+
* Re-set default cursor for disabled elements.
|
290
|
+
*/
|
291
|
+
button[disabled],
|
292
|
+
html input[disabled] {
|
293
|
+
cursor: default;
|
294
|
+
}
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Remove inner padding and border in Firefox 4+.
|
298
|
+
*/
|
299
|
+
button::-moz-focus-inner,
|
300
|
+
input::-moz-focus-inner {
|
301
|
+
border: 0;
|
302
|
+
padding: 0;
|
303
|
+
}
|
304
|
+
|
305
|
+
/**
|
306
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
307
|
+
* the UA stylesheet.
|
308
|
+
*/
|
309
|
+
input {
|
310
|
+
line-height: normal;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* It's recommended that you don't attempt to style these elements.
|
315
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
316
|
+
*
|
317
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
318
|
+
* 2. Remove excess padding in IE 8/9/10.
|
319
|
+
*/
|
320
|
+
input[type="checkbox"],
|
321
|
+
input[type="radio"] {
|
322
|
+
box-sizing: border-box;
|
323
|
+
/* 1 */
|
324
|
+
padding: 0;
|
325
|
+
/* 2 */
|
326
|
+
}
|
327
|
+
|
328
|
+
/**
|
329
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
330
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
331
|
+
* decrement button to change from `default` to `text`.
|
332
|
+
*/
|
333
|
+
input[type="number"]::-webkit-inner-spin-button,
|
334
|
+
input[type="number"]::-webkit-outer-spin-button {
|
335
|
+
height: auto;
|
336
|
+
}
|
337
|
+
|
338
|
+
/**
|
339
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
340
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
341
|
+
* (include `-moz` to future-proof).
|
342
|
+
*/
|
343
|
+
input[type="search"] {
|
344
|
+
-webkit-appearance: textfield;
|
345
|
+
/* 1 */
|
346
|
+
-moz-box-sizing: content-box;
|
347
|
+
-webkit-box-sizing: content-box;
|
348
|
+
/* 2 */
|
349
|
+
box-sizing: content-box;
|
350
|
+
}
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
354
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
355
|
+
* padding (and `textfield` appearance).
|
356
|
+
*/
|
357
|
+
input[type="search"]::-webkit-search-cancel-button,
|
358
|
+
input[type="search"]::-webkit-search-decoration {
|
359
|
+
-webkit-appearance: none;
|
360
|
+
}
|
361
|
+
|
362
|
+
/**
|
363
|
+
* Define consistent border, margin, and padding.
|
364
|
+
*/
|
365
|
+
fieldset {
|
366
|
+
border: 1px solid #c0c0c0;
|
367
|
+
margin: 0 2px;
|
368
|
+
padding: .35em .625em .75em;
|
369
|
+
}
|
370
|
+
|
371
|
+
/**
|
372
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
373
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
374
|
+
*/
|
375
|
+
legend {
|
376
|
+
border: 0;
|
377
|
+
/* 1 */
|
378
|
+
padding: 0;
|
379
|
+
/* 2 */
|
380
|
+
}
|
381
|
+
|
382
|
+
/**
|
383
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
384
|
+
*/
|
385
|
+
textarea {
|
386
|
+
overflow: auto;
|
387
|
+
}
|
388
|
+
|
389
|
+
/**
|
390
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
391
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
392
|
+
*/
|
393
|
+
optgroup {
|
394
|
+
font-weight: bold;
|
395
|
+
}
|
396
|
+
|
397
|
+
/* Tables
|
398
|
+
========================================================================== */
|
399
|
+
/**
|
400
|
+
* Remove most spacing between table cells.
|
401
|
+
*/
|
402
|
+
table {
|
403
|
+
border-collapse: collapse;
|
404
|
+
border-spacing: 0;
|
405
|
+
}
|
406
|
+
|
407
|
+
td,
|
408
|
+
th {
|
409
|
+
padding: 0;
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Base
|
413
|
+
@mixin ========================================================================= */
|
414
|
+
html {
|
415
|
+
line-height: 1.3;
|
416
|
+
-webkit-font-smoothing: subpixel-antialiased;
|
417
|
+
}
|
418
|
+
|
419
|
+
/* Grouping content
|
420
|
+
@mixin ========================================================================= */
|
421
|
+
/**
|
422
|
+
* Paragraphs, lists, figures and blockquotes
|
423
|
+
* (段落、清單、圖表、區塊引用)
|
424
|
+
*/
|
425
|
+
ol,
|
426
|
+
ul {
|
427
|
+
padding-left: 2em;
|
428
|
+
}
|
429
|
+
|
430
|
+
figure,
|
431
|
+
blockquote {
|
432
|
+
margin-left: 2em;
|
433
|
+
margin-right: 2em;
|
434
|
+
}
|
435
|
+
|
436
|
+
/**
|
437
|
+
* Contact information
|
438
|
+
* (聯絡資訊)
|
439
|
+
*/
|
440
|
+
address {
|
441
|
+
font-style: inherit;
|
442
|
+
}
|
443
|
+
|
444
|
+
/**
|
445
|
+
* Preformatted text
|
446
|
+
* (格式預處理文字)
|
447
|
+
*/
|
448
|
+
pre {
|
449
|
+
white-space: pre;
|
450
|
+
word-wrap: normal;
|
451
|
+
}
|
452
|
+
|
453
|
+
/* Text-level semantics & edits
|
454
|
+
@mixin ========================================================================= */
|
455
|
+
/**
|
456
|
+
* Hyperlinks
|
457
|
+
* (超連結)
|
458
|
+
*/
|
459
|
+
a {
|
460
|
+
text-decoration: inherit;
|
461
|
+
}
|
462
|
+
|
463
|
+
/**
|
464
|
+
* Emphases
|
465
|
+
* (強調)
|
466
|
+
*/
|
467
|
+
em:lang(zh),
|
468
|
+
em:lang(ja) {
|
469
|
+
-moz-text-emphasis: filled circle;
|
470
|
+
-webkit-text-emphasis: filled circle;
|
471
|
+
text-emphasis: filled circle;
|
472
|
+
-moz-text-emphasis-position: under;
|
473
|
+
-webkit-text-emphasis-position: under;
|
474
|
+
text-emphasis-position: under;
|
475
|
+
font-style: inherit;
|
476
|
+
border-bottom: 2px dotted;
|
477
|
+
padding-bottom: .05em;
|
478
|
+
border-bottom-width: -webkit-calc( 0px);
|
479
|
+
padding-bottom: -webkit-calc( 0px);
|
480
|
+
}
|
481
|
+
|
482
|
+
em:lang(ja) {
|
483
|
+
-moz-text-emphasis: filled sesame;
|
484
|
+
-webkit-text-emphasis: filled sesame;
|
485
|
+
text-emphasis: filled sesame;
|
486
|
+
-moz-text-emphasis-position: over;
|
487
|
+
-webkit-text-emphasis-position: over;
|
488
|
+
text-emphasis-position: over;
|
489
|
+
}
|
490
|
+
|
491
|
+
/**
|
492
|
+
* Importance, definitions and Keywords
|
493
|
+
* (重點、術語、關鍵字)
|
494
|
+
*/
|
495
|
+
strong,
|
496
|
+
dfn:lang(zh),
|
497
|
+
dfn:lang(ja),
|
498
|
+
b {
|
499
|
+
font-weight: inherit;
|
500
|
+
}
|
501
|
+
|
502
|
+
strong,
|
503
|
+
dfn:lang(zh),
|
504
|
+
dfn:lang(ja),
|
505
|
+
b {
|
506
|
+
font-weight: bolder;
|
507
|
+
}
|
508
|
+
|
509
|
+
dfn:lang(zh),
|
510
|
+
dfn:lang(ja) {
|
511
|
+
font-style: inherit;
|
512
|
+
}
|
513
|
+
|
514
|
+
/**
|
515
|
+
* Cites and quotes
|
516
|
+
* (來源、引用)
|
517
|
+
*/
|
518
|
+
cite:lang(zh),
|
519
|
+
cite:lang(ja) {
|
520
|
+
font-style: inherit;
|
521
|
+
}
|
522
|
+
|
523
|
+
q {
|
524
|
+
quotes: "\201c" "\201d" "\2018" "\2019" "\201c" "\201d" "\2018" "\2019" "\201c" "\201d" "\2018" "\2019";
|
525
|
+
}
|
526
|
+
q:lang(zh) {
|
527
|
+
quotes: "\300c" "\300d" "\300e" "\300f" "\300c" "\300d" "\300e" "\300f" "\300c" "\300d" "\300e" "\300f";
|
528
|
+
}
|
529
|
+
q:lang(zh-CN),
|
530
|
+
q:lang(en) {
|
531
|
+
quotes: "\201c" "\201d" "\2018" "\2019" "\201c" "\201d" "\2018" "\2019" "\201c" "\201d" "\2018" "\2019";
|
532
|
+
}
|
533
|
+
q:lang(en-GB) {
|
534
|
+
quotes: "\2018" "\2019" "\201c" "\201d" "\2018" "\2019" "\201c" "\201d" "\2018" "\2019" "\201c" "\201d";
|
535
|
+
}
|
536
|
+
q:before {
|
537
|
+
content: open-quote;
|
538
|
+
}
|
539
|
+
q:after {
|
540
|
+
content: close-quote;
|
541
|
+
}
|
542
|
+
q:lang(ja):before,
|
543
|
+
q:lang(ja):after {
|
544
|
+
content: none;
|
545
|
+
}
|
546
|
+
|
547
|
+
/**
|
548
|
+
* Code, user input, computer output and preformatted text
|
549
|
+
* (代碼、輸入鍵、計算機輸出示例、格式預處理文字)
|
550
|
+
*/
|
551
|
+
code,
|
552
|
+
kbd,
|
553
|
+
samp,
|
554
|
+
pre {
|
555
|
+
font-family: monospace, monospace, sans-serif;
|
556
|
+
}
|
557
|
+
|
558
|
+
/**
|
559
|
+
* Alternative voices and variables
|
560
|
+
* (變音文字、變數)
|
561
|
+
*/
|
562
|
+
i:lang(zh),
|
563
|
+
i:lang(ja),
|
564
|
+
var:lang(zh),
|
565
|
+
var:lang(ja) {
|
566
|
+
font-family: cursive, serif;
|
567
|
+
font-style: inherit;
|
568
|
+
}
|
569
|
+
|
570
|
+
/**
|
571
|
+
* Annotations, inaccurate text, insertion and deletion
|
572
|
+
* (註記、訛訊、增訂、刪訂)
|
573
|
+
*/
|
574
|
+
u + u,
|
575
|
+
u + ins,
|
576
|
+
ins + u,
|
577
|
+
ins + ins,
|
578
|
+
s + s,
|
579
|
+
s + del,
|
580
|
+
del + s,
|
581
|
+
del + del,
|
582
|
+
.hyu-js-rendered u.adjacent,
|
583
|
+
.hyu-js-rendered ins.adjacent,
|
584
|
+
.hyu-js-rendered s + s.adjacent,
|
585
|
+
.hyu-js-rendered s + del.adjacent,
|
586
|
+
.hyu-js-rendered del + s.adjacent,
|
587
|
+
.hyu-js-rendered del + del.adjacent {
|
588
|
+
margin-left: .125em;
|
589
|
+
}
|
590
|
+
|
591
|
+
u,
|
592
|
+
ins {
|
593
|
+
padding-bottom: .05em;
|
594
|
+
border-bottom: 1px solid;
|
595
|
+
text-decoration: none;
|
596
|
+
}
|
597
|
+
|
598
|
+
/**
|
599
|
+
* Ruby annotations
|
600
|
+
* (行間注)
|
601
|
+
*/
|
602
|
+
ruby *:before,
|
603
|
+
ruby *:after {
|
604
|
+
line-height: normal;
|
605
|
+
}
|
606
|
+
ruby > rt:not(:empty):before {
|
607
|
+
content: "\ff08";
|
608
|
+
}
|
609
|
+
ruby > rt:not(:empty):after {
|
610
|
+
content: "\ff09";
|
611
|
+
}
|
612
|
+
ruby > rb + rtc:before {
|
613
|
+
content: "\ff08";
|
614
|
+
}
|
615
|
+
ruby > rtc:after {
|
616
|
+
content: "\ff0c";
|
617
|
+
}
|
618
|
+
ruby > rtc:last-of-type:after {
|
619
|
+
content: "\ff09";
|
620
|
+
}
|
621
|
+
ruby > rt:before,
|
622
|
+
ruby > rt:after {
|
623
|
+
display: inline-block;
|
624
|
+
overflow: hidden;
|
625
|
+
vertical-align: middle;
|
626
|
+
height: 0;
|
627
|
+
width: 0;
|
628
|
+
}
|
629
|
+
ruby > rt:not(:empty):before,
|
630
|
+
ruby > rt:not(:empty):after {
|
631
|
+
height: -moz-calc( 1.3em);
|
632
|
+
width: -moz-calc( 1em);
|
633
|
+
}
|
634
|
+
|
635
|
+
.hyu-js-rendered u + u,
|
636
|
+
.hyu-js-rendered u + ins,
|
637
|
+
.hyu-js-rendered ins + u,
|
638
|
+
.hyu-js-rendered ins + ins,
|
639
|
+
.hyu-js-rendered s + s,
|
640
|
+
.hyu-js-rendered s + del,
|
641
|
+
.hyu-js-rendered del + s,
|
642
|
+
.hyu-js-rendered del + del {
|
643
|
+
margin-left: auto;
|
644
|
+
}
|
645
|
+
|
646
|
+
.hyu-js-rendered em:lang(zh),
|
647
|
+
.hyu-js-rendered em:lang(ja) {
|
648
|
+
padding-bottom: auto;
|
649
|
+
border-bottom-width: 0;
|
650
|
+
}
|
651
|
+
.no-textemphasis em:lang(zh),
|
652
|
+
.no-textemphasis em:lang(ja) {
|
653
|
+
line-height: 2;
|
654
|
+
}
|
655
|
+
.no-textemphasis em:lang(zh) char,
|
656
|
+
.no-textemphasis em:lang(ja) char {
|
657
|
+
position: relative;
|
658
|
+
font-style: inherit;
|
659
|
+
}
|
660
|
+
.no-textemphasis em:lang(zh) char:after,
|
661
|
+
.no-textemphasis em:lang(ja) char:after {
|
662
|
+
-moz-text-emphasis: none;
|
663
|
+
-webkit-text-emphasis: none;
|
664
|
+
text-emphasis: none;
|
665
|
+
font-style: normal;
|
666
|
+
font-weight: normal;
|
667
|
+
line-height: normal;
|
668
|
+
text-decoration: none;
|
669
|
+
text-indent: 0;
|
670
|
+
-moz-transform: scale(.5);
|
671
|
+
-ms-transform: scale(.5);
|
672
|
+
-webkit-transform: scale(.5);
|
673
|
+
transform: scale(.5);
|
674
|
+
position: absolute;
|
675
|
+
left: 50%;
|
676
|
+
top: 0;
|
677
|
+
margin-left: -250%;
|
678
|
+
overflow: hidden;
|
679
|
+
display: inline-block;
|
680
|
+
height: 1em;
|
681
|
+
width: 500%;
|
682
|
+
line-height: 1;
|
683
|
+
text-align: center;
|
684
|
+
text-indent: 0;
|
685
|
+
font-family: Georgia, "Times New Roman", Arial, !important;
|
686
|
+
}
|
687
|
+
|
688
|
+
em:lang(zh) char.punct,
|
689
|
+
em:lang(ja) char.punct,
|
690
|
+
em:lang(zh) char.biaodian,
|
691
|
+
em:lang(ja) char.biaodian {
|
692
|
+
-moz-text-emphasis: none;
|
693
|
+
-webkit-text-emphasis: none;
|
694
|
+
text-emphasis: none;
|
695
|
+
}
|
696
|
+
.no-textemphasis em:lang(zh) char.punct:after,
|
697
|
+
.no-textemphasis em:lang(ja) char.punct:after,
|
698
|
+
.no-textemphasis em:lang(zh) char.biaodian:after,
|
699
|
+
.no-textemphasis em:lang(ja) char.biaodian:after {
|
700
|
+
content: none !important;
|
701
|
+
}
|
702
|
+
|
703
|
+
.no-textemphasis em:lang(zh) char:after {
|
704
|
+
margin-top: 1em;
|
705
|
+
content: "\25cf";
|
706
|
+
}
|
707
|
+
.no-textemphasis em:lang(ja) char:after {
|
708
|
+
margin-top: -.7em;
|
709
|
+
content: "\fe45";
|
710
|
+
}
|
711
|
+
|
712
|
+
hruby {
|
713
|
+
display: inline;
|
714
|
+
line-height: 2;
|
715
|
+
}
|
716
|
+
hruby rp {
|
717
|
+
display: none;
|
718
|
+
}
|
719
|
+
hruby ru[annotation] > rt {
|
720
|
+
display: inline-block;
|
721
|
+
height: 0;
|
722
|
+
width: 0;
|
723
|
+
font: 0/0 hidden-text;
|
724
|
+
}
|
725
|
+
hruby ru {
|
726
|
+
position: relative;
|
727
|
+
display: inline-block;
|
728
|
+
text-indent: 0;
|
729
|
+
}
|
730
|
+
hruby ru:before,
|
731
|
+
hruby zhuyin {
|
732
|
+
-moz-transform: scale(.55);
|
733
|
+
-ms-transform: scale(.55);
|
734
|
+
-webkit-transform: scale(.55);
|
735
|
+
transform: scale(.55);
|
736
|
+
-moz-text-emphasis: none;
|
737
|
+
-webkit-text-emphasis: none;
|
738
|
+
text-emphasis: none;
|
739
|
+
font-style: normal;
|
740
|
+
font-weight: normal;
|
741
|
+
line-height: normal;
|
742
|
+
text-decoration: none;
|
743
|
+
text-indent: 0;
|
744
|
+
position: absolute;
|
745
|
+
display: inline-block;
|
746
|
+
}
|
747
|
+
hruby ru[annotation] {
|
748
|
+
text-align: center;
|
749
|
+
}
|
750
|
+
hruby ru[annotation]:before {
|
751
|
+
left: -265%;
|
752
|
+
top: -.5em;
|
753
|
+
vertical-align: top;
|
754
|
+
height: 1em;
|
755
|
+
width: 600%;
|
756
|
+
content: attr(annotation);
|
757
|
+
line-height: 1;
|
758
|
+
text-align: center;
|
759
|
+
text-indent: 0;
|
760
|
+
}
|
761
|
+
hruby[rightangle] ru[annotation]:before {
|
762
|
+
left: -250%;
|
763
|
+
}
|
764
|
+
hruby ru[zhuyin] {
|
765
|
+
display: inline-block;
|
766
|
+
position: relative;
|
767
|
+
width: 1.8em;
|
768
|
+
text-align: left;
|
769
|
+
}
|
770
|
+
hruby ru[zhuyin] zhuyin {
|
771
|
+
right: .2em;
|
772
|
+
top: 0;
|
773
|
+
height: 2.7em;
|
774
|
+
width: .8em;
|
775
|
+
line-height: .9;
|
776
|
+
white-space: pre-wrap;
|
777
|
+
word-break: break-all;
|
778
|
+
}
|
779
|
+
hruby ru[zhuyin] diao {
|
780
|
+
position: absolute;
|
781
|
+
right: -.9em;
|
782
|
+
top: 0;
|
783
|
+
display: inline-block;
|
784
|
+
width: 1em;
|
785
|
+
}
|
786
|
+
hruby ru[zhuyin][length="0"],
|
787
|
+
hruby ru[zhuyin]:empty {
|
788
|
+
width: auto;
|
789
|
+
}
|
790
|
+
hruby ru[zhuyin][length="0"] zhuyin,
|
791
|
+
hruby ru[zhuyin]:empty zhuyin {
|
792
|
+
display: none;
|
793
|
+
}
|
794
|
+
hruby ru[zhuyin][length="1"] zhuyin {
|
795
|
+
margin-top: .125em;
|
796
|
+
}
|
797
|
+
hruby ru[zhuyin][length="1"] diao {
|
798
|
+
margin-top: -.35em;
|
799
|
+
}
|
800
|
+
hruby ru[zhuyin][length="2"] zhuyin {
|
801
|
+
margin-top: -.175em;
|
802
|
+
}
|
803
|
+
hruby ru[zhuyin][length="2"] diao {
|
804
|
+
margin-top: .5em;
|
805
|
+
}
|
806
|
+
hruby ru[zhuyin][length="3"] zhuyin {
|
807
|
+
margin-top: -.45em;
|
808
|
+
}
|
809
|
+
hruby ru[zhuyin][length="3"] diao {
|
810
|
+
margin-top: 1.3em;
|
811
|
+
}
|
812
|
+
hruby ru[zhuyin][diao="˙"] diao {
|
813
|
+
right: -.35em;
|
814
|
+
}
|
815
|
+
hruby ru[zhuyin][diao="˙"][length="1"] diao {
|
816
|
+
margin-top: -.5em;
|
817
|
+
}
|
818
|
+
hruby ru[zhuyin][diao="˙"][length="2"] diao {
|
819
|
+
margin-top: -.3em;
|
820
|
+
}
|
821
|
+
hruby ru[zhuyin][diao="˙"][length="3"] diao {
|
822
|
+
margin-top: -.25em;
|
823
|
+
}
|
824
|
+
hruby ru[zhuyin][diao="˪"] diao,
|
825
|
+
hruby ru[zhuyin][diao="˫"] diao {
|
826
|
+
-moz-transform: scale(1.2);
|
827
|
+
-ms-transform: scale(1.2);
|
828
|
+
-webkit-transform: scale(1.2);
|
829
|
+
transform: scale(1.2);
|
830
|
+
margin-right: -.25em;
|
831
|
+
}
|
832
|
+
hruby ru[zhuyin][diao^="ㆴ"] diao,
|
833
|
+
hruby ru[zhuyin][diao^="ㆵ"] diao,
|
834
|
+
hruby ru[zhuyin][diao^="ㆶ"] diao,
|
835
|
+
hruby ru[zhuyin][diao^="ㆷ"] diao,
|
836
|
+
hruby ru[zhuyin][diao=""] diao,
|
837
|
+
hruby ru[zhuyin][diao=""] diao,
|
838
|
+
hruby ru[zhuyin][diao=""] diao,
|
839
|
+
hruby ru[zhuyin][diao=""] diao {
|
840
|
+
top: 20%;
|
841
|
+
margin-right: -.3em;
|
842
|
+
}
|
843
|
+
hruby ru[annotation]:before,
|
844
|
+
hruby[rightangle] ru[annotation][order="1"]:before {
|
845
|
+
top: -.5em;
|
846
|
+
}
|
847
|
+
hruby ru[order="1"]:before,
|
848
|
+
hruby[rightangle] ru[annotation][order="0"]:before {
|
849
|
+
bottom: -.4em;
|
850
|
+
top: auto;
|
851
|
+
}
|
852
|
+
hruby[rightangle] ru[annotation]:before {
|
853
|
+
margin-left: -.4em;
|
854
|
+
}
|
855
|
+
@media screen and (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 192dpi) {
|
856
|
+
hruby yin {
|
857
|
+
-moz-transform: scale(.8);
|
858
|
+
-ms-transform: scale(.8);
|
859
|
+
-webkit-transform: scale(.8);
|
860
|
+
transform: scale(.8);
|
861
|
+
display: inline-block;
|
862
|
+
}
|
863
|
+
|
864
|
+
hruby ru[zhuyin][diao="˪"] diao,
|
865
|
+
hruby ru[zhuyin][diao="˫"] diao {
|
866
|
+
-moz-transform: scale(1);
|
867
|
+
-ms-transform: scale(1);
|
868
|
+
-webkit-transform: scale(1);
|
869
|
+
transform: scale(1);
|
870
|
+
}
|
871
|
+
|
872
|
+
hruby ru[zhuyin][diao="˙"] diao {
|
873
|
+
-moz-transform: scale(.8);
|
874
|
+
-ms-transform: scale(.8);
|
875
|
+
-webkit-transform: scale(.8);
|
876
|
+
transform: scale(.8);
|
877
|
+
top: .125em;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
|
881
|
+
jinze {
|
882
|
+
display: inline-block;
|
883
|
+
text-indent: 0;
|
884
|
+
}
|
885
|
+
|
886
|
+
/**
|
887
|
+
* The Four Typefaces: Heiti
|
888
|
+
* 四大字體集・黑體
|
889
|
+
*/
|
890
|
+
@font-face {
|
891
|
+
font-family: "Han Heiti";
|
892
|
+
src: local("Hiragino Sans GB"), local("Lantinghei TC"), local("Lantinghei SC"), local("Heiti SC"), local("Heiti TC"), local("Microsoft Yahei"), local("Microsoft Jhenghei"), local("Droid Sans Fallback");
|
893
|
+
}
|
894
|
+
|
895
|
+
@font-face {
|
896
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
897
|
+
font-family: "Han Heiti";
|
898
|
+
src: local(YuGothic), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro");
|
899
|
+
}
|
900
|
+
|
901
|
+
@font-face {
|
902
|
+
font-family: "Han Heiti CNS";
|
903
|
+
src: local("Hiragino Sans GB"), local("Lantinghei TC"), local("Heiti TC"), local("Microsoft Jhenghei"), local("Heiti SC"), local("Lantinghei SC"), local("Microsoft Yahei"), local("Droid Sans Fallback");
|
904
|
+
}
|
905
|
+
|
906
|
+
@font-face {
|
907
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
908
|
+
font-family: "Han Heiti CNS";
|
909
|
+
src: local(YuGothic), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro");
|
910
|
+
}
|
911
|
+
|
912
|
+
@font-face {
|
913
|
+
font-family: "Han Heiti GB";
|
914
|
+
src: local("Hiragino Sans GB"), local("Lantinghei SC"), local("Heiti SC"), local("Microsoft Yahei"), local("Droid Sans Fallback");
|
915
|
+
}
|
916
|
+
|
917
|
+
/* Bold
|
918
|
+
*/
|
919
|
+
@font-face {
|
920
|
+
font-family: "Han Heiti";
|
921
|
+
font-weight: 600;
|
922
|
+
src: local("Hiragino Sans GB W6"), local(HiraginoSansGB-W6), local("Lantinghei TC Demibold"), local("Lantinghei SC Demibold"), local(FZLTXHB--B51-0), local(FZLTZHK--GBK1-0), local("Heiti SC Medium"), local("Heiti TC Medium"), local(STHeitiSC-Medium), local(STHeitiTC-Medium), local("Microsoft YaHei Bold"), local("Microsoft Jhenghei Bold"), local(MicrosoftYaHei-Bold), local(MicrosoftJhengHeiBold);
|
923
|
+
}
|
924
|
+
|
925
|
+
@font-face {
|
926
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
927
|
+
font-family: "Han Heiti";
|
928
|
+
font-weight: 600;
|
929
|
+
src: local("YuGothic Bold"), local("Hiragino Kaku Gothic ProN W6"), local("Hiragino Kaku Gothic Pro W6"), local(YuGo-Bold), local(HiraKakuProN-W6), local(HiraKakuPro-W6);
|
930
|
+
}
|
931
|
+
|
932
|
+
@font-face {
|
933
|
+
font-family: "Han Heiti CNS";
|
934
|
+
font-weight: 600;
|
935
|
+
src: local("Hiragino Sans GB W6"), local(HiraginoSansGB-W6), local("Lantinghei TC Demibold"), local("Heiti TC Medium"), local("Microsoft Jhenghei Bold"), local(FZLTXHB--B51-0), local(STHeitiTC-Medium), local(MicrosoftJhengHeiBold), local("Lantinghei SC Demibold"), local("Microsoft YaHei Bold"), local("Heiti SC Medium"), local(FZLTZHK--GBK1-0), local(STHeitiSC-Medium), local(MicrosoftYaHei-Bold);
|
936
|
+
}
|
937
|
+
|
938
|
+
@font-face {
|
939
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
940
|
+
font-family: "Han Heiti CNS";
|
941
|
+
font-weight: 600;
|
942
|
+
src: local("YuGothic Bold"), local(YuGo-Bold), local("Hiragino Kaku Gothic ProN W6"), local("Hiragino Kaku Gothic Pro W6"), local(HiraKakuProN-W6), local(HiraKakuPro-W6);
|
943
|
+
}
|
944
|
+
|
945
|
+
@font-face {
|
946
|
+
font-family: "Han Heiti GB";
|
947
|
+
font-weight: 600;
|
948
|
+
src: local("Hiragino Sans GB W6"), local(HiraginoSansGB-W6), local("Lantinghei SC Demibold"), local("Microsoft YaHei Bold"), local("Heiti SC Medium"), local(FZLTZHK--GBK1-0), local(STHeitiSC-Medium), local(MicrosoftYaHei-Bold);
|
949
|
+
}
|
950
|
+
|
951
|
+
/* Address solution to `unicode-range` unsupported
|
952
|
+
* issues in Firefox
|
953
|
+
*/
|
954
|
+
@font-face {
|
955
|
+
font-family: "Han Heiti";
|
956
|
+
src: local("Hiragino Sans GB"), local("Lantinghei TC"), local("Lantinghei SC"), local("Heiti SC"), local("Heiti TC"), local("Microsoft Yahei"), local("Microsoft Jhenghei"), local("Droid Sans Fallback");
|
957
|
+
unicode-range: U+270C;
|
958
|
+
}
|
959
|
+
|
960
|
+
@font-face {
|
961
|
+
font-family: "Han Heiti";
|
962
|
+
font-weight: 600;
|
963
|
+
src: local("Hiragino Sans GB W6"), local(HiraginoSansGB-W6), local("Lantinghei TC Demibold"), local("Lantinghei SC Demibold"), local(FZLTXHB--B51-0), local(FZLTZHK--GBK1-0), local("Heiti SC Medium"), local("Heiti TC Medium"), local(STHeitiSC-Medium), local(STHeitiTC-Medium), local("Microsoft YaHei Bold"), local("Microsoft Jhenghei Bold"), local(MicrosoftYaHei-Bold), local(MicrosoftJhengHeiBold);
|
964
|
+
unicode-range: U+270C;
|
965
|
+
}
|
966
|
+
|
967
|
+
@font-face {
|
968
|
+
font-family: "Han Heiti CNS";
|
969
|
+
src: local("Hiragino Sans GB"), local("Lantinghei TC"), local("Heiti TC"), local("Microsoft Jhenghei"), local("Heiti SC"), local("Lantinghei SC"), local("Microsoft Yahei"), local("Droid Sans Fallback");
|
970
|
+
unicode-range: U+270C;
|
971
|
+
}
|
972
|
+
|
973
|
+
@font-face {
|
974
|
+
font-family: "Han Heiti CNS";
|
975
|
+
font-weight: 600;
|
976
|
+
src: local("Hiragino Sans GB W6"), local(HiraginoSansGB-W6), local("Lantinghei TC Demibold"), local("Heiti TC Medium"), local("Microsoft Jhenghei Bold"), local(FZLTXHB--B51-0), local(STHeitiTC-Medium), local(MicrosoftJhengHeiBold), local("Lantinghei SC Demibold"), local("Heiti SC Medium"), local("Microsoft YaHei Bold"), local(FZLTZHK--GBK1-0), local(STHeitiSC-Medium), local(MicrosoftYaHei-Bold);
|
977
|
+
unicode-range: U+270C;
|
978
|
+
}
|
979
|
+
|
980
|
+
@font-face {
|
981
|
+
font-family: "Han Heiti GB";
|
982
|
+
src: local("Hiragino Sans GB"), local("Lantinghei SC"), local("Heiti SC"), local("Microsoft Yahei"), local("Droid Sans Fallback");
|
983
|
+
unicode-range: U+270C;
|
984
|
+
}
|
985
|
+
|
986
|
+
/**
|
987
|
+
* The Four Typefaces: Songti (serif)
|
988
|
+
* 四大字體集・宋體
|
989
|
+
*/
|
990
|
+
@font-face {
|
991
|
+
font-family: "Han Songti";
|
992
|
+
src: local("Songti SC"), local("Songti TC"), local(STSong), local("Lisong Pro"), local(SimSun), local(PMingLiU);
|
993
|
+
}
|
994
|
+
|
995
|
+
@font-face {
|
996
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
997
|
+
font-family: "Han Songti";
|
998
|
+
src: local(YuMincho), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("MS Mincho");
|
999
|
+
}
|
1000
|
+
|
1001
|
+
@font-face {
|
1002
|
+
font-family: "Han Songti CNS";
|
1003
|
+
src: local("Songti TC"), local("Lisong Pro"), local("Songti SC"), local(STSong), local(PMingLiU), local(SimSun);
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
@font-face {
|
1007
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1008
|
+
font-family: "Han Songti CNS";
|
1009
|
+
src: local(YuMincho), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro");
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
@font-face {
|
1013
|
+
font-family: "Han Songti GB";
|
1014
|
+
src: local("Songti SC"), local(STSong), local(SimSun), local(PMingLiU);
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/* Bold
|
1018
|
+
*/
|
1019
|
+
@font-face {
|
1020
|
+
font-family: "Han Songti";
|
1021
|
+
font-weight: 600;
|
1022
|
+
src: local("STSongti SC Bold"), local("STSongti TC Bold"), local(STSongti-SC-Bold), local(STSongti-TC-Bold);
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
@font-face {
|
1026
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1027
|
+
font-family: "Han Songti";
|
1028
|
+
font-weight: 600;
|
1029
|
+
src: local("YuMincho Demibold"), local("Hiragino Mincho ProN W6"), local("Hiragino Mincho Pro W6"), local(YuMin-Demibold), local(HiraMinProN-W6), local(HiraMinPro-W6);
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
@font-face {
|
1033
|
+
font-family: "Han Songti CNS";
|
1034
|
+
font-weight: 600;
|
1035
|
+
src: local("STSongti TC Bold"), local("STSongti SC Bold"), local(STSongti-TC-Bold), local(STSongti-SC-Bold);
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
@font-face {
|
1039
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1040
|
+
font-family: "Han Songti CNS";
|
1041
|
+
font-weight: 600;
|
1042
|
+
src: local("YuMincho Demibold"), local("Hiragino Mincho ProN W6"), local("Hiragino Mincho Pro W6"), local(YuMin-Demibold), local(HiraMinProN-W6), local(HiraMinPro-W6);
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
@font-face {
|
1046
|
+
font-family: "Han Songti GB";
|
1047
|
+
font-weight: 600;
|
1048
|
+
src: local("STSongti SC Bold"), local(STSongti-SC-Bold);
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
/* Address solution to `unicode-range` unsupported
|
1052
|
+
* issues in Firefox.
|
1053
|
+
*/
|
1054
|
+
@font-face {
|
1055
|
+
font-family: "Han Songti";
|
1056
|
+
src: local("Songti SC"), local("Songti TC"), local(STSongti), local("Lisong Pro"), local("MS Mincho"), local(SimSun), local(PMingLiU);
|
1057
|
+
unicode-range: U+270C;
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
@font-face {
|
1061
|
+
font-family: "Han Songti";
|
1062
|
+
font-weight: 600;
|
1063
|
+
src: local("STSongti TC Bold"), local("STSongti SC Bold"), local(STSongti-TC-Bold), local(STSongti-SC-Bold);
|
1064
|
+
unicode-range: U+270C;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
@font-face {
|
1068
|
+
font-family: "Han Songti CNS";
|
1069
|
+
src: local("Songti TC"), local("Lisong Pro"), local("Songti SC"), local(STSong), local("MS Mincho"), local(PMingLiU), local(SimSun);
|
1070
|
+
unicode-range: U+270C;
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
@font-face {
|
1074
|
+
font-family: "Han Songti CNS";
|
1075
|
+
font-weight: 600;
|
1076
|
+
src: local("STSongti TC Bold"), local("STSongti SC Bold"), local(STSongti-TC-Bold), local(STSongti-SC-Bold);
|
1077
|
+
unicode-range: U+270C;
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
@font-face {
|
1081
|
+
font-family: "Han Songti GB";
|
1082
|
+
src: local("Songti SC"), local(STSong), local(SimSun);
|
1083
|
+
unicode-range: U+270C;
|
1084
|
+
}
|
1085
|
+
|
1086
|
+
/**
|
1087
|
+
* The Four Typefaces: Kaiti (Cursive)
|
1088
|
+
* 四大字體集・楷體
|
1089
|
+
*/
|
1090
|
+
@font-face {
|
1091
|
+
font-family: cursive;
|
1092
|
+
src: local("Kaiti SC"), local(STKaiti), local(BiauKai), local("標楷體"), local(DFKaiShu-SB-Estd-BF), local(Kaiti), local(DFKai-SB);
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
@font-face {
|
1096
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1097
|
+
font-family: "Han Kaiti";
|
1098
|
+
src: local("Kaiti SC"), local(STKaiti), local(BiauKai), local("標楷體"), local(DFKaiShu-SB-Estd-BF), local(Kaiti), local(DFKai-SB);
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
@font-face {
|
1102
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1103
|
+
font-family: "Han Kaiti CNS";
|
1104
|
+
src: local(BiauKai), local("標楷體"), local(DFKaiShu-SB-Estd-BF);
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
@font-face {
|
1108
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1109
|
+
font-family: "Han Kaiti GB";
|
1110
|
+
src: local("Kaiti SC"), local(STKaiti), local(Kai), local(Kaiti), local(DFKai-SB);
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
/* Bold
|
1114
|
+
*/
|
1115
|
+
@font-face {
|
1116
|
+
font-family: cursive;
|
1117
|
+
font-weight: 600;
|
1118
|
+
src: local("Kaiti SC Bold"), local(STKaiti-SC-Bold);
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
@font-face {
|
1122
|
+
font-family: "Han Kaiti";
|
1123
|
+
font-weight: 600;
|
1124
|
+
src: local("Kaiti SC Bold"), local(STKaiti-SC-Bold);
|
1125
|
+
}
|
1126
|
+
|
1127
|
+
@font-face {
|
1128
|
+
font-family: "Han Kaiti GB";
|
1129
|
+
font-weight: 600;
|
1130
|
+
src: local("Kaiti SC Bold"), local(STKaiti-SC-Bold);
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
/**
|
1134
|
+
* The Four Typefaces: Fangsong
|
1135
|
+
* 四大字體集・仿宋體
|
1136
|
+
*/
|
1137
|
+
@font-face {
|
1138
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1139
|
+
font-family: "Han Fangsong";
|
1140
|
+
src: local(STFangsong), local(FangSong);
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
@font-face {
|
1144
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1145
|
+
font-family: "Han Fangsong CNS";
|
1146
|
+
src: local(STFangsong), local(FangSong);
|
1147
|
+
}
|
1148
|
+
|
1149
|
+
@font-face {
|
1150
|
+
unicode-range: U+4E00-9FFF, U+3400-4DB5, U+20000-2A6D6, U+2A700-2B734, U+2B740-2B81D, U+FA0E-FA0F, U+FA11, U+FA13-FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27-FA29, U+3040-309F, U+30A0-30FF, U+3099-309E, U+FF66-FF9F, U+3007, U+31C0-31E3, U+2F00-2FD5, U+2E80-2EF3;
|
1151
|
+
font-family: "Han Fangsong GB";
|
1152
|
+
src: local(STFangsong), local(FangSong);
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
/**
|
1156
|
+
* Basic correction to CJK punctuation
|
1157
|
+
* ‘Biaodian’(zh) and ‘Yakumono’(ja)
|
1158
|
+
*/
|
1159
|
+
/* Fullwidth full stop (.) */
|
1160
|
+
@font-face {
|
1161
|
+
font-family: "Biaodian Sans";
|
1162
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local("MS Gothic"), local(SimSun);
|
1163
|
+
unicode-range: U+FF0E;
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
@font-face {
|
1167
|
+
font-family: "Biaodian Serif";
|
1168
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local(SimSun);
|
1169
|
+
unicode-range: U+FF0E;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
@font-face {
|
1173
|
+
font-family: "Biaodian Pro Sans";
|
1174
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local("MS Gothic"), local(SimSun);
|
1175
|
+
unicode-range: U+FF0E;
|
1176
|
+
}
|
1177
|
+
|
1178
|
+
@font-face {
|
1179
|
+
font-family: "Biaodian Pro Serif";
|
1180
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local(SimSun);
|
1181
|
+
unicode-range: U+FF0E;
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
@font-face {
|
1185
|
+
font-family: "Biaodian Pro Sans CNS";
|
1186
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local("MS Gothic"), local(SimSun);
|
1187
|
+
unicode-range: U+FF0E;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
@font-face {
|
1191
|
+
font-family: "Biaodian Pro Serif CNS";
|
1192
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local(SimSun);
|
1193
|
+
unicode-range: U+FF0E;
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
@font-face {
|
1197
|
+
font-family: "Biaodian Pro Sans GB";
|
1198
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local("MS Gothic"), local(SimSun);
|
1199
|
+
unicode-range: U+FF0E;
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
@font-face {
|
1203
|
+
font-family: "Biaodian Pro Serif GB";
|
1204
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local(SimSun);
|
1205
|
+
unicode-range: U+FF0E;
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
/* Middle dot (·) */
|
1209
|
+
@font-face {
|
1210
|
+
font-family: "Biaodian Sans";
|
1211
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun);
|
1212
|
+
unicode-range: U+00B7;
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
@font-face {
|
1216
|
+
font-family: "Biaodian Serif";
|
1217
|
+
src: local("Songti SC"), local(STSong), local("Heiti SC"), local(SimSun);
|
1218
|
+
unicode-range: U+00B7;
|
1219
|
+
}
|
1220
|
+
|
1221
|
+
@font-face {
|
1222
|
+
font-family: "Biaodian Pro Sans";
|
1223
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun);
|
1224
|
+
unicode-range: U+00B7;
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
@font-face {
|
1228
|
+
font-family: "Biaodian Pro Serif";
|
1229
|
+
src: local("Songti SC"), local(STSong), local("Heiti SC"), local(SimSun);
|
1230
|
+
unicode-range: U+00B7;
|
1231
|
+
}
|
1232
|
+
|
1233
|
+
@font-face {
|
1234
|
+
font-family: "Biaodian Pro Sans CNS";
|
1235
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun);
|
1236
|
+
unicode-range: U+00B7;
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
@font-face {
|
1240
|
+
font-family: "Biaodian Pro Serif CNS";
|
1241
|
+
src: local("Songti SC"), local(STSong), local("Heiti SC"), local(SimSun);
|
1242
|
+
unicode-range: U+00B7;
|
1243
|
+
}
|
1244
|
+
|
1245
|
+
@font-face {
|
1246
|
+
font-family: "Biaodian Pro Sans GB";
|
1247
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun);
|
1248
|
+
unicode-range: U+00B7;
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
@font-face {
|
1252
|
+
font-family: "Biaodian Pro Serif GB";
|
1253
|
+
src: local("Songti SC"), local(STSong), local("Heiti SC"), local(SimSun);
|
1254
|
+
unicode-range: U+00B7;
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
/* Em dash (——) */
|
1258
|
+
@font-face {
|
1259
|
+
font-family: "Biaodian Sans";
|
1260
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Microsoft Yahei"), local(SimSun);
|
1261
|
+
unicode-range: U+2014;
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
@font-face {
|
1265
|
+
font-family: "Biaodian Serif";
|
1266
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local("Microsoft Yahei"), local(SimSun);
|
1267
|
+
unicode-range: U+2014;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
@font-face {
|
1271
|
+
font-family: "Yakumono Sans";
|
1272
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Arial Unicode MS"), local("MS Gothic");
|
1273
|
+
unicode-range: U+2014;
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
@font-face {
|
1277
|
+
font-family: "Yakumono Serif";
|
1278
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("MS Mincho"), local("Microsoft Yahei");
|
1279
|
+
unicode-range: U+2014;
|
1280
|
+
}
|
1281
|
+
|
1282
|
+
@font-face {
|
1283
|
+
font-family: "Biaodian Pro Sans";
|
1284
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Microsoft Yahei"), local(SimSun);
|
1285
|
+
unicode-range: U+2014;
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
@font-face {
|
1289
|
+
font-family: "Biaodian Pro Serif";
|
1290
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local("Microsoft Yahei"), local(SimSun);
|
1291
|
+
unicode-range: U+2014;
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
@font-face {
|
1295
|
+
font-family: "Biaodian Pro Sans CNS";
|
1296
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Microsoft Yahei"), local(SimSun);
|
1297
|
+
unicode-range: U+2014;
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
@font-face {
|
1301
|
+
font-family: "Biaodian Pro Serif CNS";
|
1302
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local("Microsoft Yahei"), local(SimSun);
|
1303
|
+
unicode-range: U+2014;
|
1304
|
+
}
|
1305
|
+
|
1306
|
+
@font-face {
|
1307
|
+
font-family: "Biaodian Pro Sans GB";
|
1308
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Microsoft Yahei"), local(SimSun);
|
1309
|
+
unicode-range: U+2014;
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
@font-face {
|
1313
|
+
font-family: "Biaodian Pro Serif GB";
|
1314
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSong), local("Microsoft Yahei"), local(SimSun);
|
1315
|
+
unicode-range: U+2014;
|
1316
|
+
}
|
1317
|
+
|
1318
|
+
/* Ellipsis (……) */
|
1319
|
+
@font-face {
|
1320
|
+
font-family: "Biaodian Sans";
|
1321
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(Meiryo), local("MS Gothic"), local(SimSun), local(PMingLiU);
|
1322
|
+
unicode-range: U+2026;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
@font-face {
|
1326
|
+
font-family: "Biaodian Serif";
|
1327
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local("MS Mincho"), local(SimSun), local(PMingLiU);
|
1328
|
+
unicode-range: U+2026;
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
@font-face {
|
1332
|
+
font-family: "Yakumono Sans";
|
1333
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(Meiryo), local("MS Gothic");
|
1334
|
+
unicode-range: U+2026;
|
1335
|
+
}
|
1336
|
+
|
1337
|
+
@font-face {
|
1338
|
+
font-family: "Yakumono Serif";
|
1339
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("MS Mincho");
|
1340
|
+
unicode-range: U+2026;
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
@font-face {
|
1344
|
+
font-family: "Biaodian Pro Sans";
|
1345
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1346
|
+
unicode-range: U+2026;
|
1347
|
+
}
|
1348
|
+
|
1349
|
+
@font-face {
|
1350
|
+
font-family: "Biaodian Pro Serif";
|
1351
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(SimSun), local(PMingLiU);
|
1352
|
+
unicode-range: U+2026;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
@font-face {
|
1356
|
+
font-family: "Biaodian Pro Sans CNS";
|
1357
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1358
|
+
unicode-range: U+2026;
|
1359
|
+
}
|
1360
|
+
|
1361
|
+
@font-face {
|
1362
|
+
font-family: "Biaodian Pro Serif CNS";
|
1363
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSongti), local(SimSun), local(PMingLiU);
|
1364
|
+
unicode-range: U+2026;
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
@font-face {
|
1368
|
+
font-family: "Biaodian Pro Sans GB";
|
1369
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Sans GB"), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1370
|
+
unicode-range: U+2026;
|
1371
|
+
}
|
1372
|
+
|
1373
|
+
@font-face {
|
1374
|
+
font-family: "Biaodian Pro Serif GB";
|
1375
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Songti SC"), local(STSongti), local(SimSun), local(PMingLiU);
|
1376
|
+
unicode-range: U+2026;
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
/* Curve quotes (“‘’”, GB-only) */
|
1380
|
+
@font-face {
|
1381
|
+
font-family: "Biaodian Pro Sans GB";
|
1382
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun), local(PMingLiU);
|
1383
|
+
unicode-range: U+201C-201D, U+2018-2019;
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
@font-face {
|
1387
|
+
font-family: "Biaodian Pro Serif GB";
|
1388
|
+
src: local("Lisong Pro"), local("Heiti SC"), local(STHeiti), local(SimSun), local(PMingLiU);
|
1389
|
+
unicode-range: U+201C-201D, U+2018-2019;
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
/* Default emphasis mark (•) */
|
1393
|
+
@font-face {
|
1394
|
+
font-family: "Biaodian Sans";
|
1395
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1396
|
+
unicode-range: U+25CF;
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
@font-face {
|
1400
|
+
font-family: "Biaodian Serif";
|
1401
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1402
|
+
unicode-range: U+25CF;
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
@font-face {
|
1406
|
+
font-family: "Biaodian Pro Sans";
|
1407
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1408
|
+
unicode-range: U+25CF;
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
@font-face {
|
1412
|
+
font-family: "Biaodian Pro Serif";
|
1413
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1414
|
+
unicode-range: U+25CF;
|
1415
|
+
}
|
1416
|
+
|
1417
|
+
@font-face {
|
1418
|
+
font-family: "Biaodian Pro Sans CNS";
|
1419
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1420
|
+
unicode-range: U+25CF;
|
1421
|
+
}
|
1422
|
+
|
1423
|
+
@font-face {
|
1424
|
+
font-family: "Biaodian Pro Serif CNS";
|
1425
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1426
|
+
unicode-range: U+25CF;
|
1427
|
+
}
|
1428
|
+
|
1429
|
+
@font-face {
|
1430
|
+
font-family: "Biaodian Pro Sans GB";
|
1431
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1432
|
+
unicode-range: U+25CF;
|
1433
|
+
}
|
1434
|
+
|
1435
|
+
@font-face {
|
1436
|
+
font-family: "Biaodian Pro Serif GB";
|
1437
|
+
src: local(Georgia), local("Times New Roman"), local(Arial), local("Droid Sans Fallback");
|
1438
|
+
unicode-range: U+25CF;
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
/**
|
1442
|
+
* Advanced correction to Chinese Biaodian
|
1443
|
+
*/
|
1444
|
+
@font-face {
|
1445
|
+
font-family: "Biaodian Pro Sans";
|
1446
|
+
src: local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("MS Gothic");
|
1447
|
+
unicode-range: U+3002, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01, U+FF0D, U+FF0F, U+FF3C;
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
@font-face {
|
1451
|
+
font-family: "Biaodian Pro Serif";
|
1452
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("MS Mincho");
|
1453
|
+
unicode-range: U+3002, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01, U+FF0D, U+FF0F, U+FF3C;
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
@font-face {
|
1457
|
+
font-family: "Biaodian Pro Sans CNS";
|
1458
|
+
src: local("Heiti TC"), local("Lihei Pro"), local("Microsoft Jhenghei"), local(PMingLiU);
|
1459
|
+
unicode-range: U+3002, U+FF0C, U+3001;
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
@font-face {
|
1463
|
+
font-family: "Biaodian Pro Sans CNS";
|
1464
|
+
src: local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local("Heiti TC"), local("Lihei Pro"), local("Microsoft Jhenghei"), local(PMingLiU), local("MS Gothic");
|
1465
|
+
unicode-range: U+FF1B, U+FF1A, U+FF1F, U+FF01;
|
1466
|
+
}
|
1467
|
+
|
1468
|
+
@font-face {
|
1469
|
+
font-family: "Biaodian Pro Sans CNS";
|
1470
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("MS Mincho");
|
1471
|
+
unicode-range: U+FF0D, U+FF0F, U+FF3C;
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
@font-face {
|
1475
|
+
font-family: "Biaodian Pro Serif CNS";
|
1476
|
+
src: local(STSongti-TC-Regular), local("Lisong Pro"), local("Heiti TC"), local(PMingLiU);
|
1477
|
+
unicode-range: U+3002, U+FF0C, U+3001;
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
@font-face {
|
1481
|
+
font-family: "Biaodian Pro Serif CNS";
|
1482
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local(PMingLiU), local("MS Mincho");
|
1483
|
+
unicode-range: U+FF1B, U+FF1A, U+FF1F, U+FF01, U+FF0D, U+FF0F, U+FF3C;
|
1484
|
+
}
|
1485
|
+
|
1486
|
+
@font-face {
|
1487
|
+
font-family: "Biaodian Pro Sans GB";
|
1488
|
+
src: local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local("MS Gothic");
|
1489
|
+
unicode-range: U+3002, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01, U+FF0D, U+FF0F, U+FF3C;
|
1490
|
+
}
|
1491
|
+
|
1492
|
+
@font-face {
|
1493
|
+
font-family: "Biaodian Pro Serif GB";
|
1494
|
+
src: local("Songti SC"), local(STSongti), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local("Hiragino Sans GB"), local("Heiti SC"), local(STHeiti), local(SimSun), local("MS Mincho");
|
1495
|
+
unicode-range: U+3002, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01;
|
1496
|
+
}
|
1497
|
+
|
1498
|
+
@font-face {
|
1499
|
+
font-family: "Biaodian Pro Serif GB";
|
1500
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local(PMingLiU), local("MS Mincho");
|
1501
|
+
unicode-range: U+FF0D, U+FF0F, U+FF3C;
|
1502
|
+
}
|
1503
|
+
|
1504
|
+
@font-face {
|
1505
|
+
font-family: "Biaodian Pro Sans";
|
1506
|
+
src: local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1507
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
@font-face {
|
1511
|
+
font-family: "Biaodian Pro Serif";
|
1512
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local(SimSun);
|
1513
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1514
|
+
}
|
1515
|
+
|
1516
|
+
@font-face {
|
1517
|
+
font-family: "Biaodian Pro Sans CNS";
|
1518
|
+
src: local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1519
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1520
|
+
}
|
1521
|
+
|
1522
|
+
@font-face {
|
1523
|
+
font-family: "Biaodian Pro Serif CNS";
|
1524
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local(SimSun);
|
1525
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
@font-face {
|
1529
|
+
font-family: "Biaodian Pro Sans GB";
|
1530
|
+
src: local("Hiragino Kaku Gothic ProN"), local("Hiragino Kaku Gothic Pro"), local(SimSun), local(PMingLiU);
|
1531
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1532
|
+
}
|
1533
|
+
|
1534
|
+
@font-face {
|
1535
|
+
font-family: "Biaodian Pro Serif GB";
|
1536
|
+
src: local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro"), local(SimSun);
|
1537
|
+
unicode-range: U+300C-300F, U+300A-300B, U+3008-3009, U+FF08-FF09, U+3014-3015;
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
/* Address solution to `unicode-range` unsupported
|
1541
|
+
* issues in Firefox.
|
1542
|
+
*/
|
1543
|
+
@font-face {
|
1544
|
+
font-family: "Biaodian Basic";
|
1545
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1546
|
+
unicode-range: U+2014, U+2026, U+00B7;
|
1547
|
+
}
|
1548
|
+
|
1549
|
+
@font-face {
|
1550
|
+
font-family: "Biaodian Sans";
|
1551
|
+
src: local(lying-to-firefox);
|
1552
|
+
unicode-range: U+270C;
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
@font-face {
|
1556
|
+
font-family: "Biaodian Serif";
|
1557
|
+
src: local(lying-to-firefox);
|
1558
|
+
unicode-range: U+270C;
|
1559
|
+
}
|
1560
|
+
|
1561
|
+
@font-face {
|
1562
|
+
font-family: "Biaodian Pro Sans";
|
1563
|
+
src: local(lying-to-firefox);
|
1564
|
+
unicode-range: U+270C;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
@font-face {
|
1568
|
+
font-family: "Biaodian Pro Serif";
|
1569
|
+
src: local(lying-to-firefox);
|
1570
|
+
unicode-range: U+270C;
|
1571
|
+
}
|
1572
|
+
|
1573
|
+
@font-face {
|
1574
|
+
font-family: "Biaodian Pro Sans CNS";
|
1575
|
+
src: local(lying-to-firefox);
|
1576
|
+
unicode-range: U+270C;
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
@font-face {
|
1580
|
+
font-family: "Biaodian Pro Serif CNS";
|
1581
|
+
src: local(lying-to-firefox);
|
1582
|
+
unicode-range: U+270C;
|
1583
|
+
}
|
1584
|
+
|
1585
|
+
@font-face {
|
1586
|
+
font-family: "Biaodian Pro Sans GB";
|
1587
|
+
src: local(lying-to-firefox);
|
1588
|
+
unicode-range: U+270C;
|
1589
|
+
}
|
1590
|
+
|
1591
|
+
@font-face {
|
1592
|
+
font-family: "Biaodian Pro Serif GB";
|
1593
|
+
src: local(lying-to-firefox);
|
1594
|
+
unicode-range: U+270C;
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
/**
|
1598
|
+
* Western Italic Serif
|
1599
|
+
*/
|
1600
|
+
@font-face {
|
1601
|
+
font-family: "Latin Italic Serif";
|
1602
|
+
src: local("Georgia Italic"), local("Times New Roman Italic"), local(Georgia-Italic), local(TimesNewRomanPS-ItalicMT), local(Times-Italic);
|
1603
|
+
}
|
1604
|
+
|
1605
|
+
@font-face {
|
1606
|
+
font-family: "Latin Italic Serif";
|
1607
|
+
font-weight: 700;
|
1608
|
+
src: local("Georgia Bold Italic"), local("Times New Roman Bold Italic"), local(Georgia-BoldItalic), local(TimesNewRomanPS-BoldItalicMT), local(Times-Italic);
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
/**
|
1612
|
+
* Western italic sans-serif
|
1613
|
+
*/
|
1614
|
+
@font-face {
|
1615
|
+
font-family: "Latin Italic Sans";
|
1616
|
+
src: local("Helvetica Neue Italic"), local("Helvetica Oblique"), local("Arial Italic"), local(HelveticaNeue-Italic), local(Helvetica-LightOblique), local(Arial-ItalicMT);
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
@font-face {
|
1620
|
+
font-family: "Latin Italic Sans";
|
1621
|
+
font-weight: 700;
|
1622
|
+
src: local("Helvetica Neue Bold Italic"), local("Helvetica Bold Oblique"), local("Arial Bold Italic"), local(HelveticaNeue-BoldItalic), local(Helvetica-BoldOblique), local(Arial-BoldItalicMT);
|
1623
|
+
}
|
1624
|
+
|
1625
|
+
/**
|
1626
|
+
* Numerals: text figures
|
1627
|
+
*/
|
1628
|
+
@font-face {
|
1629
|
+
unicode-range: U+0030-0039;
|
1630
|
+
font-family: "Numeral TF Sans";
|
1631
|
+
src: local(Skia), local("Neutraface 2 Text"), local(Candara), local(Corbel);
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
@font-face {
|
1635
|
+
unicode-range: U+0030-0039;
|
1636
|
+
font-family: "Numeral TF Serif";
|
1637
|
+
src: local(Georgia), local("Hoefler Text"), local("Big Caslon");
|
1638
|
+
}
|
1639
|
+
|
1640
|
+
@font-face {
|
1641
|
+
unicode-range: U+0030-0039;
|
1642
|
+
font-family: "Numeral TF Italic Serif";
|
1643
|
+
src: local("Georgia Italic"), local("Hoefler Text Italic"), local(Georgia-Italic), local(HoeflerText-Italic);
|
1644
|
+
}
|
1645
|
+
|
1646
|
+
/**
|
1647
|
+
* Numerals: lining figures
|
1648
|
+
*/
|
1649
|
+
@font-face {
|
1650
|
+
unicode-range: U+0030-0039;
|
1651
|
+
font-family: "Numeral LF Sans";
|
1652
|
+
src: local("Helvetica Neue"), local(Helvetica), local(Arial);
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
@font-face {
|
1656
|
+
unicode-range: U+0030-0039;
|
1657
|
+
font-family: "Numeral LF Italic Sans";
|
1658
|
+
src: local("Helvetica Neue Italic"), local("Helvetica Oblique"), local("Arial Italic"), local(HelveticaNeue-Italic), local(Helvetica-LightOblique), local(Arial-ItalicMT);
|
1659
|
+
}
|
1660
|
+
|
1661
|
+
@font-face {
|
1662
|
+
unicode-range: U+0030-0039;
|
1663
|
+
font-family: "Numeral LF Italic Sans";
|
1664
|
+
font-weight: bold;
|
1665
|
+
src: local("Helvetica Neue Bold Italic"), local("Helvetica Bold Oblique"), local("Arial Bold Italic"), local(HelveticaNeue-BoldItalic), local(Helvetica-BoldOblique), local(Arial-BoldItalicMT);
|
1666
|
+
}
|
1667
|
+
|
1668
|
+
@font-face {
|
1669
|
+
unicode-range: U+0030-0039;
|
1670
|
+
font-family: "Numeral LF Serif";
|
1671
|
+
src: local(Palatino), local("Palatino Linotype"), local("Times New Roman");
|
1672
|
+
}
|
1673
|
+
|
1674
|
+
@font-face {
|
1675
|
+
unicode-range: U+0030-0039;
|
1676
|
+
font-family: "Numeral LF Italic Serif";
|
1677
|
+
src: local("Palatino Italic"), local("Palatino Italic Linotype"), local("Times New Roman Italic"), local(Palatino-Italic), local(Palatino-Italic-Linotype), local(TimesNewRomanPS-ItalicMT);
|
1678
|
+
}
|
1679
|
+
|
1680
|
+
@font-face {
|
1681
|
+
unicode-range: U+0030-0039;
|
1682
|
+
font-family: "Numeral LF Italic Serif";
|
1683
|
+
font-weight: bold;
|
1684
|
+
src: local("Palatino Bold Italic"), local("Palatino Bold Italic Linotype"), local("Times New Roman Bold Italic"), local(Palatino-BoldItalic), local(Palatino-BoldItalic-Linotype), local(TimesNewRomanPS-BoldItalicMT);
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
/* Address solution to `unicode-range` unsupported
|
1688
|
+
* issues in Firefox.
|
1689
|
+
*/
|
1690
|
+
@font-face {
|
1691
|
+
font-family: "Numeral TF Sans";
|
1692
|
+
src: local(lying-to-firefox);
|
1693
|
+
unicode-range: U+270C;
|
1694
|
+
}
|
1695
|
+
|
1696
|
+
@font-face {
|
1697
|
+
font-family: "Numeral TF Serif";
|
1698
|
+
src: local(lying-to-firefox);
|
1699
|
+
unicode-range: U+270C;
|
1700
|
+
}
|
1701
|
+
|
1702
|
+
@font-face {
|
1703
|
+
font-family: "Numeral TF Italic Serif";
|
1704
|
+
src: local(lying-to-firefox);
|
1705
|
+
unicode-range: U+270C;
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
@font-face {
|
1709
|
+
font-family: "Numeral LF Sans";
|
1710
|
+
src: local(lying-to-firefox);
|
1711
|
+
unicode-range: U+270C;
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
@font-face {
|
1715
|
+
font-family: "Numeral LF Italic Sans";
|
1716
|
+
src: local(lying-to-firefox);
|
1717
|
+
unicode-range: U+270C;
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
@font-face {
|
1721
|
+
font-family: "Numeral LF Italic Sans";
|
1722
|
+
font-weight: bold;
|
1723
|
+
src: local(lying-to-firefox);
|
1724
|
+
unicode-range: U+270C;
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
@font-face {
|
1728
|
+
font-family: "Numeral LF Serif";
|
1729
|
+
src: local(lying-to-firefox);
|
1730
|
+
unicode-range: U+270C;
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
@font-face {
|
1734
|
+
font-family: "Numeral LF Italic Serif";
|
1735
|
+
src: local(lying-to-firefox);
|
1736
|
+
unicode-range: U+270C;
|
1737
|
+
}
|
1738
|
+
|
1739
|
+
@font-face {
|
1740
|
+
font-family: "Numeral LF Italic Serif";
|
1741
|
+
font-weight: bold;
|
1742
|
+
src: local(lying-to-firefox);
|
1743
|
+
unicode-range: U+270C;
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
/**
|
1747
|
+
* Zhuyin Kaiti
|
1748
|
+
*/
|
1749
|
+
@font-face {
|
1750
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1751
|
+
unicode-range: U+3105-312D, U+31A0-31BA, U+02D9, U+02CA, U+02C5, U+02C7, U+02CB, U+02EA-02EB, U+030D, U+0358, U+F31B4-F31B7, U+F0061, U+F0065, U+F0069, U+F006F, U+F0075;
|
1752
|
+
font-family: "Zhuyin Kaiti";
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
/**
|
1756
|
+
* Zhuyin Heiti
|
1757
|
+
*/
|
1758
|
+
@font-face {
|
1759
|
+
unicode-range: U+3105-312D, U+31A0-31BA, U+02D9, U+02CA, U+02C5, U+02C7, U+02CB, U+02EA-02EB, U+030D, U+0358, U+F31B4-F31B7, U+F0061, U+F0065, U+F0069, U+F006F, U+F0075;
|
1760
|
+
font-family: "Zhuyin Heiti";
|
1761
|
+
src: local("Hiragino Sans GB"), local("Heiti TC"), local("Microsoft Jhenghei"), url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1762
|
+
}
|
1763
|
+
|
1764
|
+
@font-face {
|
1765
|
+
font-family: "Zhuyin Heiti";
|
1766
|
+
src: local("Heiti TC"), local("Microsoft Jhenghei"), url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1767
|
+
unicode-range: U+3127;
|
1768
|
+
}
|
1769
|
+
|
1770
|
+
@font-face {
|
1771
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1772
|
+
font-family: "Zhuyin Heiti";
|
1773
|
+
unicode-range: U+02D9, U+02CA, U+02C5, U+02C7, U+02CB, U+02EA-02EB, U+31B4, U+31B5, U+31B6, U+31B7, U+030D, U+0358, U+F31B4-F31B7, U+F0061, U+F0065, U+F0069, U+F006F, U+F0075;
|
1774
|
+
}
|
1775
|
+
|
1776
|
+
/**
|
1777
|
+
* Romanisation (checked tone ligature [陽入韻連字])
|
1778
|
+
*/
|
1779
|
+
@font-face {
|
1780
|
+
src: url('<%= font_path('han.woff') %>?v=<%= v %>') format("woff"), url('<%= font_path('han.otf') %>?v=<%= v %>') format("opentype");
|
1781
|
+
font-family: "Romanization Sans";
|
1782
|
+
unicode-range: U+030D, U+0358, U+F31B4-F31B7, U+F0061, U+F0065, U+F0069, U+F006F, U+F0075;
|
1783
|
+
}
|
1784
|
+
|
1785
|
+
html:lang(zh-Latn),
|
1786
|
+
html:lang(ja-Latn),
|
1787
|
+
html:not(:lang(zh)):not(:lang(ja)),
|
1788
|
+
html *:lang(zh-Latn),
|
1789
|
+
html *:lang(ja-Latn),
|
1790
|
+
html *:not(:lang(zh)):not(:lang(ja)),
|
1791
|
+
article strong:lang(zh-Latn),
|
1792
|
+
article strong:lang(ja-Latn),
|
1793
|
+
article strong:not(:lang(zh)):not(:lang(ja)),
|
1794
|
+
article strong *:lang(zh-Latn),
|
1795
|
+
article strong *:lang(ja-Latn),
|
1796
|
+
article strong *:not(:lang(zh)):not(:lang(ja)) {
|
1797
|
+
font-family: "Helvetica Neue", Helvetica, Arial, "Han Heiti", sans-serif;
|
1798
|
+
}
|
1799
|
+
|
1800
|
+
html:lang(zh),
|
1801
|
+
html:lang(zh-Hant),
|
1802
|
+
[lang^="zh"],
|
1803
|
+
[lang*="Hant"],
|
1804
|
+
[lang="zh-TW"],
|
1805
|
+
[lang="zh-HK"],
|
1806
|
+
article strong:lang(zh),
|
1807
|
+
article strong:lang(zh-Hant) {
|
1808
|
+
font-family: "Biaodian Pro Sans CNS", "Helvetica Neue", Helvetica, Arial, "Zhuyin Heiti", "Han Heiti", sans-serif;
|
1809
|
+
}
|
1810
|
+
|
1811
|
+
html:lang(zh-Hans),
|
1812
|
+
html:lang(zh-CN),
|
1813
|
+
[lang*="Hans"],
|
1814
|
+
[lang="zh-CN"],
|
1815
|
+
article strong:lang(zh-Hans),
|
1816
|
+
article strong:lang(zh-CN) {
|
1817
|
+
font-family: "Biaodian Pro Sans GB", "Helvetica Neue", Helvetica, Arial, "Han Heiti GB", sans-serif;
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
html:lang(ja),
|
1821
|
+
[lang^="ja"],
|
1822
|
+
article strong:lang(ja) {
|
1823
|
+
font-family: "Yakumono Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
/**
|
1827
|
+
* Sans Italic
|
1828
|
+
*/
|
1829
|
+
article blockquote i:lang(zh-Latn),
|
1830
|
+
article blockquote i:lang(ja-Latn),
|
1831
|
+
article blockquote i:not(:lang(zh)):not(:lang(ja)),
|
1832
|
+
article blockquote i *:lang(zh-Latn),
|
1833
|
+
article blockquote i *:lang(ja-Latn),
|
1834
|
+
article blockquote i *:not(:lang(zh)):not(:lang(ja)),
|
1835
|
+
article blockquote var:lang(zh-Latn),
|
1836
|
+
article blockquote var:lang(ja-Latn),
|
1837
|
+
article blockquote var:not(:lang(zh)):not(:lang(ja)),
|
1838
|
+
article blockquote var *:lang(zh-Latn),
|
1839
|
+
article blockquote var *:lang(ja-Latn),
|
1840
|
+
article blockquote var *:not(:lang(zh)):not(:lang(ja)) {
|
1841
|
+
font-family: "Latin Italic Sans", "Helvetica Neue", Helvetica, Arial, "Han Heiti", sans-serif;
|
1842
|
+
}
|
1843
|
+
|
1844
|
+
article blockquote i:lang(zh),
|
1845
|
+
article blockquote i:lang(zh-Hant),
|
1846
|
+
article blockquote var:lang(zh),
|
1847
|
+
article blockquote var:lang(zh-Hant) {
|
1848
|
+
font-family: "Biaodian Pro Sans CNS", "Latin Italic Sans", "Helvetica Neue", Helvetica, Arial, "Zhuyin Heiti", "Han Heiti", sans-serif;
|
1849
|
+
}
|
1850
|
+
|
1851
|
+
article blockquote i:lang(zh-Hans),
|
1852
|
+
article blockquote i:lang(zh-CN),
|
1853
|
+
article blockquote var:lang(zh-Hans),
|
1854
|
+
article blockquote var:lang(zh-CN) {
|
1855
|
+
font-family: "Biaodian Pro Sans GB", "Latin Italic Sans", "Helvetica Neue", Helvetica, Arial, "Han Heiti GB", sans-serif;
|
1856
|
+
}
|
1857
|
+
|
1858
|
+
article blockquote i:lang(ja),
|
1859
|
+
article blockquote var:lang(ja) {
|
1860
|
+
font-family: "Yakumono Sans", "Latin Italic Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
1861
|
+
}
|
1862
|
+
|
1863
|
+
article figure blockquote:lang(zh-Latn),
|
1864
|
+
article figure blockquote:lang(ja-Latn),
|
1865
|
+
article figure blockquote:not(:lang(zh)):not(:lang(ja)),
|
1866
|
+
article figure blockquote *:lang(zh-Latn),
|
1867
|
+
article figure blockquote *:lang(ja-Latn),
|
1868
|
+
article figure blockquote *:not(:lang(zh)):not(:lang(ja)),
|
1869
|
+
figure blockquote:lang(zh-Latn),
|
1870
|
+
figure blockquote:lang(ja-Latn),
|
1871
|
+
figure blockquote:not(:lang(zh)):not(:lang(ja)),
|
1872
|
+
figure blockquote *:lang(zh-Latn),
|
1873
|
+
figure blockquote *:lang(ja-Latn),
|
1874
|
+
figure blockquote *:not(:lang(zh)):not(:lang(ja)) {
|
1875
|
+
font-family: Georgia, "Times New Roman", "Han Songti", cursive, serif;
|
1876
|
+
}
|
1877
|
+
|
1878
|
+
article figure blockquote:lang(zh),
|
1879
|
+
article figure blockquote:lang(zh-Hant),
|
1880
|
+
figure blockquote:lang(zh),
|
1881
|
+
figure blockquote:lang(zh-Hant) {
|
1882
|
+
font-family: "Biaodian Pro Serif CNS", "Numeral LF Serif", Georgia, "Times New Roman", "Zhuyin Kaiti", "Han Songti", serif;
|
1883
|
+
}
|
1884
|
+
|
1885
|
+
article figure blockquote:lang(zh-Hans),
|
1886
|
+
article figure blockquote:lang(zh-CN),
|
1887
|
+
figure blockquote:lang(zh-Hans),
|
1888
|
+
figure blockquote:lang(zh-CN) {
|
1889
|
+
font-family: "Biaodian Pro Serif GB", "Numeral LF Serif", Georgia, "Times New Roman", "Han Songti GB", serif;
|
1890
|
+
}
|
1891
|
+
|
1892
|
+
article figure blockquote:lang(ja),
|
1893
|
+
figure blockquote:lang(ja) {
|
1894
|
+
font-family: "Yakumono Serif", "Numeral LF Serif", Georgia, "Times New Roman", serif;
|
1895
|
+
}
|
1896
|
+
|
1897
|
+
/**
|
1898
|
+
* Serif Italic
|
1899
|
+
*/
|
1900
|
+
article blockquote:lang(zh-Latn),
|
1901
|
+
article blockquote:lang(ja-Latn),
|
1902
|
+
article blockquote:not(:lang(zh)):not(:lang(ja)),
|
1903
|
+
article blockquote *:lang(zh-Latn),
|
1904
|
+
article blockquote *:lang(ja-Latn),
|
1905
|
+
article blockquote *:not(:lang(zh)):not(:lang(ja)) {
|
1906
|
+
font-family: Georgia, "Times New Roman", "Han Kaiti", cursive, serif;
|
1907
|
+
}
|
1908
|
+
|
1909
|
+
article blockquote:lang(zh),
|
1910
|
+
article blockquote:lang(zh-Hant) {
|
1911
|
+
font-family: "Biaodian Pro Serif CNS", "Numeral LF Serif", Georgia, "Times New Roman", "Zhuyin Kaiti", "Han Kaiti", cursive, serif;
|
1912
|
+
}
|
1913
|
+
|
1914
|
+
article blockquote:lang(zh-Hans),
|
1915
|
+
article blockquote:lang(zh-CN) {
|
1916
|
+
font-family: "Biaodian Pro Serif GB", "Numeral LF Serif", Georgia, "Times New Roman", "Han Kaiti GB", cursive, serif;
|
1917
|
+
}
|
1918
|
+
|
1919
|
+
article blockquote:lang(ja) {
|
1920
|
+
font-family: "Yakumono Serif", "Numeral LF Serif", Georgia, "Times New Roman", cursive, serif;
|
1921
|
+
}
|
1922
|
+
|
1923
|
+
/**
|
1924
|
+
* Cursive Italic
|
1925
|
+
*/
|
1926
|
+
i:lang(zh-Latn),
|
1927
|
+
i:lang(ja-Latn),
|
1928
|
+
i:not(:lang(zh)):not(:lang(ja)),
|
1929
|
+
i *:lang(zh-Latn),
|
1930
|
+
i *:lang(ja-Latn),
|
1931
|
+
i *:not(:lang(zh)):not(:lang(ja)),
|
1932
|
+
var:lang(zh-Latn),
|
1933
|
+
var:lang(ja-Latn),
|
1934
|
+
var:not(:lang(zh)):not(:lang(ja)),
|
1935
|
+
var *:lang(zh-Latn),
|
1936
|
+
var *:lang(ja-Latn),
|
1937
|
+
var *:not(:lang(zh)):not(:lang(ja)) {
|
1938
|
+
font-family: "Latin Italic Serif", Georgia, "Times New Roman", "Han Kaiti", cursive, serif;
|
1939
|
+
}
|
1940
|
+
|
1941
|
+
i:lang(zh),
|
1942
|
+
i:lang(zh-Hant),
|
1943
|
+
var:lang(zh),
|
1944
|
+
var:lang(zh-Hant) {
|
1945
|
+
font-family: "Biaodian Pro Serif CNS", "Numeral LF Italic Serif", "Latin Italic Serif", Georgia, "Times New Roman", "Zhuyin Kaiti", "Han Kaiti", cursive, serif;
|
1946
|
+
}
|
1947
|
+
|
1948
|
+
i:lang(zh-Hans),
|
1949
|
+
i:lang(zh-CN),
|
1950
|
+
var:lang(zh-Hans),
|
1951
|
+
var:lang(zh-CN) {
|
1952
|
+
font-family: "Biaodian Pro Serif GB", "Numeral LF Italic Serif", "Latin Italic Serif", Georgia, "Times New Roman", "Han Kaiti GB", cursive, serif;
|
1953
|
+
}
|
1954
|
+
|
1955
|
+
i:lang(ja),
|
1956
|
+
var:lang(ja) {
|
1957
|
+
font-family: "Yakumono Serif", "Numeral LF Italic Serif", "Latin Italic Serif", Georgia, "Times New Roman", cursive, serif;
|
1958
|
+
}
|
1959
|
+
|
1960
|
+
code:lang(zh-Latn),
|
1961
|
+
code:lang(ja-Latn),
|
1962
|
+
code:not(:lang(zh)):not(:lang(ja)),
|
1963
|
+
code *:lang(zh-Latn),
|
1964
|
+
code *:lang(ja-Latn),
|
1965
|
+
code *:not(:lang(zh)):not(:lang(ja)),
|
1966
|
+
kbd:lang(zh-Latn),
|
1967
|
+
kbd:lang(ja-Latn),
|
1968
|
+
kbd:not(:lang(zh)):not(:lang(ja)),
|
1969
|
+
kbd *:lang(zh-Latn),
|
1970
|
+
kbd *:lang(ja-Latn),
|
1971
|
+
kbd *:not(:lang(zh)):not(:lang(ja)),
|
1972
|
+
samp:lang(zh-Latn),
|
1973
|
+
samp:lang(ja-Latn),
|
1974
|
+
samp:not(:lang(zh)):not(:lang(ja)),
|
1975
|
+
samp *:lang(zh-Latn),
|
1976
|
+
samp *:lang(ja-Latn),
|
1977
|
+
samp *:not(:lang(zh)):not(:lang(ja)),
|
1978
|
+
pre:lang(zh-Latn),
|
1979
|
+
pre:lang(ja-Latn),
|
1980
|
+
pre:not(:lang(zh)):not(:lang(ja)),
|
1981
|
+
pre *:lang(zh-Latn),
|
1982
|
+
pre *:lang(ja-Latn),
|
1983
|
+
pre *:not(:lang(zh)):not(:lang(ja)) {
|
1984
|
+
font-family: Menlo, Consolas, Courier, "Han Heiti", monospace, monospace, sans-serif;
|
1985
|
+
}
|
1986
|
+
|
1987
|
+
code:lang(zh),
|
1988
|
+
code:lang(zh-Hant),
|
1989
|
+
kbd:lang(zh),
|
1990
|
+
kbd:lang(zh-Hant),
|
1991
|
+
samp:lang(zh),
|
1992
|
+
samp:lang(zh-Hant),
|
1993
|
+
pre:lang(zh),
|
1994
|
+
pre:lang(zh-Hant) {
|
1995
|
+
font-family: "Biaodian Pro Sans CNS", Menlo, Consolas, Courier, "Zhuyin Heiti", "Han Heiti", monospace, monospace, sans-serif;
|
1996
|
+
}
|
1997
|
+
|
1998
|
+
code:lang(zh-Hans),
|
1999
|
+
code:lang(zh-CN),
|
2000
|
+
kbd:lang(zh-Hans),
|
2001
|
+
kbd:lang(zh-CN),
|
2002
|
+
samp:lang(zh-Hans),
|
2003
|
+
samp:lang(zh-CN),
|
2004
|
+
pre:lang(zh-Hans),
|
2005
|
+
pre:lang(zh-CN) {
|
2006
|
+
font-family: "Biaodian Pro Sans GB", Menlo, Consolas, Courier, "Han Heiti GB", monospace, monospace, sans-serif;
|
2007
|
+
}
|
2008
|
+
|
2009
|
+
code:lang(ja),
|
2010
|
+
kbd:lang(ja),
|
2011
|
+
samp:lang(ja),
|
2012
|
+
pre:lang(ja) {
|
2013
|
+
font-family: "Yakumono Sans", Menlo, Consolas, Courier, monospace, monospace, sans-serif;
|
2014
|
+
}
|
2015
|
+
|
2016
|
+
html,
|
2017
|
+
ruby ru[zhuyin] zhuyin,
|
2018
|
+
ruby ru[zhuyin] zhuyin diao,
|
2019
|
+
hruby ru[zhuyin] zhuyin,
|
2020
|
+
hruby ru[zhuyin] zhuyin diao,
|
2021
|
+
ruby.romanization rt,
|
2022
|
+
ruby ru[annotation]:before,
|
2023
|
+
hruby.romanization rt,
|
2024
|
+
hruby ru[annotation]:before,
|
2025
|
+
.no-unicoderange char.biaodian.liga,
|
2026
|
+
.no-unicoderange char.biaodian[unicode="b7"] {
|
2027
|
+
-moz-font-feature-settings: "liga";
|
2028
|
+
-ms-font-feature-settings: "liga";
|
2029
|
+
-webkit-font-feature-settings: "liga";
|
2030
|
+
font-feature-settings: "liga";
|
2031
|
+
}
|
2032
|
+
|
2033
|
+
i,
|
2034
|
+
var {
|
2035
|
+
font-style: inherit;
|
2036
|
+
}
|
2037
|
+
|
2038
|
+
ruby ru[zhuyin] zhuyin diao,
|
2039
|
+
hruby ru[zhuyin] zhuyin diao {
|
2040
|
+
font-family: "Zhuyin Kaiti", cursive, serif;
|
2041
|
+
}
|
2042
|
+
ruby.romanization rt,
|
2043
|
+
ruby ru[annotation]:before,
|
2044
|
+
hruby.romanization rt,
|
2045
|
+
hruby ru[annotation]:before {
|
2046
|
+
font-family: "Romanization Sans", "Helvetica Neue", Helvetica, Arial, "Han Heiti", sans-serif;
|
2047
|
+
}
|
2048
|
+
|
2049
|
+
/* Global
|
2050
|
+
@mixin ========================================================================= */
|
2051
|
+
.no-kaiti i,
|
2052
|
+
.no-kaiti var {
|
2053
|
+
padding-bottom: .05em;
|
2054
|
+
border-bottom: 3px double lightgrey;
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
/* Section-wise arrangement
|
2058
|
+
@mixin ========================================================================= */
|
2059
|
+
/**
|
2060
|
+
* Well-knit sections for articles
|
2061
|
+
*/
|
2062
|
+
article {
|
2063
|
+
line-height: 1.7;
|
2064
|
+
}
|
2065
|
+
article p,
|
2066
|
+
article li {
|
2067
|
+
text-align: justify;
|
2068
|
+
text-justify: inter-ideograph;
|
2069
|
+
}
|
2070
|
+
article h1 + blockquote,
|
2071
|
+
article h1 + p,
|
2072
|
+
article h1 + ol,
|
2073
|
+
article h1 + ul,
|
2074
|
+
article h1 + h6,
|
2075
|
+
article h1 + section > h6:first-child,
|
2076
|
+
article h1 + section > p:first-child,
|
2077
|
+
article h1 + section > ol:first-child,
|
2078
|
+
article h1 + section > ul:first-child,
|
2079
|
+
article h1 + section > blockquote:first-child,
|
2080
|
+
article h2 + blockquote,
|
2081
|
+
article h2 + p,
|
2082
|
+
article h2 + ol,
|
2083
|
+
article h2 + ul,
|
2084
|
+
article h2 + h6,
|
2085
|
+
article h2 + section > h6:first-child,
|
2086
|
+
article h2 + section > p:first-child,
|
2087
|
+
article h2 + section > ol:first-child,
|
2088
|
+
article h2 + section > ul:first-child,
|
2089
|
+
article h2 + section > blockquote:first-child,
|
2090
|
+
article h3 + blockquote,
|
2091
|
+
article h3 + p,
|
2092
|
+
article h3 + ol,
|
2093
|
+
article h3 + ul,
|
2094
|
+
article h3 + h6,
|
2095
|
+
article h3 + section > h6:first-child,
|
2096
|
+
article h3 + section > p:first-child,
|
2097
|
+
article h3 + section > ol:first-child,
|
2098
|
+
article h3 + section > ul:first-child,
|
2099
|
+
article h3 + section > blockquote:first-child,
|
2100
|
+
article h4 + blockquote,
|
2101
|
+
article h4 + p,
|
2102
|
+
article h4 + ol,
|
2103
|
+
article h4 + ul,
|
2104
|
+
article h4 + h6,
|
2105
|
+
article h4 + section > h6:first-child,
|
2106
|
+
article h4 + section > p:first-child,
|
2107
|
+
article h4 + section > ol:first-child,
|
2108
|
+
article h4 + section > ul:first-child,
|
2109
|
+
article h4 + section > blockquote:first-child,
|
2110
|
+
article h5 + blockquote,
|
2111
|
+
article h5 + p,
|
2112
|
+
article h5 + ol,
|
2113
|
+
article h5 + ul,
|
2114
|
+
article h5 + h6,
|
2115
|
+
article h5 + section > h6:first-child,
|
2116
|
+
article h5 + section > p:first-child,
|
2117
|
+
article h5 + section > ol:first-child,
|
2118
|
+
article h5 + section > ul:first-child,
|
2119
|
+
article h5 + section > blockquote:first-child,
|
2120
|
+
article h6 + blockquote,
|
2121
|
+
article h6 + p,
|
2122
|
+
article h6 + ol,
|
2123
|
+
article h6 + ul,
|
2124
|
+
article h6 + h6,
|
2125
|
+
article h6 + section > h6:first-child,
|
2126
|
+
article h6 + section > p:first-child,
|
2127
|
+
article h6 + section > ol:first-child,
|
2128
|
+
article h6 + section > ul:first-child,
|
2129
|
+
article h6 + section > blockquote:first-child,
|
2130
|
+
article h1 + h5,
|
2131
|
+
article h1 + section > h5:first-child,
|
2132
|
+
article h2 + h5,
|
2133
|
+
article h2 + section > h5:first-child,
|
2134
|
+
article h3 + h5,
|
2135
|
+
article h3 + section > h5:first-child,
|
2136
|
+
article h4 + h5,
|
2137
|
+
article h4 + section > h5:first-child,
|
2138
|
+
article h5 + h5,
|
2139
|
+
article h5 + section > h5:first-child,
|
2140
|
+
article h1 + h4,
|
2141
|
+
article h1 + section > h4:first-child,
|
2142
|
+
article h2 + h4,
|
2143
|
+
article h2 + section > h4:first-child,
|
2144
|
+
article h3 + h4,
|
2145
|
+
article h3 + section > h4:first-child,
|
2146
|
+
article h4 + h4,
|
2147
|
+
article h4 + section > h4:first-child,
|
2148
|
+
article h1 + h3,
|
2149
|
+
article h1 + section > h3:first-child,
|
2150
|
+
article h2 + h3,
|
2151
|
+
article h2 + section > h3:first-child,
|
2152
|
+
article h3 + h3,
|
2153
|
+
article h3 + section > h3:first-child,
|
2154
|
+
article h1 + h2,
|
2155
|
+
article h1 + section > h2:first-child,
|
2156
|
+
article h2 + h2,
|
2157
|
+
article h2 + section > h2:first-child {
|
2158
|
+
margin-top: -1em;
|
2159
|
+
}
|
2160
|
+
|
2161
|
+
p.poem-like,
|
2162
|
+
.poem-like p {
|
2163
|
+
margin-left: 2em;
|
2164
|
+
}
|
2165
|
+
@media only screen and (max-width: 480px) {
|
2166
|
+
p.poem-like,
|
2167
|
+
.poem-like p {
|
2168
|
+
margin-left: 1em;
|
2169
|
+
}
|
2170
|
+
}
|
2171
|
+
|
2172
|
+
article blockquote {
|
2173
|
+
margin-right: 0;
|
2174
|
+
}
|
2175
|
+
@media only screen and (max-width: 480px) {
|
2176
|
+
article blockquote {
|
2177
|
+
margin-left: 1em;
|
2178
|
+
}
|
2179
|
+
}
|
2180
|
+
figure blockquote {
|
2181
|
+
margin: 0;
|
2182
|
+
}
|
2183
|
+
blockquote blockquote {
|
2184
|
+
margin-left: 1em;
|
2185
|
+
margin-right: 1em;
|
2186
|
+
}
|
2187
|
+
article blockquote blockquote {
|
2188
|
+
margin-right: 0;
|
2189
|
+
}
|
2190
|
+
|
2191
|
+
@media only screen and (max-width: 480px) {
|
2192
|
+
blockquote,
|
2193
|
+
figure {
|
2194
|
+
margin-left: 1em;
|
2195
|
+
margin-right: 1em;
|
2196
|
+
}
|
2197
|
+
}
|
2198
|
+
|
2199
|
+
/**
|
2200
|
+
* Sectional counter for articles
|
2201
|
+
*/
|
2202
|
+
/* Line composition
|
2203
|
+
@mixin ========================================================================= */
|
2204
|
+
/**
|
2205
|
+
* Customised emphasis mark (着重號)
|
2206
|
+
*/
|
2207
|
+
/**
|
2208
|
+
* Basic Biaodian correction for Firefox
|
2209
|
+
*/
|
2210
|
+
.no-unicoderange char.biaodian.liga,
|
2211
|
+
.no-unicoderange char.biaodian[unicode="b7"] {
|
2212
|
+
font-family: "Biaodian Basic", "Han Heiti";
|
2213
|
+
}
|
2214
|
+
|
2215
|
+
/**
|
2216
|
+
* Hanzi and Western script mixed spacing (漢字西文混排間隙)
|
2217
|
+
*
|
2218
|
+
* More discussion at:
|
2219
|
+
* https://github.com/ethantw/Han/issues/40
|
2220
|
+
*/
|
2221
|
+
hws {
|
2222
|
+
display: inline;
|
2223
|
+
visibility: hidden;
|
2224
|
+
font-family: Arial, sans-serif !important;
|
2225
|
+
font-size: .89em;
|
2226
|
+
}
|
2227
|
+
code hws,
|
2228
|
+
kbd hws,
|
2229
|
+
samp hws,
|
2230
|
+
pre hws,
|
2231
|
+
ol > hws,
|
2232
|
+
ul > hws,
|
2233
|
+
table > hws,
|
2234
|
+
thead > hws,
|
2235
|
+
tbody > hws,
|
2236
|
+
tfoot > hws,
|
2237
|
+
tr > hws {
|
2238
|
+
display: none;
|
2239
|
+
}
|
2240
|
+
|
2241
|
+
/**
|
2242
|
+
* Consecutive CJK Biaodian positioning (CJK標點擠壓)
|
2243
|
+
*/
|
2244
|
+
char_group .open:not(:last-child),
|
2245
|
+
char_group .close:not(:last-child),
|
2246
|
+
char_group [unicode="3001"]:not(:last-child),
|
2247
|
+
char_group [unicode="3002"]:not(:last-child),
|
2248
|
+
char_group [unicode="ff0c"]:not(:last-child),
|
2249
|
+
char_group [unicode="ff08"]:not(:last-child) {
|
2250
|
+
letter-spacing: -.5em;
|
2251
|
+
}
|
2252
|
+
|
2253
|
+
char_group [unicode="b7"] + [unicode="300c"],
|
2254
|
+
char_group [unicode="b7"] + [unicode="300e"],
|
2255
|
+
char_group [unicode="30fb"] + [unicode="300c"],
|
2256
|
+
char_group [unicode="30fb"] + [unicode="300e"] {
|
2257
|
+
margin-left: -.5em;
|
2258
|
+
}
|
2259
|
+
|
2260
|
+
char_group .liga + [unicode="300c"],
|
2261
|
+
char_group .liga + [unicode="300e"] {
|
2262
|
+
margin-left: -.25em;
|
2263
|
+
}
|
2264
|
+
|
2265
|
+
/**
|
2266
|
+
* The ‘Display-As’ feature for presentational characters
|
2267
|
+
*/
|
2268
|
+
char[display-as] {
|
2269
|
+
position: relative;
|
2270
|
+
display: inline-block;
|
2271
|
+
}
|
2272
|
+
char[display-as] inner {
|
2273
|
+
color: transparent;
|
2274
|
+
}
|
2275
|
+
char[display-as]:after {
|
2276
|
+
position: absolute;
|
2277
|
+
left: 0;
|
2278
|
+
display: inline-block;
|
2279
|
+
content: attr(display-as);
|
2280
|
+
}
|
2281
|
+
char[display-as].comb-liga:after {
|
2282
|
+
font-family: "Romanization Sans", "Zhuyin Kaiti";
|
2283
|
+
}
|