~canonical-sysadmins/wordpress/5.0.3

« back to all changes in this revision

Viewing changes to wp-content/themes/twentynineteen/style-editor-customizer.css

  • Committer: Barry Price
  • Date: 2018-12-12 05:08:33 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: barry.price@canonical.com-20181212050833-y090hmrbmlxy37aa
Merge WP5.0 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*!
 
2
Twenty Nineteen Customizer Styles & Non-latin Font Fallbacks
 
3
 
 
4
NOTE: This file is automatically populated with additional styles if the user selects a custom primary color in the customzier.
 
5
*/
 
6
/** === Includes === */
 
7
/* If we add the border using a regular CSS border, it won't look good on non-retina devices,
 
8
 * since its edges can look jagged due to lack of antialiasing. In this case, we are several
 
9
 * layers of box-shadow to add the border visually, which will render the border smoother. */
 
10
/* Fallback for non-latin fonts */
 
11
/* Calculates maximum width for post content */
 
12
/* Nested sub-menu padding: 10 levels deep */
 
13
/** === Non-Latin font fallbacks === */
 
14
/* Arabic */
 
15
html[lang="ar"] .wp-block *,
 
16
html[lang="ary"] .wp-block *,
 
17
html[lang="azb"] .wp-block *,
 
18
html[lang="ckb"] .wp-block *,
 
19
html[lang="fa-IR"] .wp-block *,
 
20
html[lang="haz"] .wp-block *,
 
21
html[lang="ps"] .wp-block * {
 
22
  font-family: Tahoma, Arial, sans-serif !important;
 
23
}
 
24
 
 
25
/* Cyrillic */
 
26
html[lang="be"] .wp-block *,
 
27
html[lang="bg-BG"] .wp-block *,
 
28
html[lang="kk"] .wp-block *,
 
29
html[lang="mk-MK"] .wp-block *,
 
30
html[lang="mn"] .wp-block *,
 
31
html[lang="ru-RU"] .wp-block *,
 
32
html[lang="sah"] .wp-block *,
 
33
html[lang="sr-RS"] .wp-block *,
 
34
html[lang="tt-RU"] .wp-block *,
 
35
html[lang="uk"] .wp-block * {
 
36
  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif !important;
 
37
}
 
38
 
 
39
/* Chinese (Hong Kong) */
 
40
html[lang="zh-HK"] .wp-block * {
 
41
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
 
42
}
 
43
 
 
44
/* Chinese (Taiwan) */
 
45
html[lang="zh-TW"] .wp-block * {
 
46
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
 
47
}
 
48
 
 
49
/* Chinese (China) */
 
50
html[lang="zh-CN"] .wp-block * {
 
51
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
 
52
}
 
53
 
 
54
/* Devanagari */
 
55
html[lang="bn-BD"] .wp-block *,
 
56
html[lang="hi-IN"] .wp-block *,
 
57
html[lang="mr"] .wp-block *,
 
58
html[lang="ne-NP"] .wp-block * {
 
59
  font-family: Arial, sans-serif !important;
 
60
}
 
61
 
 
62
/* Greek */
 
63
html[lang="el"] .wp-block * {
 
64
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
 
65
}
 
66
 
 
67
/* Gujarati */
 
68
html[lang="gu"] .wp-block * {
 
69
  font-family: Arial, sans-serif !important;
 
70
}
 
71
 
 
72
/* Hebrew */
 
73
html[lang="he-IL"] .wp-block * {
 
74
  font-family: 'Arial Hebrew', Arial, sans-serif !important;
 
75
}
 
76
 
 
77
/* Japanese */
 
78
html[lang="ja"] .wp-block * {
 
79
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif !important;
 
80
}
 
81
 
 
82
/* Korean */
 
83
html[lang="ko-KR"] .wp-block * {
 
84
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', Dotum, sans-serif !important;
 
85
}
 
86
 
 
87
/* Thai */
 
88
html[lang="th"] .wp-block * {
 
89
  font-family: 'Sukhumvit Set', 'Helvetica Neue', helvetica, arial, sans-serif !important;
 
90
}
 
91
 
 
92
/* Vietnamese */
 
93
html[lang="vi"] .wp-block * {
 
94
  font-family: 'Libre Franklin', sans-serif !important;
 
95
}