-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogseq-custom.css
More file actions
29 lines (23 loc) · 882 Bytes
/
Copy pathlogseq-custom.css
File metadata and controls
29 lines (23 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Transform [[Page]] rendering into tag-style pill for your DOM */
/* 1) hide the explicit bracket spans */
.page-reference > .bracket {
display: none !important;
}
/* 2) style the link inside .page-reference like a tag */
.page-reference a.page-ref {
background: var(--bf-tag-background-color);
color: var(--ls-tag-text-color);
padding: 0.12em 0.5em;
opacity: var(--ls-tag-text-opacity, .7);
border-radius: 999px;
font-weight: 600;
line-height: 1;
text-decoration: none;
box-shadow: none;
display: inline-block;
}
.page-reference { display: inline-flex; align-items: center; gap: 0; }
/* 3) make rendered pill match existing .tag spacing */
.page-reference a.page-ref + .bracket { display: none; } /* extra safety */
/* 4) ensure the inline wrapper doesn't add extra layout gap */
.page-reference { display: inline-flex; align-items: center; gap: 0; }