Skip to content

Commit e5c0956

Browse files
authored
MOD: caution for Safari bug in font settings.
1. Add caution for Safari bug with margins in Pisces / Gemini (issue #1844). 2. Disable font loading by default. 3. Refactor some descriptions.
1 parent 1f85ef8 commit e5c0956

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

_config.yml

+14-19
Original file line numberDiff line numberDiff line change
@@ -254,56 +254,51 @@ highlight_theme: normal
254254
# - Be aware that setting too much fonts will cause site running slowly
255255
# - Introduce in 5.0.1
256256
# ---------------------------------------------------------------
257+
# CAUTION! Safari Version 10.1.2 bug: https://github.com/iissnan/hexo-theme-next/issues/1844
258+
# To avoid space between header and sidebar in Pisces / Gemini themes recommended to use Web Safe fonts for `global` (and `logo`):
259+
# Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS
260+
# ---------------------------------------------------------------
257261
font:
258-
enable: true
262+
enable: false
259263

260-
# Uri of fonts host. E.g. //fonts.googleapis.com (Default)
264+
# Uri of fonts host. E.g. //fonts.googleapis.com (Default).
261265
host:
262266

267+
# Font options:
268+
# `external: true` will load this font family from `host` above.
269+
# `family: Times New Roman`. Without any quotes.
270+
# `size: xx`. Use `px` as unit.
271+
263272
# Global font settings used on <body> element.
264273
global:
265-
# external: true will load this font family from host.
266274
external: true
267-
# family: the font family
268275
family: Lato
269-
# size: the font size. Use `px` as unit
270276
size:
271277

272-
# Font settings for Headlines (h1, h2, h3, h4, h5, h6)
278+
# Font settings for Headlines (h1, h2, h3, h4, h5, h6).
273279
# Fallback to `global` font settings.
274280
headings:
275-
# external: true will load this font family from host.
276281
external: true
277-
# family: the font family
278282
family:
279-
# size: the font size. Use `px` as unit
280283
size:
281284

282-
# Font settings for posts
285+
# Font settings for posts.
283286
# Fallback to `global` font settings.
284287
posts:
285-
# external: true will load this font family from host.
286288
external: true
287-
# family: the font family
288289
family:
289290

290-
# Font settings for Logo
291+
# Font settings for Logo.
291292
# Fallback to `global` font settings.
292293
logo:
293-
# external: true will load this font family from host.
294294
external: true
295-
# family: the font family
296295
family:
297-
# size: the font size. Use `px` as unit
298296
size:
299297

300298
# Font settings for <code> and code blocks.
301299
codes:
302-
# external: true will load this font family from host.
303300
external: true
304-
# family: the font family
305301
family:
306-
# size: the font size. Use `px` as unit
307302
size:
308303

309304

0 commit comments

Comments
 (0)