Comments (7)
Possible layout 1
.page {
margin-left: 10%;
margin-right: auto;
max-width: initial;
width: 70%;
}
from doit.
Possible layout 2
.page {
margin-left: 324px;
margin-right: auto;
max-width: initial;
width: 70%;
}
.toc-auto {
right: 1168px;
max-width: 328px;
visibility: visible;
position: fixed;
top: 76px;
}
from doit.
Possible layout 3
Use a button to turn TOC on and off. The CSS needs to be further optimized.
from doit.
I think change max-width: 800px;
to max-width: initial;
can be the first harmless step.
from doit.
Wow, that's what I'm looking for, I like LoveIt theme, but it seems that the author has abandoned it.
I always thinks that the width is too small, so the reading experience is not good.
BTW, I prefer layouts 1 :)
from doit.
Layout 1 has been implemented. This issue will be closed by #35 , if there are future needs for other possible layouts, it's more than welcome to reopen this issue.
from doit.
Possible layout 4
Add a button to switch toc between auto-toc
and static-toc
. Should be quite easy to implement.
from doit.
Related Issues (20)
- Refactor assets management
- [Experimental] Use Speculation Rules API to replace instant.page
- [Experimental] View Transition Support HOT 1
- [BUG] The image refactor cause --disableFastRender not working HOT 13
- Q: Customize dark theme CSS HOT 2
- [BUG] Header logo is cut on the sides HOT 6
- [FEATURE] Skill and experience timeline widget add HOT 2
- [BUG] Regular Markdown images are incorrectly recognized as figures HOT 8
- [BUG] 文件名、目录名或卷标语法不正确。 HOT 4
- [BUG] img height error HOT 1
- [FEATURE] Shortcode for github code HOT 4
- [BUG] Tags with '#' are not displayed correctly HOT 4
- Refactor tags / categories / series rendering HOT 1
- [BUG] deploy with githubAction failed
- [BUG] Series中包含空格,post-meta里面会无法渲染出文字 HOT 2
- [BUG] ToC没有生成目录的原因请教
- [FEATURE] Support Server Side Maths Render
- [FEATURE] Support Blockquotes Render Hooks
- algolia 国内的站搜索有问题,但是 github.io 的站是好的。请问是还需要配置什么吗 HOT 1
- 如何让某个单独的页面 page.header.number **不开启**标题自动编号? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doit.