Dokument CSS - korekta

This commit is contained in:
dm
2025-12-19 11:17:53 +01:00
parent 0d62c8f691
commit 9027ade4ad
3 changed files with 13 additions and 52 deletions

View File

@@ -87,7 +87,6 @@ function normalizePublicHref(input?: string) {
)}
</div>
{/* ===== PRAWA — POBIERZ ===== */}
<div>
<h3 class="f-section-title">{right.tytul ?? "Pobierz"}</h3>
@@ -106,9 +105,7 @@ function normalizePublicHref(input?: string) {
download
title={p.nazwa}
>
{/* <div class="f-document-icon">📄</div> */}
<div class="f-document-title">{p.nazwa}</div>
{/* <div class="f-document-meta">Pobierz PDF</div> */}
</a>
);
})}

View File

@@ -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;
}

View File

@@ -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;
}