Compare commits
15 Commits
2.12.0
...
51ce59af5d
| Author | SHA1 | Date | |
|---|---|---|---|
|
51ce59af5d
|
|||
| b4d03a286c | |||
| 442da55d5d | |||
|
9b9c982f92
|
|||
|
1820650ada
|
|||
| fa2245e939 | |||
|
12a8363dd2
|
|||
| 4f365a4e60 | |||
|
12e74d29af
|
|||
| 7937090533 | |||
|
ebfd8cf4a7
|
|||
| 8270728e8f | |||
| 20d8c7323f | |||
| 5ac23f08a4 | |||
| c6f3179efb |
@@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.14'
|
||||||
|
|
||||||
- name: Install GuardDog
|
- name: Install GuardDog
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
530
pnpm-lock.yaml
generated
530
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -14,81 +14,67 @@ const currentYear = new Date().getFullYear();
|
|||||||
---
|
---
|
||||||
|
|
||||||
<footer
|
<footer
|
||||||
class="w-full overflow-hidden bg-stone-300/40 dark:bg-stone-800/20"
|
class="bg-background-accent w-full overflow-hidden"
|
||||||
transition:animate="none"
|
transition:animate="none"
|
||||||
>
|
>
|
||||||
<div class="relative px-4 pt-16 pb-12 sm:px-6">
|
<div class="relative px-4 sm:px-6 pt-16 pb-12">
|
||||||
<div class="mx-auto max-w-340">
|
<div class="max-w-340 mx-auto">
|
||||||
<div class="grid grid-cols-1 gap-10 md:grid-cols-12">
|
<div class="grid grid-cols-1 md:grid-cols-12 gap-10">
|
||||||
<!-- Brand section -->
|
<!-- Brand section -->
|
||||||
<div class="col-span-1 md:col-span-3">
|
<div class="col-span-1 md:col-span-3">
|
||||||
<a href="/" class="group inline-block">
|
<a href="/" class="group inline-block">
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<div class="mx-auto aspect-square overflow-hidden rounded-lg">
|
<div class="mx-auto aspect-square overflow-hidden">
|
||||||
<BrandLogo class="max-h-10 max-w-10 rounded-full" />
|
<BrandLogo class="rounded-lg max-h-10 max-w-10"/>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="text-header text-lg lg:text-2xl font-semibold leading-tight tracking-tight text-balance ml-3">
|
||||||
<span class="ml-3 text-xl font-bold text-neutral-800 dark:text-neutral-200">
|
|
||||||
{global.name}
|
{global.name}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
<p class="text-primary text-sm lg:text-base text-pretty leading-relaxed mt-4">
|
||||||
<p class="mt-4 text-sm leading-relaxed text-neutral-600 dark:text-neutral-400">
|
|
||||||
{global.about}
|
{global.about}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- Left links -->
|
<!-- Left links -->
|
||||||
<div class="col-span-1 md:col-span-2">
|
<div class="col-span-1 md:col-span-2">
|
||||||
<h3
|
<h3 class="relative inline-block text-header after:bg-main text-sm uppercase font-semibold tracking-wider pb-2 after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-8 after:content-['']">
|
||||||
class="after:bg-steel dark:after:bg-bermuda relative inline-block pb-2 text-sm font-semibold tracking-wider text-neutral-800 uppercase after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-8 after:content-[''] dark:text-neutral-100"
|
Site
|
||||||
>
|
|
||||||
Blog
|
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="mt-4 space-y-3">
|
<ul class="mt-4 space-y-3">
|
||||||
{
|
{NavigationLinks.map((link) => (
|
||||||
NavigationLinks.map((link) => (
|
<li>
|
||||||
<li>
|
<a
|
||||||
<a
|
href={link.url}
|
||||||
href={link.url}
|
class="inline-flex items-center text-secondary hover:text-secondary-hover text-base transition-all duration-300 overflow-hidden"
|
||||||
class="group flex items-center text-base text-neutral-600 transition-colors hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-200"
|
>
|
||||||
>
|
{link.name}
|
||||||
<span class="relative inline-block overflow-hidden">
|
</a>
|
||||||
<span class="relative z-10">{link.name}</span>
|
</li>
|
||||||
</span>
|
))}
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
))
|
|
||||||
}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- Right links -->
|
<!-- Right links -->
|
||||||
<div class="col-span-1 md:col-span-3">
|
<div class="col-span-1 md:col-span-3">
|
||||||
<h3
|
<h3 class="relative inline-block text-header after:bg-main text-sm uppercase font-semibold tracking-wider pb-2 after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-8 after:content-['']">
|
||||||
class="after:bg-steel dark:after:bg-bermuda relative inline-block pb-2 text-sm font-semibold tracking-wider text-neutral-800 uppercase after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-8 after:content-[''] dark:text-neutral-100"
|
|
||||||
>
|
|
||||||
Other
|
Other
|
||||||
</h3>
|
</h3>
|
||||||
<ul class="mt-4 space-y-3">
|
<ul class="mt-4 space-y-3">
|
||||||
{
|
{FooterLinks.map((link) => (
|
||||||
FooterLinks.map((link) => (
|
<li>
|
||||||
<li>
|
<a
|
||||||
<a
|
href={link.url}
|
||||||
href={link.url}
|
class="inline-flex items-center text-secondary hover:text-secondary-hover text-base transition-all duration-300 overflow-hidden"
|
||||||
class="group flex items-center text-base text-neutral-600 transition-colors hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-200"
|
>
|
||||||
>
|
{link.name}
|
||||||
<span class="relative inline-block overflow-hidden">
|
</a>
|
||||||
<span class="relative z-10">{link.name}</span>
|
</li>
|
||||||
</span>
|
))}
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
))
|
|
||||||
}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- Right image -->
|
<!-- Right image -->
|
||||||
<div class="col-span-3 mt-10 flex justify-center md:mt-0">
|
<div class="flex justify-center col-span-4 mt-10 md:mt-0">
|
||||||
<div class="-mt-10 hidden max-h-[460px] max-w-[220px] scale-80 md:block">
|
<div class="md:block max-h-115 max-w-55 -mt-10 scale-80 hidden">
|
||||||
<Image
|
<Image
|
||||||
src={footerImg}
|
src={footerImg}
|
||||||
alt={global.footer_image_alt}
|
alt={global.footer_image_alt}
|
||||||
@@ -104,37 +90,36 @@ const currentYear = new Date().getFullYear();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Bottom section -->
|
<!-- Bottom section -->
|
||||||
<div class="mt-12 border-t border-neutral-400/30 pt-8 dark:border-neutral-600/50">
|
<div class="border-t border-neutral-400/30 dark:border-neutral-600/50 pt-8 mt-12">
|
||||||
<div class="flex flex-col items-center justify-between gap-4 md:flex-row">
|
<div class="flex flex-col md:flex-row items-center justify-between gap-4">
|
||||||
<p class="text-sm text-neutral-600 dark:text-neutral-400">
|
<p class="text-secondary text-sm">
|
||||||
© {currentYear} All rights reserved.
|
© {currentYear} All rights reserved.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
<span class="text-secondary text-sm">
|
||||||
Weather provided by
|
Weather provided by
|
||||||
</p>
|
</span>
|
||||||
<a
|
<a
|
||||||
href="https://open-meteo.com/"
|
href="https://open-meteo.com/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="group inline-flex items-center text-xs text-neutral-600 transition-colors hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100"
|
class="group inline-flex items-center text-secondary hover:text-secondary-hover text-sm transition-all duration-300"
|
||||||
>
|
>
|
||||||
<span class="relative ml-1">
|
<span class="relative underline ml-1">
|
||||||
Open-Meteo.
|
Open-Meteo.
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
<div class="ml-4"/>
|
||||||
<div class="ml-4"></div>
|
<span class="text-secondary text-sm">
|
||||||
|
Built with
|
||||||
<span class="text-xs text-neutral-500 dark:text-neutral-400">Built with </span>
|
</span>
|
||||||
<a
|
<a
|
||||||
href="https://astro.build"
|
href="https://astro.build"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="group inline-flex items-center text-xs text-neutral-600 transition-colors hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100"
|
class="group inline-flex items-center text-secondary hover:text-secondary-hover text-sm transition-all duration-300"
|
||||||
>
|
>
|
||||||
<span class="relative ml-1">
|
<span class="relative underline ml-1">
|
||||||
Astro.
|
Astro.
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -9,31 +9,31 @@ const currentPath = pathname.slice(1);
|
|||||||
|
|
||||||
<header
|
<header
|
||||||
id="nav"
|
id="nav"
|
||||||
class="sticky inset-x-0 top-4 z-50 flex w-full flex-wrap text-sm transition-none md:flex-nowrap md:justify-start"
|
class="fixed flex flex-wrap md:flex-nowrap md:justify-start inset-x-0 top-0 w-full z-50"
|
||||||
>
|
>
|
||||||
|
<div class="bg-linear-to-b from-background from-65% to-transparent to-90% absolute top-0 bottom-0 left-0 w-full h-36 z-0"/>
|
||||||
<nav
|
<nav
|
||||||
class="relative mx-2 w-full rounded-[36px] border border-neutral-100 bg-neutral-100 px-4 py-3 md:flex md:items-center md:justify-between md:px-6 lg:px-8 dark:border-neutral-700/40 dark:bg-neutral-800/80"
|
class="nav-base relative md:flex md:items-center md:justify-between rounded-[36px] w-full px-4 mx-2 py-3 mt-4"
|
||||||
aria-label="Global"
|
aria-label="Global"
|
||||||
>
|
>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between ml-0">
|
||||||
<a
|
<a
|
||||||
class="h-[42px] flex-none rounded-lg text-xl font-bold ring-neutral-500 outline-none focus-visible:ring dark:ring-neutral-200 dark:focus:outline-none"
|
class="flex-none rounded-full h-10.5"
|
||||||
href="/"
|
href="/"
|
||||||
aria-label="Brand"
|
aria-label="Brand"
|
||||||
>
|
>
|
||||||
<BrandLogo class="h-full w-auto rounded-full object-cover" />
|
<BrandLogo class="h-full w-auto rounded-full object-cover"/>
|
||||||
</a>
|
</a>
|
||||||
|
<div class="md:hidden mr-auto ml-4">
|
||||||
<div class="ml-auto md:hidden">
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="hs-collapse-toggle flex h-8 w-8 items-center justify-center rounded-full text-sm font-bold text-neutral-600 transition duration-300 hover:bg-neutral-200 disabled:pointer-events-none disabled:opacity-50 dark:text-neutral-400 dark:hover:bg-neutral-700 dark:focus:outline-none"
|
class="hs-collapse-toggle flex items-center justify-center text-secondary text-sm font-bold hover:bg-neutral-200 dark:hover:bg-neutral-700 rounded-full transition duration-300 disabled:pointer-events-none disabled:opacity-50 h-8 w-8"
|
||||||
data-hs-collapse="#navbar-collapse-with-animation"
|
data-hs-collapse="#navbar-collapse-with-animation"
|
||||||
aria-controls="navbar-collapse-with-animation"
|
aria-controls="navbar-collapse-with-animation"
|
||||||
aria-label="Toggle navigation"
|
aria-label="Toggle navigation"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
class="hs-collapse-open:hidden h-5 w-5 shrink-0"
|
class="hs-collapse-open:hidden shrink-0 h-5 w-5"
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
@@ -48,7 +48,7 @@ const currentPath = pathname.slice(1);
|
|||||||
<line x1="3" x2="21" y1="18" y2="18"></line>
|
<line x1="3" x2="21" y1="18" y2="18"></line>
|
||||||
</svg>
|
</svg>
|
||||||
<svg
|
<svg
|
||||||
class="hs-collapse-open:block hidden h-5 w-5 shrink-0"
|
class="hs-collapse-open:block shrink-0 h-5 w-5 hidden"
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
@@ -63,33 +63,33 @@ const currentPath = pathname.slice(1);
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="md:hidden ml-2 mr-2">
|
||||||
|
<span class="">
|
||||||
|
<ThemeToggleButton />
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex md:flex-row items-center justify-between">
|
||||||
<div
|
|
||||||
id="navbar-collapse-with-animation"
|
|
||||||
class="hs-collapse hidden grow basis-full overflow-hidden transition-all duration-300 md:block md:overflow-visible"
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
class="mt-5 flex flex-col gap-x-0 gap-y-4 md:mt-0 md:flex-row md:items-center md:justify-end md:gap-x-4 md:gap-y-0 md:ps-7 lg:gap-x-7"
|
id="navbar-collapse-with-animation"
|
||||||
|
class="hs-collapse grow basis-full md:block transition-all duration-300 ml-2 mb-2 md:mb-0 hidden overflow-hidden md:overflow-visible"
|
||||||
>
|
>
|
||||||
{
|
<div class="flex flex-col md:flex-row md:items-center md:justify-end gap-x-0 md:gap-x-4 lg:gap-x-7 gap-y-4 md:gap-y-0 md:ps-7 mr-2 mt-5 md:mt-0">
|
||||||
NavigationLinks.map((item) => {
|
{NavigationLinks.map((item) => {
|
||||||
const isActive = currentPath === (item.url === '/' ? '' : item.url.slice(1));
|
const isActive = currentPath === (item.url === '/' ? '' : item.url.slice(1));
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={item.url}
|
href={item.url}
|
||||||
class={`text-sm font-medium ${
|
class={`text-sm font-medium ${isActive ? 'text-active' : 'text-secondary hover:text-secondary-hover'}`}
|
||||||
isActive
|
>
|
||||||
? 'text-orange-500 dark:text-orange-300'
|
{item.name}
|
||||||
: 'text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100'
|
</a>
|
||||||
}`}
|
);
|
||||||
>
|
})}
|
||||||
{item.name}
|
</div>
|
||||||
</a>
|
</div>
|
||||||
);
|
<div class="hidden md:flex ml-2">
|
||||||
})
|
<span class="">
|
||||||
}
|
|
||||||
<span class="md:inline-block">
|
|
||||||
<ThemeToggleButton />
|
<ThemeToggleButton />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
import { ClientRouter } from 'astro:transitions';
|
import { ClientRouter } from 'astro:transitions';
|
||||||
import { readSingleton } from '@directus/sdk';
|
import { readSingleton } from '@directus/sdk';
|
||||||
|
|
||||||
import directus from '@lib/directus';
|
|
||||||
import BaseHead from '@components/BaseHead.astro';
|
import BaseHead from '@components/BaseHead.astro';
|
||||||
import Footer from '@components/Footer.astro';
|
import Footer from '@components/Footer.astro';
|
||||||
import Header from '@components/Header.astro';
|
import Header from '@components/Header.astro';
|
||||||
|
import directus from '@lib/directus';
|
||||||
|
|
||||||
import '@styles/global.css';
|
import '@styles/global.css';
|
||||||
|
|
||||||
@@ -20,12 +20,16 @@ interface Props {
|
|||||||
const { title, description = 'Alex Lebens', ogImage, lang = 'en', structuredData } = Astro.props;
|
const { title, description = 'Alex Lebens', ogImage, lang = 'en', structuredData } = Astro.props;
|
||||||
|
|
||||||
const global = await directus.request(readSingleton('site_global'));
|
const global = await directus.request(readSingleton('site_global'));
|
||||||
|
|
||||||
const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang={lang}>
|
<html lang={lang}>
|
||||||
<head>
|
<head>
|
||||||
<title>{normalizeTitle}</title>
|
<title>
|
||||||
|
{normalizeTitle}
|
||||||
|
</title>
|
||||||
|
|
||||||
<BaseHead
|
<BaseHead
|
||||||
title={normalizeTitle}
|
title={normalizeTitle}
|
||||||
description={description}
|
description={description}
|
||||||
@@ -34,7 +38,9 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
|||||||
ogDescription={description}
|
ogDescription={description}
|
||||||
structuredData={structuredData}
|
structuredData={structuredData}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ClientRouter fallback="swap" />
|
<ClientRouter fallback="swap" />
|
||||||
|
|
||||||
<script is:inline>
|
<script is:inline>
|
||||||
const theme = (() => {
|
const theme = (() => {
|
||||||
if (typeof localStorage !== 'undefined' && localStorage.getItem('theme')) {
|
if (typeof localStorage !== 'undefined' && localStorage.getItem('theme')) {
|
||||||
@@ -53,30 +59,35 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
|||||||
}
|
}
|
||||||
window.localStorage.setItem('theme', theme);
|
window.localStorage.setItem('theme', theme);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Rybbit Tracking Snippet -->
|
<!-- Rybbit Tracking Snippet -->
|
||||||
<script
|
<script
|
||||||
src="https://rybbit.alexlebens.dev/api/script.js"
|
src="https://rybbit.alexlebens.dev/api/script.js"
|
||||||
data-site-id={global.rybbit_site_id}
|
data-site-id={global.rybbit_site_id}
|
||||||
defer
|
defer
|
||||||
></script>
|
/>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-stone-200 selection:bg-yellow-400 selection:text-neutral-700 dark:bg-stone-700">
|
|
||||||
<div class="mx-auto w-full max-w-(--breakpoint-2xl) grow px-4 sm:px-6 lg:px-8">
|
<body class="bg-background selection:bg-yellow-400">
|
||||||
|
<!-- Disabled texture background for now
|
||||||
|
<div class="fixed inset-0 -z-10">
|
||||||
|
<div class="bg-grid-pattern absolute inset-0 mask-[radial-gradient(white,transparent_85%)] bg-position-[center_top_-1px]"/>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<div class="grow w-full max-w-(--breakpoint-2xl) px-4 sm:px-6 lg:px-8 py-20 mx-auto">
|
||||||
|
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
<main class="min-h-screen">
|
<main class="min-h-screen">
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
<style>
|
|
||||||
.scrollbar-hide::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.scrollbar-hide {
|
|
||||||
-ms-overflow-style: none;
|
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -28,11 +28,16 @@
|
|||||||
|
|
||||||
--color-main: light-dark(var(--color-steel), var(--color-bermuda));
|
--color-main: light-dark(var(--color-steel), var(--color-bermuda));
|
||||||
--color-accent: light-dark(var(--color-bronze), var(--color-desert));
|
--color-accent: light-dark(var(--color-bronze), var(--color-desert));
|
||||||
|
--color-active: light-dark(var(--color-orange-500), var(--color-orange-300));
|
||||||
|
|
||||||
--color-header: light-dark(var(--color-neutral-800), var(--color-neutral-200));
|
--color-header: light-dark(var(--color-neutral-800), var(--color-neutral-200));
|
||||||
--color-primary: light-dark(var(--color-neutral-600), var(--color-neutral-200));
|
--color-primary: light-dark(var(--color-neutral-600), var(--color-neutral-200));
|
||||||
--color-primary-hover: light-dark(var(--color-neutral-800), var(--color-neutral-400));
|
--color-primary-hover: light-dark(var(--color-neutral-800), var(--color-neutral-400));
|
||||||
--color-secondary: light-dark(var(--color-neutral-500), var(--color-neutral-400));
|
--color-secondary: light-dark(var(--color-neutral-500), var(--color-neutral-400));
|
||||||
|
--color-secondary-hover: light-dark(var(--color-neutral-800), var(--color-neutral-200));
|
||||||
|
|
||||||
|
--color-background: light-dark(var(--color-neutral-200), var(--color-stone-700));
|
||||||
|
--color-background-accent: light-dark(color-mix(in srgb, var(--color-stone-300) 40%, transparent), color-mix(in srgb, var(--color-stone-800) 20%, transparent));
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
|
|||||||
@@ -113,6 +113,11 @@
|
|||||||
group-hover:text-main
|
group-hover:text-main
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@utility card-hover-text-neutral {
|
||||||
|
@apply transition-all duration-300
|
||||||
|
group-hover:text-primary-hover
|
||||||
|
}
|
||||||
|
|
||||||
@utility card-hover-text-gitea {
|
@utility card-hover-text-gitea {
|
||||||
@apply transition-all duration-300
|
@apply transition-all duration-300
|
||||||
group-hover:text-gitea-primary
|
group-hover:text-gitea-primary
|
||||||
@@ -121,3 +126,10 @@
|
|||||||
@utility card-text-description {
|
@utility card-text-description {
|
||||||
@apply text-secondary
|
@apply text-secondary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Misc */
|
||||||
|
@utility nav-base {
|
||||||
|
@apply border border-neutral-100 dark:border-stone-500/20
|
||||||
|
bg-neutral-100 dark:bg-neutral-800
|
||||||
|
shadow-xs dark:shadow-md
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user