From 3412ce05058016765c8188448b50430608d901d5 Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Fri, 13 Sep 2024 16:54:19 -0400 Subject: [PATCH 1/2] Add icons for external commits --- src/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/style.css b/src/style.css index d493b51..388440a 100644 --- a/src/style.css +++ b/src/style.css @@ -41,3 +41,9 @@ blockquote { blockquote ul { @apply marker:!text-slate-500; } + +.prose a[href^="http"]::after { + content: ""; + @apply inline-block size-[0.7rem] ml-[0.2rem] mb-[0.45rem] align-bottom text-slate-300 stroke-slate-500; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); +} From 37bc60d9784c7d5c550efbeae959a8651b24404c Mon Sep 17 00:00:00 2001 From: Justin Bennett Date: Fri, 13 Sep 2024 17:04:08 -0400 Subject: [PATCH 2/2] Fix sizing for breakpoints --- src/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index 388440a..41d83c3 100644 --- a/src/style.css +++ b/src/style.css @@ -44,6 +44,6 @@ blockquote ul { .prose a[href^="http"]::after { content: ""; - @apply inline-block size-[0.7rem] ml-[0.2rem] mb-[0.45rem] align-bottom text-slate-300 stroke-slate-500; + @apply inline-block size-[0.7rem] lg:size-[0.9rem] ml-[0.2rem] mb-[0.45rem] lg:mb-[0.6rem] align-bottom text-slate-300 stroke-slate-500; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); }