From 7600335b4d2a823b527222307afd2c45fd528870 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 2 Nov 2024 03:53:43 -0700 Subject: [PATCH] style: change colorscheme to rose-pine, change link style --- src/css/default.css | 8 ++++---- src/templates/default.html | 12 ++++++------ tailwind.config.js | 36 +++++++++++++++++++++++++++--------- 3 files changed, 37 insertions(+), 19 deletions(-) diff --git a/src/css/default.css b/src/css/default.css index 286d7c9..8660a13 100644 --- a/src/css/default.css +++ b/src/css/default.css @@ -13,12 +13,12 @@ @layer utilities { .external-link { - @apply dark:text-violet-500 text-indigo-600 hover:bg-indigo-200 pr-3 rounded-sm dark:hover:bg-violet-950 transition-colors duration-300 relative; + @apply underline decoration-solid decoration-2 underline-offset-2 hover:text-love-light dark:hover:text-love-dark decoration-love-light decoration-love-dark; } - .external-link::after { - @apply absolute top-1 right-[6px] w-2 h-2 border-2 border-indigo-600 dark:border-violet-600 rounded-full translate-x-1/2 -translate-y-1/2; - content: ""; + .external-link-muted { + @apply underline decoration-solid decoration-2 underline-offset-2 hover:text-love-light dark:hover:text-love-dark decoration-accent-light decoration-accent-dark; } + .small-caps { font-variant: all-small-caps; } diff --git a/src/templates/default.html b/src/templates/default.html index 45f53ad..c665dd1 100644 --- a/src/templates/default.html +++ b/src/templates/default.html @@ -126,18 +126,18 @@

a web-log about computers, math, hacks, and all the rest.

- by Youwen Wu | | $body$ @@ -149,14 +149,14 @@ © 2024 Youwen Wu. Generated by Hakyll. View the source on GitHub. @@ -164,7 +164,7 @@

Content freely available under CC BY-NC-SA 4.0