-
Notifications
You must be signed in to change notification settings - Fork 2k
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
About code font size. #687
Labels
Comments
Temporary solution: delete this line
|
@stevenjoezhang here seems miss
|
Emm... I'll open a PR to fix it... |
15 tasks
Great jobs! Appreciate for your quick response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I agree and want to create new issue
According to my understand, current NexT theme set the code font size(
$code-font-size
) to a fix value14px
, while the font of article body is set to changes according to the screen size(-4px, -2px, +2px, +4px), with base font($font-size-base
) also set to14px
.hexo-theme-next/source/css/_variables/base.styl
Lines 137 to 138 in dcf789d
hexo-theme-next/source/css/_variables/base.styl
Lines 87 to 92 in dcf789d
This means the font size of code could be same with, smaller or larger than the article body font in different case. I don't think this is appropriate, especially for the inline code.
It's very common to use inline code to highlight
keywords
, like in the office documentation. I think size of these keywords should be same with the article body.To sum up, I would like the font size of code always same with the article body, especially for inline code. How to config the NexT theme?
NexT Information
NexT Version:
NexT Scheme:
The text was updated successfully, but these errors were encountered: