-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathemoji-icons.css
41 lines (34 loc) · 1.3 KB
/
emoji-icons.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
40
41
/* Emoji icons for folders via obadiahcruz
See also this version by Klaas: https://forum.obsidian.md/t/how-to-achieve-css-code-snippets/8474/72?u=klaas */
/*.nav-file-title-content::before { content: '🗒 '; }
.nav-folder-title-content::before { content: '📂 '; }*/
/* Flat font /
/ Requires: https://icomoon.io/#icons-icomoon/liga-font */
.nav-folder-children .nav-file-title-content:first-child::before {
content: "\e924 ";
font-family: "IcoMoon-Free";
}
.nav-folder-children .nav-folder-title-content::before {
content: "\e930 ";
font-family: "IcoMoon-Free";
}
/* another option, via @Chetachi in Discord: https://discord.com/channels/686053708261228577/702656734631821413/831347897794560001
.nav-folder.is-collapsed .nav-folder-title .nav-folder-title-content::before {
content: "";
background-image: url("https://api.iconify.design/mdi:folder-outline.svg?color=%237f8fad&height=22");
background-repeat: no-repeat;
display: inline-block;
width: 30px;
height: 18px;
vertical-align: -.15em;
}
.nav-folder .nav-folder-title .nav-folder-title-content::before {
content: "";
background-image: url("https://api.iconify.design/mdi:folder-open-outline.svg?color=%237f8fad&height=22");
background-repeat: no-repeat;
display: inline-block;
width: 30px;
height: 18px;
vertical-align: -.15em;
}
*/