Skip to content

Commit

Permalink
use labels and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
holyspiritomb committed Feb 12, 2025
1 parent ef467a2 commit ffb68b3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .vitepress/theme/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,21 @@
color: white;
}

p.new::after {
.inlinepill::after {
@extend .mdi-label;
margin-left: 0.5em;
}

.new::after {
content: "new";
background-color: var(--vp-custom-block-info-bg);
color: var(--vp-custom-block-info-text);
margin-left: 0.5em;
}

.construction::after {
content: "under construction";
background-color: var(--vp-custom-block-warning-bg);
color: var(--vp-custom-block-warning-text);
}

.group:has([role='button']) .VPSidebarItem.level-0 .items {
Expand Down
1 change: 1 addition & 0 deletions src/projects/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ prev:
next: false
---
# Projects
#[under construction](#ffff00)

Sometimes I do things.

Expand Down
4 changes: 2 additions & 2 deletions src/unsorted-fragments/fragments.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ next: false
<a href="logical-positivism-transmeds">logical positivism & transmedicalism</a>

## 2018
<a href="2018-book-club">The Neighbor</a>{.new}
<a href="2018-book-club">The Neighbor</a>{.new .inlinepill}

<a href="2018-sex-gender">Biology is socially constructed y'all</a>{.new}
<a href="2018-sex-gender">Biology is socially constructed y'all</a>{.new .inlinepill}

0 comments on commit ffb68b3

Please sign in to comment.