iTimeTraveler / hexo-theme-hipaper

A fashional newspaper theme for Hexo.
https://itimetraveler.github.io/hexo-theme-hipaper/
MIT License
249 stars 77 forks source link

hexo杂志博客的图标在手机上能否自适应显示的问题?(详细说明请看内容) #45

Open KangChou opened 4 years ago

KangChou commented 4 years ago

导致如下问题的原因是电脑端图片分辨率过大,但是我希望在手机也能自适应大小去显示,也就是适合手机的大小。

详细的问题描述: 问题描述:电脑上显示主页面高宽度正常,但是手机上的显示太大,图片的大小分辨率是1000*600的,我想让他在手机上也能正常显示页面大小(也就是自适应),请问我该如何操作?下面是提供的代码和参考系数:

# Put your avatar.jpg into `hexo-site/themes/hiero/source/` directory.

# url is target link (E.g. `url: https://hexo.io/logo.svg` or `url: css/images/mylogo.jpg`)

avatar:

enable: true

width: 980

height: 500

bottom: 10

url: css/images/blog.jpg

image image

博客链接: http://kangchou001.cn/

重复问题链接(可看可不看):

https://www.zhihu.com/question/386151907/answer/1137795784