Skip to content

Commit 90deb63

Browse files
committed
Quartz sync: May 18, 2025, 10:49 PM
1 parent 2a701c4 commit 90deb63

File tree

4 files changed

+532
-465
lines changed

4 files changed

+532
-465
lines changed

content/z-index/- Guideline.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,5 @@ You can also use inline footnotes. ^[This is an inline footnote.]
299299

300300
---
301301
# MathJax
302-
[![MathJax basic tutorial](https://svg.bookmark.style/api?url=https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference&mode=light&style=horizontal)](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)
303-
304-
[![mathJax support extensions list](https://svg.bookmark.style/api?url=https://docs.mathjax.org/en/latest/input/tex/extensions/index.html&mode=light&style=horizontal)](https://docs.mathjax.org/en/latest/input/tex/extensions/index.html)
302+
- [MathJax basic tutorial](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)
303+
- [mathJax support extensions list](https://docs.mathjax.org/en/latest/input/tex/extensions/index.html)

quartz/components/styles/toc.scss

Lines changed: 51 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,68 @@
11
@use "../../styles/variables.scss" as *;
22

33
.toc {
4-
display: flex;
5-
flex-direction: column;
6-
overflow-y: hidden;
7-
min-height: 1.4rem;
8-
flex: 0 0.5 auto;
9-
&:has(button.toc-header.collapsed) {
10-
flex: 0 1 1.4rem;
11-
}
4+
display: flex;
5+
flex-direction: column;
6+
overflow-y: hidden;
7+
min-height: 1.4rem;
8+
flex: 0 0.5 auto;
9+
10+
&:has(button.toc-header.collapsed) {
11+
flex: 0 1 1.4rem;
12+
}
1213
}
1314

1415
button.toc-header {
15-
background-color: transparent;
16-
border: none;
17-
text-align: left;
18-
cursor: pointer;
19-
padding: 0;
20-
color: var(--dark);
21-
display: flex;
22-
align-items: center;
16+
background-color: transparent;
17+
border: none;
18+
text-align: left;
19+
cursor: pointer;
20+
padding: 0;
21+
color: var(--dark);
22+
display: flex;
23+
align-items: center;
2324

24-
& h3 {
25-
font-size: 1rem;
26-
display: inline-block;
27-
margin: 0;
28-
}
25+
& h3 {
26+
font-size: 1rem;
27+
display: inline-block;
28+
margin: 0;
29+
}
2930

30-
& .fold {
31-
margin-left: 0.5rem;
32-
transition: transform 0.3s ease;
33-
opacity: 0.8;
34-
}
31+
& .fold {
32+
margin-left: 0.5rem;
33+
transition: transform 0.3s ease;
34+
opacity: 0.8;
35+
}
3536

36-
&.collapsed .fold {
37-
transform: rotateZ(-90deg);
38-
}
37+
&.collapsed .fold {
38+
transform: rotateZ(-90deg);
39+
}
3940
}
4041

4142
ul.toc-content.overflow {
42-
list-style: none;
43-
position: relative;
44-
margin: 0.5rem 0;
45-
padding: 0;
46-
max-height: calc(100% - 2rem);
47-
overscroll-behavior: contain;
48-
list-style: none;
43+
list-style: none;
44+
position: relative;
45+
margin: 0.5rem 0;
46+
padding: 0;
47+
max-height: calc(100% - 2rem);
48+
overscroll-behavior: contain;
49+
list-style: none;
4950

50-
& > li > a {
51-
color: var(--dark);
52-
opacity: 0.35;
53-
transition:
54-
0.5s ease opacity,
55-
0.3s ease color;
56-
&.in-view {
57-
opacity: 0.75;
51+
&>li>a {
52+
color: var(--dark);
53+
opacity: 0.25;
54+
transition:
55+
0.5s ease opacity,
56+
0.3s ease color;
57+
58+
&.in-view {
59+
opacity: 0.80;
60+
}
5861
}
59-
}
6062

61-
@for $i from 0 through 6 {
62-
& .depth-#{$i} {
63-
padding-left: calc(1rem * #{$i});
63+
@for $i from 0 through 6 {
64+
& .depth-#{$i} {
65+
padding-left: calc(1rem * #{$i});
66+
}
6467
}
65-
}
6668
}

0 commit comments

Comments
 (0)