Skip to content

Instantly share code, notes, and snippets.

@KingOfSpades
Created April 21, 2021 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KingOfSpades/a7e38c6ebe8c291a559fbdc1418ef053 to your computer and use it in GitHub Desktop.
Save KingOfSpades/a7e38c6ebe8c291a559fbdc1418ef053 to your computer and use it in GitHub Desktop.
customTags.css for customizing Tag's in Obsidian
.tag[href="#Evergreen/Seedling"] {
font-size: 0;
padding: 0;
}
.tag[href="#Evergreen/Seedling"]:after {
font-size: 8pt;
font-weight: 700;
background-color: rgb(165, 29, 42);
color: rgb(232, 230, 227);
padding: 3px 3px;
border-radius: 3px;
letter-spacing: -0.00ch;
content: "🌱 SEEDLING";
}
.tag[href="#Evergreen/Sapling"] {
font-size: 0;
padding: 0;
}
.tag[href="#Evergreen/Sapling"]:after {
font-size: 8pt;
font-weight: 700;
background-color: rgb(200, 150, 0);
color: rgb(232, 230, 227);
padding: 3px 3px;
border-radius: 3px;
content: "🪵 SAPLING";
}
.tag[href="#Evergreen/Evergreen"] {
font-size: 0;
padding: 0;
}
.tag[href="#Evergreen/Evergreen"]:after {
font-size: 8pt;
font-weight: 700;
background-color: rgb(32, 134, 55);
color: rgb(232, 230, 227);
padding: 3px 3px;
border-radius: 3px;
content: "🌲 EVERGREEN";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment