theme-next / hexo-theme-next

Elegant and powerful theme for Hexo.
https://theme-next.org
Other
8.12k stars 2.05k forks source link

Gemini主題如何調整寬度? #1698

Closed lcaoi closed 2 years ago

lcaoi commented 2 years ago

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist


Expected behavior

temp4

在themes\next\source\css_schemes\Pisces_layout.styl 文末添加了以下內容

header{ width: 90% !important; }
header.post-header{
    width: auto !important;
}
.container .main-inner {width: 90%;}
.content-wrap { width: cakc(100% - 260px); }

.header{
    +tablet(){
        width: auto !important;     
    }
    +mobile(){
        width: auto !important;
    }
}

.container .main-inner{
    +tablet(){
        width: auto !important;
    }
    +mobile(){
        width: auto !important
    }
}

.container-wrap{
    +tablet(){
        width: 100% !important;
    }
    +mobile(){
        width: 100% !important;
    }
}

預期板塊出現在紅線標記位置, 但在local host的時候有錯位

Actual behavior

Steps to reproduce the behavior

  1. N/A
  2. N/A
  3. N/A

Environment Information

Node.js and NPM Information

v12.14.1
6.13.4

Package dependencies Information

+-- hexo@6.0.0
+-- hexo-abbrlink@2.2.1
+-- hexo-deployer-git@3.0.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-index@2.0.0
+-- hexo-generator-searchdb@1.4.0
+-- hexo-generator-tag@1.0.0
+-- hexo-renderer-ejs@2.0.0
+-- hexo-renderer-marked@5.0.0
+-- hexo-renderer-stylus@2.0.1
+-- hexo-server@3.0.0
+-- hexo-theme-landscape@0.0.3
+-- hexo-theme-next@8.10.1
`-- stylus@0.56.0

Hexo Configuration

NexT Configuration

Other Information

welcome[bot] commented 2 years ago

Thanks for opening this issue, maintainers will get back to you as soon as possible!