feat(build): add style-list-arrow className.

This commit is contained in:
jaywcjlove 2022-10-14 16:30:07 +08:00
parent ce71a63350
commit 9e3b2b913f
2 changed files with 26 additions and 2 deletions

View File

@ -578,6 +578,17 @@ H2 部分
`<!--rehype:className=style-list-->`
### 列表箭头样式展示表格
:- | :-
:- | :-
`visualEffectState.inactive` | 后台应一直显示为非激活状态。
`titleBarStyle` _string_ _(win/mac)_ | 窗口标题栏样式。默认值 _(default)_
`titleBarStyle.default` | 分别返回 _mac_ 或者 _win_ 的标准标题栏
<!--rehype:className=style-list-arrow-->
`<!--rehype:className=style-list-arrow-->`
列表
---

View File

@ -208,14 +208,26 @@ table.show-header thead {
display: table-header-group;
}
table.style-list td + td {
table.style-list td + td, table.style-list-arrow td + td {
padding-top: 0 !important;
}
table.style-list td {
table.style-list td, table.style-list-arrow td {
display: block;
text-align: left !important;
}
table.style-list-arrow td:first-child::before {
content: '';
display: inline-block;
width: 0px;
height: 0px;
border-right: 8px solid transparent;
border-top: 5px solid transparent;
border-left: 8px solid #228e6c;
border-bottom: 5px solid transparent;
}
tt, code {
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
font-size: 1em;
@ -649,6 +661,7 @@ body:not(.home) .h3wrap > h3:hover a::after {
width: 0.5rem;
border-color: #228e6c;
background: transparent;
border-style: solid;
top: 14px;
}