From 468890206aa1067e3e0d7b9341002e72fbf5f049 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 10 Feb 2025 18:46:25 -0500 Subject: [PATCH] Change tip styling --- lib/DB.rakumod | 8 ++++---- resources/admonitions.css | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/DB.rakumod b/lib/DB.rakumod index 2757668..e30ae1d 100644 --- a/lib/DB.rakumod +++ b/lib/DB.rakumod @@ -159,10 +159,10 @@ class PostDB { mkdir $res-dir unless $res-dir.e; # symlink the resources directory to make "interactive" styling eaiser # TODO: Directories support - %?RESOURCES.IO.symlink: $res-dir.add('colors.css'); - %?RESOURCES.IO.symlink: $res-dir.add('main.css'); - %?RESOURCES.IO.symlink: $res-dir.add('code.css'); - %?RESOURCES.IO.symlink: $res-dir.add('admonitions.css'); + %?RESOURCES.IO.symlink: $res-dir.add('colors.css') unless %?RESOURCES.IO.e; + %?RESOURCES.IO.symlink: $res-dir.add('main.css') unless %?RESOURCES.IO.e; + %?RESOURCES.IO.symlink: $res-dir.add('code.css') unless %?RESOURCES.IO.e; + %?RESOURCES.IO.symlink: $res-dir.add('admonitions.css') unless %?RESOURCES.IO.e; } #| Get a list of posts sorted by date diff --git a/resources/admonitions.css b/resources/admonitions.css index 0c57da9..6fb8d26 100644 --- a/resources/admonitions.css +++ b/resources/admonitions.css @@ -52,7 +52,7 @@ border-color: var(--green); } .tip .title p::before { - content: "\eb0d"; + content: "\eaee"; color: var(--green); } /* Importants */