style-editor-customizer.css 3.0 KB

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