Skip to content

Commit 1542e1a

Browse files
committed
Quartz sync: May 19, 2025, 1:18 PM
1 parent a9acd83 commit 1542e1a

File tree

5 files changed

+190
-180
lines changed

5 files changed

+190
-180
lines changed
Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,51 @@
11
.darkmode {
2-
cursor: pointer;
3-
padding: 0;
4-
position: relative;
5-
background: none;
6-
border: none;
7-
width: 20px;
8-
height: 20px;
9-
margin: 0;
10-
text-align: inherit;
11-
flex-shrink: 0;
12-
13-
& svg {
14-
position: absolute;
2+
cursor: pointer;
3+
padding: 0;
4+
position: relative;
5+
background: none;
6+
border: none;
157
width: 20px;
168
height: 20px;
17-
top: calc(50% - 10px);
18-
fill: var(--darkgray);
19-
transition: opacity 0.1s ease;
20-
}
9+
text-align: inherit;
10+
flex-shrink: 0;
11+
display: flex;
12+
13+
& svg {
14+
position: absolute;
15+
width: 20px;
16+
height: 20px;
17+
top: 50%;
18+
left: 50%;
19+
transform: translate(-50%, -50%);
20+
fill: var(--darkgray);
21+
transition: opacity 0.1s ease;
22+
}
2123
}
2224

2325
:root[saved-theme="dark"] {
24-
color-scheme: dark;
26+
color-scheme: dark;
2527
}
2628

2729
:root[saved-theme="light"] {
28-
color-scheme: light;
30+
color-scheme: light;
2931
}
3032

3133
:root[saved-theme="dark"] .darkmode {
32-
& > .dayIcon {
33-
display: none;
34-
}
35-
& > .nightIcon {
36-
display: inline;
37-
}
34+
&>.dayIcon {
35+
display: none;
36+
}
37+
38+
&>.nightIcon {
39+
display: inline;
40+
}
3841
}
3942

4043
:root .darkmode {
41-
& > .dayIcon {
42-
display: inline;
43-
}
44-
& > .nightIcon {
45-
display: none;
46-
}
44+
&>.dayIcon {
45+
display: inline;
46+
}
47+
48+
&>.nightIcon {
49+
display: none;
50+
}
4751
}
Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
.readermode {
2-
cursor: pointer;
3-
padding: 0;
4-
position: relative;
5-
background: none;
6-
border: none;
7-
width: 20px;
8-
height: 20px;
9-
margin: 0;
10-
text-align: inherit;
11-
flex-shrink: 0;
12-
13-
& svg {
14-
position: absolute;
2+
cursor: pointer;
3+
padding: 0;
4+
position: relative;
5+
background: none;
6+
border: none;
157
width: 20px;
168
height: 20px;
17-
top: calc(50% - 10px);
18-
fill: var(--darkgray);
19-
stroke: var(--darkgray);
20-
transition: opacity 0.1s ease;
21-
}
9+
text-align: inherit;
10+
flex-shrink: 0;
11+
display: flex;
12+
13+
& svg {
14+
position: absolute;
15+
width: 20px;
16+
height: 20px;
17+
top: 50%;
18+
left: 50%;
19+
transform: translate(-50%, -50%);
20+
fill: var(--darkgray);
21+
stroke: var(--darkgray);
22+
transition: opacity 0.1s ease;
23+
}
2224
}
2325

2426
:root[reader-mode="on"] {
25-
& .sidebar.left,
26-
& .sidebar.right {
27-
opacity: 0;
28-
transition: opacity 0.2s ease;
2927

30-
&:hover {
31-
opacity: 1;
28+
& .sidebar.left,
29+
& .sidebar.right {
30+
opacity: 0;
31+
transition: opacity 0.2s ease;
32+
33+
&:hover {
34+
opacity: 1;
35+
}
3236
}
33-
}
3437
}

quartz/components/styles/search.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
.search-label {
3333
display: block;
3434

35-
@media (max-width: 600px) {
35+
@media (max-width: 450px) {
3636
display: none;
3737
}
3838
}

0 commit comments

Comments
 (0)