MediaWiki:Gadget-OralHistoryRecords-Updated.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 77: | Line 77: | ||
padding: 0.32rem 0.7rem; /* slightly larger but still compact */ | padding: 0.32rem 0.7rem; /* slightly larger but still compact */ | ||
font-size: 0.82rem; | font-size: 0.82rem; | ||
font-weight: | font-weight: 500; | ||
border-radius: 0.75rem; /* more rounded */ | border-radius: 0.75rem; /* more rounded */ | ||
text-decoration: none; | text-decoration: none; | ||
Revision as of 15:57, 21 February 2026
/* ===== Oral History Records (CSS) ===== */
/* --- Layout --- */
.ohr-list { display: block; }
/* --- Utilities --- */
.ohr-hidden { display: none; }
.ohr-muted { color: #6b7280; }
/* --- Toolbar --- */
.ohr-toolbar {
display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
margin-bottom: 1rem;
}
#ohr-search {
flex: 1 1 280px;
padding: 0.5rem 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.5rem;
font-size: 0.95rem;
}
#ohr-search:focus { outline: 2px solid #9ec5fe; outline-offset: 2px; }
.ohr-count { margin-left: auto; font-size: 0.9rem; color: #6b7280; }
#ohr-search::placeholder { color: #9ca3af; }
/* --- Record container --- */
.ohr-item {
background: #f5faff;
border-radius: 0.75rem;
padding: 1rem 1.25rem;
box-shadow: 0 1px 4px rgba(0,0,0,0.06);
margin-bottom: 0.9rem;
}
/* --- Header row --- */
.ohr-head {
display: flex;
gap: 0.75rem;
align-items: flex-start;
}
.ohr-titleblock { flex: 1 1 auto; min-width: 0; }
.ohr-name {
margin: 0;
font-size: 1.1rem;
font-weight: 750;
color: #000;
line-height: 1.25;
}
.ohr-meta {
margin-top: 0.15rem;
font-size: 0.92rem;
color: #111;
}
.ohr-meta span { color: #374151; }
.ohr-meta .ohr-dot { margin: 0 0.4rem; color: #9ca3af; }
/* --- Bio / summary --- */
.ohr-bio {
margin: 0.65rem 0 0;
font-size: 0.95rem;
line-height: 1.45;
color: #000;
}
/* --- Links (Directory & Accordion) --- */
.ohr-links {
margin-top: 0.75rem;
display: flex;
flex-wrap: wrap;
gap: 0.75rem; /* increased from 0.5rem */
}
.ohr-link {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.32rem 0.7rem; /* slightly larger but still compact */
font-size: 0.82rem;
font-weight: 500;
border-radius: 0.75rem; /* more rounded */
text-decoration: none;
color: #1f2937; /* darker gray */
background: #dce8f6; /* slightly darker */
border: 1px solid #c8d9ef; /* subtle but defined */
transition: background 0.15s ease, color 0.15s ease;
}
.ohr-link:hover {
background: #cfdff3;
color: #111827;
}
/* --- Chips (Chips view) --- */
.ohr-chips {
margin-top: 0.75rem;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.ohr-chip {
display: inline-flex;
align-items: center;
padding: 0.35rem 0.65rem;
border-radius: 9999px;
text-decoration: none;
font-size: 0.88rem;
font-weight: 650;
background: #e5eef8;
color: #111;
border: 1px solid #cfe0f3;
}
.ohr-chip:hover { background: #d6e6f8; }
/* --- Accordion view --- */
.ohr-acc-btn {
margin-left: auto;
flex: 0 0 auto;
background: transparent;
border: 1px solid #d1d5db;
border-radius: 0.6rem;
padding: 0.35rem 0.6rem;
font-size: 0.9rem;
font-weight: 650;
cursor: pointer;
}
.ohr-acc-btn:hover { background: rgba(0,0,0,0.03); }
.ohr-acc-panel { margin-top: 0.8rem; }
.ohr-divider {
margin-top: 0.75rem;
border-top: 1px solid rgba(0,0,0,0.08);
padding-top: 0.75rem;
}
/* --- Error --- */
.ohr-error {
color: #b91c1c;
background: #fee2e2;
border-radius: 0.5rem;
padding: 1rem;
text-align: center;
margin-top: 1rem;
}