Comments (4)
感谢提议,关于标题层级区分的设计我暂时还没有想出合适的方案,后续想出方案后更新,目前只是通过字号区分层级。有没有插件能满足这个需求呢,或者用侧栏大纲辅助?
from asri.
感谢回复,集市中存在的插件需要刷新页面才能渲染标题序号,操作流程比较繁琐,我目前使用的是侧栏大纲。期待作者大大早日更新。
关于方案我有一点个人想法,Asri最吸引我的点在于保证外观简洁大方的同时又富有功能性,比如顶栏融合和块间距的调整,因此我觉得采用类savor的图标方式可以兼顾美观和功能,保证Asri风格一致。
from asri.
好的,会纳入更新计划
from asri.
你好,相关代码已经写好了,但暂时不会全面上线,如果想提前体验的话可以将以下代码粘贴到你的css代码片段中:
.h1:before,
h1:before {
content: "#1";
}
.h2:before,
h2:before {
content: "#2";
}
.h3:before,
h3:before {
content: "#3";
}
.h4:before,
h4:before {
content: "#4";
}
.h5:before,
h5:before {
content: "#5";
}
.h6:before,
h6:before {
content: "#6";
}
.h1::before, .h2::before, .h3::before, .h4::before, .h5::before, .h6::before,
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
display: block;
overflow: visible;
font-weight: 900;
font-size: 2.4em;
position: absolute;
top: -0.36em;
right: 8px;
color: inherit;
opacity: 0.15;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
}
h1, h2, h3, h4, h5, h6 {
position: relative;
}
from asri.
Related Issues (20)
- Fixed Height in Breadcrumb Makes Flashcards Hints Incomplete HOT 2
- 3.0.12 dev3文档标签位置偏移 HOT 2
- iPadOS端思源在设置-集市-图标页面下出现侧边栏重叠 HOT 1
- Minor Conflict with Map Display from Custom-Block HOT 5
- 夜间模式下集市是两栏 HOT 5
- 手机端部分笔记出现横向滚动条 HOT 1
- 为超链接设置样式“删除线”无效 HOT 1
- 顶栏颜色css修改 HOT 8
- 移动端闪卡复习界面按钮间距过大 HOT 1
- 希望表格支持横向滚动条 HOT 3
- 移动端数据库全宽显示 HOT 6
- Sidebar dock panel does not have minimum height HOT 3
- 大纲面板标题等级标记未居中 HOT 21
- 如何在asri模式中给自己常用的一些网站加上favicon? HOT 2
- 展开侧边栏后挤占标签页空间 HOT 3
- knote插件影响/菜单展示界面 HOT 2
- 标题为空的时候大纲标识位置偏移 HOT 1
- 面包屑无法识别拖动块上移页面 HOT 11
- 手机端状态栏颜色首次进入无法应用背景色css HOT 7
- 引述字体颜色变谈可以用css取消吗? HOT 3
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 asri.