From ea176fe2880e0c864d150545e9975412a19a216d Mon Sep 17 00:00:00 2001 From: Ava Gaiety W Date: Sat, 23 Mar 2024 15:13:12 -0500 Subject: [PATCH] catppuccin and animations --- .eleventy.js | 26 +++++++++++++------------ _data/navigation.json | 2 +- _includes/base-header.html | 12 ++++++++---- _includes/pinned.njk | 12 ++++++------ img/site/{stars.gif => stars-dark.gif} | Bin img/site/stars-light.gif | Bin 0 -> 18339 bytes index.md | 2 +- package-lock.json | 17 ++++++++++++++++ package.json | 3 ++- tailwind.config.js | 6 ++++-- uses/index.md | 2 +- 11 files changed, 54 insertions(+), 28 deletions(-) rename img/site/{stars.gif => stars-dark.gif} (100%) create mode 100644 img/site/stars-light.gif diff --git a/.eleventy.js b/.eleventy.js index 1294458..00d8094 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -5,20 +5,22 @@ const markdownIt = require('markdown-it'); const markdownItClass = require('@toycode/markdown-it-class'); const markdownClassMapping = { - // h1: ['hide'], - h2: ['text-3xl', 'mt-6'], - h3: ['text-2xl', 'mt-4'], - h4: ['text-xl', 'mt-2'], - h5: ['text-lg', 'mt-2'], - h6: ['font-bold', 'mt-2'], - blockquote: ['border-l-4', 'border-slate-900', 'px-4'], + h1: ['text-6xl', 'mt-6', 'text-pink'], + h2: ['text-3xl', 'mt-6', 'text-text'], + h3: ['text-2xl', 'mt-4', 'text-text'], + h4: ['text-xl', 'mt-2', 'text-text'], + h5: ['text-lg', 'mt-2', 'text-text'], + h6: ['font-bold', 'mt-2', 'text-text'], + blockquote: ['border-l-2', 'border-lavender', 'px-4', 'pt-4', 'pb-px', 'my-8', 'bg-base'], a: [ - 'text-slate-200', 'underline', - 'hover:text-white', 'hover:bg-rose-950', 'hover:outline', 'hover:outline-width-1', 'hover:outline-rose-950', - 'active:text-white', 'active:bg-rose-900', 'active:outline', 'active:outline-width-1', 'active:outline-rose-900', - 'focus:text-white', 'focus:bg-rose-900', 'focus:outline', 'focus:outline-width-1', 'focus:outline-rose-900' + 'text-blue', 'underline', + 'visited:text-lavender', + 'hover:no-underline', 'hover:text-sky', 'hover:outline', 'hover:outline-width-1', 'hover:outline-sky', + 'active:no-underline', 'active:text-sky', 'active:outline', 'active:outline-width-1', 'active:outline-sky', + 'focus:no-underline', 'focus:text-sky', 'focus:outline', 'focus:outline-width-1', 'focus:outline-sky' ], - p: ['mb-2', 'text-slate-400', 'leading-7'], + s: ['text-red'], + p: ['mb-4', 'text-text', 'leading-7'], img: ['max-w-full', 'rounded-lg', 'max-h-600px'], ul: ['list-disc', 'ml-4'], }; diff --git a/_data/navigation.json b/_data/navigation.json index ba45f11..5e5b985 100644 --- a/_data/navigation.json +++ b/_data/navigation.json @@ -16,7 +16,7 @@ "url": "/community/" }, { - "title": "About | Uses", + "title": "About", "url": "/uses/" } ] diff --git a/_includes/base-header.html b/_includes/base-header.html index 6d081b2..99d22f5 100644 --- a/_includes/base-header.html +++ b/_includes/base-header.html @@ -6,7 +6,7 @@ {% set pagetitle = page.fileSlug %} {% endif %} - + Portfolio - {{ pagetitle | capitalize }} @@ -24,13 +24,17 @@ - -
+ +