diff --git a/src/pages/dokumenty/index.astro b/src/pages/dokumenty/index.astro index 05c8286..ee37018 100644 --- a/src/pages/dokumenty/index.astro +++ b/src/pages/dokumenty/index.astro @@ -87,7 +87,6 @@ function normalizePublicHref(input?: string) { )} - {/* ===== PRAWA — POBIERZ ===== */}

{right.tytul ?? "Pobierz"}

@@ -106,9 +105,7 @@ function normalizePublicHref(input?: string) { download title={p.nazwa} > - {/*
📄
*/}
{p.nazwa}
- {/*
Pobierz PDF
*/} ); })} diff --git a/src/styles/base.css b/src/styles/base.css index ffd6133..a6a4174 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -40,24 +40,3 @@ a:hover { @apply text-[--f-link-text-hover]; } -/* TO DO: Pzenies w inne miejsce */ - -.f-document-card { - @apply flex items-center gap-1 p-1 mb-2; -} -.f-document-card:hover { - @apply shadow-sm; - transform: translateY(-1px); -} - -.f-document-icon { - @apply text-2xl leading-none mt-1; -} - -.f-document-title { - @apply font-semibold; -} - -.f-document-meta { - @apply text-sm opacity-70 mt-1; -} \ No newline at end of file diff --git a/src/styles/document.css b/src/styles/document.css index 382c0ac..b03bcc8 100644 --- a/src/styles/document.css +++ b/src/styles/document.css @@ -1,30 +1,15 @@ +.f-document-card { + @apply flex items-center gap-1 p-1 mb-2; +} +.f-document-card:hover { + @apply shadow-sm; + transform: translateY(-1px); +} - .f-documents { - @apply max-w-7xl mx-auto px-4 py-10; - } - - .f-documents-title { - @apply text-4xl md:text-5xl font-bold text-[--f-header]; - } - - .f-documents-grid { - @apply mt-8 grid gap-6 sm:grid-cols-2 lg:grid-cols-3; - } - - .f-document-card { - @apply border border-[--f-border-color] bg-[--f-background] text-[--f-text] - p-5 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md; - } - - .f-document-title { - @apply text-2xl font-bold; - } - - .f-document-intro { - @apply mt-3 text-xl opacity-80 leading-relaxed; - } - - .f-document-link { - @apply mt-4 inline-block text-base opacity-70 text-[--f-link-text]; - } +.f-document-icon { + @apply text-2xl leading-none mt-1; +} +.f-document-title { + @apply font-semibold; +}