-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Body font is 12px when using the scheme Mist on mobile phone [solved] #245
Comments
Set font:
enable: false
# Uri of fonts host. E.g. //fonts.googleapis.com (Default).
host:
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
# `size: xx`. Use `px` as unit.
# Global font settings used for all elements in <body>.
global:
external: true
family: Lato
size:
# Font settings for Headlines (H1, H2, H3, H4, H5, H6).
# Fallback to `global` font settings.
headings:
external: true
family:
size:
# Font settings for posts.
# Fallback to `global` font settings.
posts:
external: true
family:
# Font settings for Logo.
# Fallback to `global` font settings.
logo:
external: true
family:
size:
# Font settings for <code> and code blocks.
codes:
external: true
family:
size: |
I just switched it from off to on and changed fonts CDN. This is my configuration. font:
enable: true
# Uri of fonts host. E.g. //fonts.googleapis.com (Default).
host: //fonts.loli.net
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
# `size: xx`. Use `px` as unit.
# Global font settings used for all elements in <body>.
global:
external: true
family: Lato
size:
# Font settings for Headlines (H1, H2, H3, H4, H5, H6).
# Fallback to `global` font settings.
headings:
external: true
family:
size:
# Font settings for posts.
# Fallback to `global` font settings.
posts:
external: true
family:
# Font settings for Logo.
# Fallback to `global` font settings.
logo:
external: true
family:
size:
# Font settings for <code> and code blocks.
codes:
external: true
family:
size: |
You can set |
It does not work for me. I set the global font size to 14px, but it still show 12px. |
So? Where is u configuration? In config abouve font sizes are not setted. |
Add the following code to
|
@ivan-nginx Thanks for the reply. font:
enable: true
# Uri of fonts host. E.g. //fonts.googleapis.com (Default).
host: //fonts.loli.net
# Font options:
# `external: true` will load this font family from `host` above.
# `family: Times New Roman`. Without any quotes.
# `size: xx`. Use `px` as unit.
# Global font settings used for all elements in <body>.
global:
external: true
family: Lato
size: 14px
# Font settings for Headlines (H1, H2, H3, H4, H5, H6).
# Fallback to `global` font settings.
headings:
external: true
family:
size:
# Font settings for posts.
# Fallback to `global` font settings.
posts:
external: true
family:
# Font settings for Logo.
# Fallback to `global` font settings.
logo:
external: true
family:
size:
# Font settings for <code> and code blocks.
codes:
external: true
family:
size: This problem will only appear in scheme Mist. Other schemes do not have this problem. |
You can set # Font settings for <code> and code blocks.
codes:
external: true
family:
size: 14px |
The font size of the code is already 14px. global:
external: true
family: Lato
size: 14px
codes:
external: true
family:
size: 14px |
@reuixiy Thanks. It works fine and I'm going to use this as a temporary solution if I use Mist scheme again. |
Fixed in #262. |
I agree and want to create new issue
Expected behavior
Keep the same font size
Actual behavior
The text is 12px font, but the code is 14px font
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
This problem only applies to scheme Mist, and there are no problems with the other schemes.
The text was updated successfully, but these errors were encountered: