Skip to content

Commit 6013d12

Browse files
committed
feat: 缩小文章目录文字大小
1 parent d7825d0 commit 6013d12

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

quartz/components/styles/explorer.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ button#explorer {
3434
align-items: center;
3535

3636
& h2 {
37-
font-size: 1rem;
37+
font-size: 0.9rem;
3838
display: inline-block;
3939
margin: 0;
4040
}
@@ -99,6 +99,8 @@ button#explorer {
9999
text-overflow: ellipsis;
100100
white-space: nowrap;
101101
display: block;
102+
font-size: 0.85rem;
103+
line-height: 1.4rem;
102104
}
103105
}
104106
> #explorer-ul {
@@ -124,9 +126,9 @@ svg {
124126
& div > a {
125127
color: var(--secondary);
126128
font-family: var(--headerFont);
127-
font-size: 0.95rem;
129+
font-size: 0.85rem;
128130
font-weight: $semiBoldWeight;
129-
line-height: 1.5rem;
131+
line-height: 1.4rem;
130132
display: inline-block;
131133
overflow: hidden;
132134
text-overflow: ellipsis;
@@ -151,12 +153,12 @@ svg {
151153
font-family: var(--headerFont);
152154

153155
& span {
154-
font-size: 0.95rem;
156+
font-size: 0.85rem;
155157
display: inline-block;
156158
color: var(--secondary);
157159
font-weight: $semiBoldWeight;
158160
margin: 0;
159-
line-height: 1.5rem;
161+
line-height: 1.4rem;
160162
pointer-events: none;
161163
overflow: hidden;
162164
text-overflow: ellipsis;

0 commit comments

Comments
 (0)