Skip to content

Commit 3f1918e

Browse files
committed
Quartz sync: May 20, 2025, 4:56 PM
1 parent 50a86e9 commit 3f1918e

File tree

2 files changed

+54
-19
lines changed

2 files changed

+54
-19
lines changed

quartz/components/styles/listPage.scss

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,35 @@ li.section-li {
1111

1212
&>.section {
1313
display: grid;
14-
grid-template-columns: 1fr fit-content(8rem);
14+
grid-template-columns: fit-content(8em) 1fr;
1515

16-
&>.desc {
17-
background-color: transparent;
16+
&>.tags {
17+
display: flex;
18+
padding: 0;
19+
margin-top: 0.2em;
20+
margin-bottom: 0.6em;
21+
justify-content: start;
22+
}
1823

19-
h3>a {
20-
background-color: transparent;
21-
word-break: keep-all;
22-
}
2324

25+
&>.desc>h3>a {
26+
background-color: transparent;
2427
}
2528

26-
&>.meta {
29+
& .meta {
2730
margin: 0 1em 0 0;
2831
opacity: 0.6;
2932
}
3033

31-
&>.tags {
32-
display: flex;
33-
padding: 0;
34-
margin-top: 0.2em;
35-
margin-bottom: 0.6em;
36-
justify-content: start;
37-
}
3834

3935
}
4036
}
4137

4238
// modifications in popover context
4339
.popover .section {
44-
// grid-template-columns: fit-content(8em) 1fr !important;
40+
grid-template-columns: fit-content(8em) 1fr !important;
4541

46-
// &>.tags {
47-
// display: none;
48-
// }
42+
&>.tags {
43+
display: none;
44+
}
4945
}

quartz/styles/custom.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,42 @@ footer {
174174
.popover .page-listing .desc a[href$="/"]::before {
175175
content: "📁 - ";
176176
}
177+
178+
.popover .section {
179+
grid-template-columns: fit-content(8em) 1fr;
180+
}
181+
182+
.page-listing {
183+
li.section-li {
184+
margin-bottom: 1em;
185+
186+
&>.section {
187+
display: grid;
188+
grid-template-columns: 1fr fit-content(8rem);
189+
190+
&>.desc {
191+
background-color: transparent;
192+
193+
h3>a {
194+
background-color: transparent;
195+
word-break: keep-all;
196+
}
197+
}
198+
199+
&>.meta {
200+
margin: 0 1em 0 0;
201+
opacity: 0.6;
202+
}
203+
204+
&>.tags {
205+
display: flex;
206+
padding: 0;
207+
margin-top: 0.2em;
208+
margin-bottom: 0.6em;
209+
justify-content: start;
210+
}
211+
212+
}
213+
}
214+
215+
}

0 commit comments

Comments
 (0)