-
Notifications
You must be signed in to change notification settings - Fork 275
/
custom-icons-for-frontmatter-tags.css
39 lines (32 loc) · 1.14 KB
/
custom-icons-for-frontmatter-tags.css
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
30
31
32
33
34
35
36
37
38
39
/* ====== Custom icons for frontmatter tags ======== */
/* Add tag icon to the right of all frontmatter tags by default */
.frontmatter-section-tags .tag:not(.token)::after {
content: '🔖';
}
/* Remove the tag icon from specific tags */
.frontmatter-section-tags .tag[href^='#Article']::after,
.frontmatter-section-tags .tag[href^='#DailyNote']::after,
.frontmatter-section-tags .tag[href^='#Definition']::after,
.frontmatter-section-tags .tag[href^='#Note']::after,
.frontmatter-section-tags .tag[href^='#Person']::after,
.frontmatter-section-tags .tag[href^='#Sermon']::after,
.frontmatter-section-tags .tag[href^='#Task']::after {
content: '';
}
/* Add icon to the left of specific tags */
.frontmatter-section-tags .tag[href^='#Article']::before {
content: '📰';
}
.frontmatter-section-tags .tag[href^='#DailyNote']::before,
.frontmatter-section-tags .tag[href^='#Note']::before {
content: '📝';
}
.frontmatter-section-tags .tag[href^='#Definition']::before {
content: '📖';
}
.frontmatter-section-tags .tag[href^='#Person']::before {
content: '🧑';
}
.frontmatter-section-tags .tag[href^='#Sermon']::before {
content: '✝️';
}