Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/FeaturedAccessionCard/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
.fa-card{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}
/* grid */
.fa-media{position:relative;width:100%;padding-top:56.25%;background:#f5f5f5}
.fa-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;align-items:stretch}
.fa-img{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;object-fit:cover;display:block}
.fa-img--placeholder{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;font:600 14px/1.2 system-ui;color:#9ca3af}
.fa-body{padding:12px 14px 14px}


.fa-card{box-shadow:0 2px 6px rgba(0,0,0,0.06);transition:transform .15s ease,box-shadow .15s ease}
/* card */
.fa-card:hover{transform:translateY(-3px);box-shadow:0 6px 14px rgba(0,0,0,0.12)}
.fa-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.03);display:flex;flex-direction:column}


.fa-kicker{font:600 11px/1.2 system-ui;color:#555}
/* media: enforce consistent height */
.fa-dot{opacity:.35}
.fa-media{background:#f3f4f6}
.fa-img img{display:block;width:100%;height:180px;object-fit:cover}
.fa-img--placeholder{display:flex;align-items:center;justify-content:center;height:180px;color:#6b7280;font-size:.9rem}


/* body + rhythm */
.fa-body{padding:12px 14px 14px;line-height:1.35}
.fa-body > *{margin:0 0 .45rem}
.fa-body > *:last-child{margin-bottom:0}


/* prevent skin “notice” styling from wrapping these lines */
/* kicker: clean separators, no stray bullets */
.fa-kicker,.fa-sub,.fa-cta{background:none;border:0;padding:0;margin:0 0 8px}
.fa-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .6rem;font-size:.86rem;color:#374151}
.fa-kicker{font:600 12px/1.2 system-ui;color:#374151;display:flex;align-items:center;gap:6px}
.k-item{display:inline-flex;align-items:center;white-space:nowrap}
.fa-status{font-weight:700}
.k-item + .k-item::before{content:"·";margin:0 .5rem;color:#9ca3af}
.fa-dot{opacity:.5}
 
.fa-title{font:700 18px/1.25 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;margin:0 0 4px}
/* title / sub */
.fa-sub{font:500 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;color:#6b7280}
.fa-title{margin:.1rem 0 .3rem;font-size:1.12rem;line-height:1.25;color:#1f2937}
.fa-hook{font:400 14px/1.45 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;color:#111827;margin:0 0 10px;max-height:4.2em;overflow:hidden}
.fa-sub{font-size:.88rem;color:#6b7280}
.fa-cta a{text-decoration:none;border-bottom:1px solid #d1d5db}
 
.fa-missing{color:#9ca3af}
/* provenance: dot separators via CSS; wraps nicely */
.fa-provenance{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .5rem;font-size:.86rem;color:#374151}
.pv-item{display:inline-flex;align-items:center}
.pv-item + .pv-item::before{content:"·";margin:0 .5rem;color:#9ca3af}
.fa-id{font-weight:600}
.fa-badge{display:inline-block;padding:.12rem .4rem;border:1px solid #e5e7eb;border-radius:.5rem;font-size:.76rem;line-height:1}
.fa-badge--tier{background:#f9fafb}
.fa-badge--pres{background:#eef6ff}
 
/* hook & cta */
.fa-hook{font-size:.95rem;color:#374151;margin-top:.35rem}
.fa-cta{margin-top:.4rem}
.fa-missing{color:#9ca3af;font-style:italic}

Latest revision as of 05:33, 24 August 2025

/* grid */
.fa-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;align-items:stretch}

/* card */
.fa-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.03);display:flex;flex-direction:column}

/* media: enforce consistent height */
.fa-media{background:#f3f4f6}
.fa-img img{display:block;width:100%;height:180px;object-fit:cover}
.fa-img--placeholder{display:flex;align-items:center;justify-content:center;height:180px;color:#6b7280;font-size:.9rem}

/* body + rhythm */
.fa-body{padding:12px 14px 14px;line-height:1.35}
.fa-body > *{margin:0 0 .45rem}
.fa-body > *:last-child{margin-bottom:0}

/* kicker: clean separators, no stray bullets */
.fa-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .6rem;font-size:.86rem;color:#374151}
.k-item{display:inline-flex;align-items:center;white-space:nowrap}
.k-item + .k-item::before{content:"·";margin:0 .5rem;color:#9ca3af}

/* title / sub */
.fa-title{margin:.1rem 0 .3rem;font-size:1.12rem;line-height:1.25;color:#1f2937}
.fa-sub{font-size:.88rem;color:#6b7280}

/* provenance: dot separators via CSS; wraps nicely */
.fa-provenance{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .5rem;font-size:.86rem;color:#374151}
.pv-item{display:inline-flex;align-items:center}
.pv-item + .pv-item::before{content:"·";margin:0 .5rem;color:#9ca3af}
.fa-id{font-weight:600}
.fa-badge{display:inline-block;padding:.12rem .4rem;border:1px solid #e5e7eb;border-radius:.5rem;font-size:.76rem;line-height:1}
.fa-badge--tier{background:#f9fafb}
.fa-badge--pres{background:#eef6ff}

/* hook & cta */
.fa-hook{font-size:.95rem;color:#374151;margin-top:.35rem}
.fa-cta{margin-top:.4rem}
.fa-missing{color:#9ca3af;font-style:italic}