Dokument CSS - korekta
This commit is contained in:
@@ -87,7 +87,6 @@ function normalizePublicHref(input?: string) {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ===== PRAWA — POBIERZ ===== */}
|
|
||||||
<div>
|
<div>
|
||||||
<h3 class="f-section-title">{right.tytul ?? "Pobierz"}</h3>
|
<h3 class="f-section-title">{right.tytul ?? "Pobierz"}</h3>
|
||||||
|
|
||||||
@@ -106,9 +105,7 @@ function normalizePublicHref(input?: string) {
|
|||||||
download
|
download
|
||||||
title={p.nazwa}
|
title={p.nazwa}
|
||||||
>
|
>
|
||||||
{/* <div class="f-document-icon">📄</div> */}
|
|
||||||
<div class="f-document-title">{p.nazwa}</div>
|
<div class="f-document-title">{p.nazwa}</div>
|
||||||
{/* <div class="f-document-meta">Pobierz PDF</div> */}
|
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|||||||
@@ -40,24 +40,3 @@ a:hover {
|
|||||||
@apply text-[--f-link-text-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;
|
|
||||||
}
|
|
||||||
@@ -1,30 +1,15 @@
|
|||||||
|
|
||||||
.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 {
|
.f-document-card {
|
||||||
@apply border border-[--f-border-color] bg-[--f-background] text-[--f-text]
|
@apply flex items-center gap-1 p-1 mb-2;
|
||||||
p-5 shadow-sm transition hover:-translate-y-0.5 hover:shadow-md;
|
}
|
||||||
|
.f-document-card:hover {
|
||||||
|
@apply shadow-sm;
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.f-document-icon {
|
||||||
|
@apply text-2xl leading-none mt-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.f-document-title {
|
.f-document-title {
|
||||||
@apply text-2xl font-bold;
|
@apply font-semibold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user