Skip to content

请问如何调整页面宽度和引入外部字体文件呢? #80

Locked Answered by Lruihao
Xm798 asked this question in Q&A
Discussion options

You must be logged in to vote

自定义 css 建议在博客目录 assets\css\ 下建立 _custom.scss

  1. 由于 #62 有使用者说希望提供宽屏选项,考虑到设备的屏幕分辨率越来越大,这个 issue 确实有处理的必要,所以调整后提供了两个选项
    # Page style ("normal", "wide", ...)
    pageStyle = "normal"
    
    normal 比 LoveIt 原宽度更大了一点,wide 则是更宽。
    要修改成原来的窄布局的话,可以参照 wide 模式的实现,在 _custom.scss 里面自定义,然后修改 config 里的 pageStyle 值
  2. 自定义字体也属于 css 的范畴,你可以参考以下我的博客

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Xm798
Comment options

@Lruihao
Comment options

@Xm798
Comment options

Answer selected by Xm798
Comment options

You must be logged in to vote
1 reply
@Xm798
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Q&A question and answer
2 participants