Style By The Numbers wikitable showcase cards
Styles for Internet Archive interview embeds
 
(25 intermediate revisions by 2 users not shown)
Line 82: Line 82:
  * Slightly wider left sidebar (default Vector is 10em) so labels like
  * Slightly wider left sidebar (default Vector is 10em) so labels like
  * "Congressional Gold Medal" fit on one line.
  * "Congressional Gold Medal" fit on one line.
* IMPORTANT: scope to Vector only — these rules wreck Minerva mobile layout.
  */
  */
#mw-panel {
.skin-vector #mw-panel,
.skin-vector-legacy #mw-panel {
width: 15em !important;
width: 15em !important;
}
}
.mw-body,
.skin-vector .mw-body,
#mw-head-base,
.skin-vector #mw-head-base,
#left-navigation,
.skin-vector #left-navigation,
#mw-data-after-content,
.skin-vector #mw-data-after-content,
.mw-footer {
.skin-vector .mw-footer,
.skin-vector-legacy .mw-body,
.skin-vector-legacy #mw-head-base,
.skin-vector-legacy #left-navigation,
.skin-vector-legacy #mw-data-after-content,
.skin-vector-legacy .mw-footer {
margin-left: 15em !important;
margin-left: 15em !important;
}
}
#p-personal ul {
.skin-vector #p-personal ul,
.skin-vector-legacy #p-personal ul {
padding-left: 15em !important;
padding-left: 15em !important;
}
}
@media screen and (min-width: 982px) {
@media screen and (min-width: 982px) {
.mw-body,
.skin-vector .mw-body,
#mw-head-base,
.skin-vector #mw-head-base,
#left-navigation,
.skin-vector #left-navigation,
#mw-data-after-content,
.skin-vector #mw-data-after-content,
.mw-footer {
.skin-vector .mw-footer,
.skin-vector-legacy .mw-body,
.skin-vector-legacy #mw-head-base,
.skin-vector-legacy #left-navigation,
.skin-vector-legacy #mw-data-after-content,
.skin-vector-legacy .mw-footer {
margin-left: 16em !important;
margin-left: 16em !important;
}
}
#p-personal ul {
.skin-vector #p-personal ul,
.skin-vector-legacy #p-personal ul {
padding-left: 16em !important;
padding-left: 16em !important;
}
}
Line 110: Line 124:


/* Vector 2010 sidebar logo: source file is 1024px; keep badge size, center in wider slot. */
/* Vector 2010 sidebar logo: source file is 1024px; keep badge size, center in wider slot. */
#p-logo {
.skin-vector #p-logo,
.skin-vector-legacy #p-logo {
height: 160px !important;
height: 160px !important;
width: 15em !important;
width: 15em !important;
margin: 0 auto 0.6em auto;
margin: 0 auto 0.6em auto;
}
}
#p-logo a,
.skin-vector #p-logo a,
#p-logo a.mw-wiki-logo,
.skin-vector #p-logo a.mw-wiki-logo,
.mw-wiki-logo {
.skin-vector .mw-wiki-logo,
.skin-vector-legacy #p-logo a,
.skin-vector-legacy #p-logo a.mw-wiki-logo,
.skin-vector-legacy .mw-wiki-logo {
height: 160px !important;
height: 160px !important;
width: 160px !important;
width: 160px !important;
Line 131: Line 149:
height: 120px !important;
height: 120px !important;
width: 120px !important;
width: 120px !important;
}
/* Minerva / MobileFrontend: undo any leftover desktop chrome and keep content full-width. */
.skin-minerva .mw-body,
.skin-minerva #content,
.skin-minerva .mw-content-container,
.skin-minerva .mf-page-content {
margin-left: 0 !important;
margin-right: 0 !important;
max-width: 100% !important;
}
.skin-minerva table.infobox,
.skin-minerva table.soldier-infobox,
.skin-minerva .infobox.soldier-infobox {
float: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0.5em 0 1em 0 !important;
}
.skin-minerva .home-feature-thumbs,
.skin-minerva .home-hero-photo,
.skin-minerva .home-start-here {
max-width: 100% !important;
}
.skin-minerva .home-feature-thumbs {
flex-wrap: wrap;
justify-content: center;
}
/* Soft-launch sitenotice: align with mobile content column */
.skin-minerva .sitenotice-softlaunch,
.skin-minerva #siteNotice,
.skin-minerva .mw-site-notice {
max-width: 100%;
margin-left: auto;
margin-right: auto;
text-align: left;
padding-left: 0.25em;
padding-right: 0.25em;
box-sizing: border-box;
}
.sitenotice-softlaunch {
font-size: 95%;
line-height: 1.45;
margin: 0.35em 0 0.75em 0;
}
/* Find-a-soldier: compact field on phones (never a tall flex-grown square) */
.skin-minerva .home-find {
max-width: 22em !important;
width: 100%;
margin-left: auto;
margin-right: auto;
box-sizing: border-box;
}
.skin-minerva .home-find-row {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
gap: 0.4em;
align-items: center !important;
}
.skin-minerva .home-find-suggest-wrap {
flex: 1 1 auto;
min-width: 0;
max-width: none;
width: 100%;
}
.skin-minerva .home-find-input,
.skin-minerva .soldier-find-form input[type="search"],
.skin-minerva .soldier-find-form input[type="text"],
.skin-minerva .home-find input[type="search"],
.skin-minerva .home-find input[type="text"] {
flex: 1 1 auto !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
height: 2.25em !important;
min-height: 2.25em !important;
max-height: 2.5em !important;
padding: 0.25em 0.5em !important;
line-height: 1.2 !important;
font-size: 16px !important; /* avoid iOS zoom-on-focus */
box-sizing: border-box !important;
}
.skin-minerva .home-find-button {
flex: 0 0 auto !important;
height: 2.25em !important;
min-height: 2.25em !important;
padding: 0 0.85em !important;
margin-top: 0 !important;
box-sizing: border-box !important;
}
/* Hide find-a-soldier noscript fallback when JS will build the real form (Mobile polish cachebust) */
.client-js .home-find-fallback {
display: none;
}
/* Soldier edit strip: keep tools, drop long help copy on phones */
.skin-minerva .soldier-facts-box {
margin: 0.25em 0 0.55em !important;
padding: 0.45em 0.65em !important;
background: transparent !important;
border: none !important;
border-bottom: 1px solid #eaecf0 !important;
max-width: 100% !important;
}
.skin-minerva .soldier-facts-intro,
.skin-minerva .soldier-summary-bar {
display: flex;
flex-wrap: wrap;
gap: 0.35em 0.5em;
align-items: center;
font-size: 90%;
line-height: 1.35;
}
.skin-minerva .soldier-facts-label,
.skin-minerva .soldier-facts-help,
.skin-minerva .soldier-summary-help {
display: none !important;
}
.skin-minerva .soldier-summary-bar {
margin: 0.4em 0 0 !important;
padding-top: 0.4em !important;
border-top: 1px solid #eaecf0 !important;
}
.skin-minerva .soldier-facts-toggle,
.skin-minerva .soldier-summary-toggle {
font-size: 90%;
padding: 0.3em 0.55em;
}
/* Wide tables: swipe sideways instead of blowing out the page */
.skin-minerva .mw-parser-output .wikitable,
.skin-minerva .mw-parser-output table.cargoTable,
.skin-minerva .mw-parser-output .rb-wide-table,
.skin-minerva .mw-parser-output .jquery-tablesorter {
display: block;
width: 100%;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
}
.skin-minerva .mw-parser-output img,
.skin-minerva .mw-parser-output .mw-file-element {
max-width: 100%;
height: auto;
}
/* Shorter Drive / Form embeds on phones */
.skin-minerva .drive-folder-frame {
min-height: 220px !important;
height: 42vh !important;
max-height: 380px !important;
}
.skin-minerva .google-form-frame {
min-height: 260px !important;
height: 52vh !important;
max-height: 480px !important;
}
.skin-minerva .drive-folder-fallback,
.skin-minerva .google-form-fallback {
font-size: 95%;
margin: 0.5em 0.75em;
}
/* Separate site hubs in the hamburger from Home / Random */
.skin-minerva #p-ritchie {
border-top: 1px solid rgba(0, 0, 0, 0.08);
margin-top: 0.25em;
padding-top: 0.25em;
}
}


Line 280: Line 471:
max-width: 106px;
max-width: 106px;
height: auto;
height: auto;
vertical-align: top;
margin: 0 auto;
}
/* Ribbons + captions in one table: equal columns so each label centers under its ribbon */
table.soldier-ribbon-rack.soldier-awards-labeled {
table-layout: fixed;
line-height: normal;
margin-bottom: 0.35em;
}
table.soldier-ribbon-rack.soldier-awards-labeled > tbody > tr > td,
table.soldier-ribbon-rack.soldier-awards-labeled > tr > td {
width: 118px;
max-width: 118px;
vertical-align: top;
vertical-align: top;
}
table.soldier-ribbon-rack.soldier-awards-labeled td.soldier-award-caption {
line-height: 1.35 !important;
font-size: 95%;
padding: 0.4em 0.45em !important;
text-align: center;
vertical-align: middle;
white-space: normal;
overflow-wrap: break-word;
word-break: normal;
border: 1px solid #a2a9b1 !important;
background: #f8f9fa !important;
}
}


Line 357: Line 576:
gap: 0.4em;
gap: 0.4em;
align-items: center;
align-items: center;
}
.home-find-suggest-wrap {
position: relative;
}
.home-find-suggest {
position: absolute;
left: 0;
right: 0;
top: 100%;
z-index: 50;
margin: 0.15em 0 0;
padding: 0.2em 0;
list-style: none;
background: #fff;
border: 1px solid #a2a9b1;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
max-height: 16em;
overflow-y: auto;
}
.home-find-suggest[hidden] {
display: none !important;
}
.home-find-suggest li {
margin: 0;
padding: 0.4em 0.65em;
cursor: pointer;
font-size: 95%;
line-height: 1.35;
}
.home-find-suggest li:hover,
.home-find-suggest li.home-find-suggest-active {
background: #eaf3ff;
}
}


Line 517: Line 773:
max-width: 100%;
max-width: 100%;
margin: 0 0 1em 0;
margin: 0 0 1em 0;
}
/* Keep input + Search on one row. Column + flex-basis:14em made the
  search field a ~14em-tall square on phones (Minerva / narrow Vector). */
.home-find-row {
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
}
.home-find-input {
flex: 1 1 auto;
width: auto;
min-width: 0;
max-width: none;
height: 2.25em;
min-height: 2.25em;
max-height: 2.5em;
box-sizing: border-box;
}
.home-find-button {
flex: 0 0 auto;
width: auto;
height: 2.25em;
min-height: 2.25em;
margin-top: 0;
box-sizing: border-box;
}
.soldier-facts-box,
.soldier-facts-panel,
.soldier-summary-panel {
max-width: 100%;
}
.drive-folder-frame {
min-height: 240px;
height: 45vh;
max-height: 400px;
}
.google-form-frame {
min-height: 280px;
height: 55vh;
max-height: 500px;
}
.mw-parser-output .wikitable,
.mw-parser-output table.cargoTable {
display: block;
width: 100%;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
}
}
}
Line 651: Line 955:
.soldier-upload-login {
.soldier-upload-login {
margin: 0.35em 0 0;
margin: 0.35em 0 0;
}
/* Camp-wide manuals (Training materials) */
.camp-manual-upload-slot {
margin: 0.75em 0 1.25em;
max-width: 36em;
}
.camp-manual-upload-box {
border-top: 1px solid #a2a9b1;
}
.camp-manual-upload-form input[type="text"] {
display: block;
width: 100%;
max-width: 28em;
margin: 0.25em 0 0.5em;
padding: 0.35em 0.5em;
box-sizing: border-box;
}
.camp-manual-progress {
margin: 0.65em 0 0.25em;
max-width: 28em;
}
.camp-manual-progress[hidden] {
display: none !important;
}
.camp-manual-progress-bar {
height: 0.65em;
background: #eaecf0;
border: 1px solid #a2a9b1;
border-radius: 2px;
overflow: hidden;
}
.camp-manual-progress-fill {
height: 100%;
width: 0%;
background: #3366cc;
transition: width 0.15s linear;
}
.camp-manual-progress.is-indeterminate .camp-manual-progress-fill {
width: 35% !important;
animation: camp-manual-progress-pulse 1.1s ease-in-out infinite;
}
@keyframes camp-manual-progress-pulse {
0% { transform: translateX(-40%); }
100% { transform: translateX(220%); }
}
.camp-manual-progress-label {
margin: 0.35em 0 0;
font-size: 90%;
color: #54595d;
}
.camp-manual-lib-actions {
display: inline-flex;
gap: 0.35em;
margin-left: 0.5em;
vertical-align: middle;
}
.camp-manual-lib-actions button {
font-size: 85%;
padding: 0.1em 0.45em;
line-height: 1.3;
cursor: pointer;
}
.camp-manual-lib-actions .camp-manual-lib-delete {
color: #ba0000;
}
}


Line 660: Line 1,041:
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
width: auto;
width: auto;
max-width: 48em;
max-width: min(96em, 100%);
box-sizing: border-box;
box-sizing: border-box;
clear: both;
clear: both;
Line 687: Line 1,068:
max-width: min(280px, 100%);
max-width: min(280px, 100%);
box-sizing: border-box;
box-sizing: border-box;
}
.ocr-preview-sticky {
position: sticky;
top: 0.75em;
align-self: flex-start;
}
}
.ocr-review-preview img {
.ocr-review-preview img {
Line 715: Line 1,101:
border-bottom: 1px solid #e4e8df;
border-bottom: 1px solid #e4e8df;
}
}
.ocr-fact-row input[type="text"] {
.ocr-change-line {
flex: 1 1 12em;
min-width: 0;
}
.ocr-fact-details {
flex: 1 1 100%;
margin: 0.15em 0 0.25em 1.5em;
font-size: 90%;
}
.ocr-fact-details summary {
cursor: pointer;
color: #54595d;
}
.ocr-fact-row input[type="text"],
.ocr-fact-value {
flex: 1 1 12em;
flex: 1 1 12em;
min-width: 0;
min-width: 0;
Line 731: Line 1,131:
gap: 0.5em;
gap: 0.5em;
align-items: center;
align-items: center;
}
.ocr-apply-btn {
font-weight: 600;
}
.ocr-dry-run {
margin: 0.35em 0 0;
padding: 0.55em 0.7em;
background: #f8f9fa;
border: 1px solid #a2a9b1;
}
.ocr-dry-run ul {
margin: 0.35em 0 0;
padding-left: 1.2em;
}
.ocr-seed-banner {
margin: 0.5em 0;
padding: 0.45em 0.65em;
background: #fff8e6;
border: 1px solid #c8a84b;
}
}
.ocr-review-status {
.ocr-review-status {
margin: 0.5em 0 0;
margin: 0.5em 0 0;
font-size: 95%;
font-size: 95%;
flex: 1 1 100%;
}
.ocr-apply-preview {
margin: 0.85em 0;
padding: 0.55em 0.7em;
background: #f0f6e8;
border: 1px solid #a3b18a;
}
.ocr-apply-preview-list {
margin: 0.35em 0 0;
padding-left: 1.2em;
}
.ocr-apply-preview-list li {
margin: 0.2em 0;
}
.ocr-advanced {
margin: 0.75em 0;
padding: 0.4em 0.55em;
border: 1px dashed #a2a9b1;
background: #f8f9fa;
}
.ocr-advanced > summary {
cursor: pointer;
font-weight: 600;
}
.ocr-advanced-body {
margin-top: 0.5em;
}
.ocr-advanced-actions {
display: flex;
flex-wrap: wrap;
gap: 0.4em;
margin-top: 0.5em;
}
.ocr-person-card {
margin: 0.75em 0;
padding: 0.65em 0.75em;
border: 1px solid #c8ccd1;
background: #fff;
border-radius: 2px;
}
.ocr-roster-table {
width: 100%;
border-collapse: collapse;
background: #fff;
font-size: 95%;
margin: 0.35em 0 0.75em;
}
.ocr-roster-table th {
text-align: left;
background: #3f4a3c;
color: #fff;
padding: 0.45em 0.55em;
font-weight: 600;
}
.ocr-roster-table td {
vertical-align: top;
padding: 0.55em 0.6em;
border-bottom: 1px solid #eaecf0;
}
.ocr-roster-table tr.ocr-person-card {
margin: 0;
padding: 0;
border: 0;
border-left: 4px solid #c8ccd1;
border-radius: 0;
background: #fff;
}
.ocr-roster-table tr.ocr-person-matched {
border-left: 4px solid #14866d;
}
.ocr-roster-table tr.ocr-person-unresolved {
border-left: 4px solid #fc3;
background: #fffdf5;
}
.ocr-roster-table tr.ocr-person-done {
opacity: 1;
background: #f8f9fa;
border-left-color: #a2a9b1;
}
.ocr-roster-table .ocr-group-heading-row td {
background: #ece6da;
font-weight: 600;
border-bottom: 1px solid #c8ccd1;
padding-top: 0.75em;
}
.ocr-col-do {
width: 4.2em;
white-space: nowrap;
text-align: center;
}
.ocr-scan-name {
font-weight: 600;
font-size: 1.05em;
}
.ocr-scan-bits {
margin-top: 0.2em;
font-size: 85%;
color: #72777d;
}
.ocr-wiki-page-name {
display: block;
font-weight: 600;
margin-bottom: 0.2em;
}
.ocr-wiki-missing {
color: #6b4c00;
}
.ocr-fact-store {
display: none;
}
.ocr-row-outcome {
font-size: 95%;
line-height: 1.35;
}
.ocr-outcome-write {
background: #eaf5f0;
border: 1px solid #14866d;
padding: 0.4em 0.55em;
}
.ocr-outcome-unmatched {
background: #fff8e0;
border: 1px solid #fc3;
padding: 0.4em 0.55em;
}
.ocr-outcome-skip,
.ocr-outcome-idle {
color: #54595d;
}
.ocr-row-write-list {
margin: 0;
padding-left: 1.15em;
}
.ocr-outcome-banner {
margin: 0 0 0.75em;
padding: 0.65em 0.8em;
background: #eaf3ff;
border: 1px solid #a2b7d2;
}
.ocr-outcome-banner strong {
display: block;
margin-bottom: 0.2em;
}
.ocr-preview-person {
margin: 0.35em 0;
}
.ocr-preview-person > ul {
margin: 0.15em 0 0.35em 1.2em;
}
.ocr-preview-count {
margin: 0.35em 0 0.15em;
font-weight: 600;
}
.ocr-person-matched {
border-left: 4px solid #14866d;
}
.ocr-person-unresolved {
border-left: 4px solid #fc3;
background: #fffdf5;
}
.ocr-group-heading {
margin: 1.1em 0 0.4em;
font-size: 1.05em;
border-bottom: 1px solid #c8ccd1;
padding-bottom: 0.2em;
}
.ocr-card-step {
font-size: 80%;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #72777d;
margin-bottom: 0.35em;
}
.ocr-card-who,
.ocr-card-match,
.ocr-card-update {
margin: 0.55em 0;
padding: 0.45em 0.55em;
background: #f8f9fa;
border: 1px solid #eaecf0;
}
.ocr-card-who-label {
font-size: 80%;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
color: #54595d;
margin-bottom: 0.25em;
}
.ocr-card-hint {
margin: 0.35em 0 0;
font-size: 85%;
color: #72777d;
}
.ocr-include-row {
display: flex;
align-items: flex-start;
gap: 0.4em;
margin: 0.35em 0;
font-size: 95%;
line-height: 1.35;
}
.ocr-person-done {
opacity: 0.88;
border-left-color: #a2a9b1;
}
.ocr-fact-primary .ocr-change-line {
font-weight: 500;
}
.ocr-card-name {
font-weight: 600;
font-size: 1.05em;
}
.ocr-card-meta,
.ocr-match-status {
font-size: 90%;
color: #54595d;
width: 100%;
}
.ocr-card-match {
margin: 0.35em 0 0.5em;
}
.ocr-suggest {
display: flex;
flex-direction: column;
gap: 0.15em;
margin: 0.25em 0 0.4em;
max-width: 100%;
border: 1px solid #a2a9b1;
background: #fff;
padding: 0.25em;
}
.ocr-suggest-item {
display: block;
width: 100%;
text-align: left;
border: 0;
background: transparent;
padding: 0.3em 0.4em;
cursor: pointer;
}
.ocr-suggest-item:hover {
background: #eaecf0;
}
.ocr-card-changes {
margin-top: 0.25em;
}
.ocr-card-more {
margin-top: 0.45em;
font-size: 90%;
}
.ocr-apply-success .ocr-apply-links {
margin: 0.5em 0;
padding-left: 1.2em;
}
.ocr-apply-success .ocr-apply-links li {
margin: 0.35em 0;
}
.ocr-queue-item {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
align-items: flex-start;
}
.ocr-queue-thumb {
width: 56px;
height: 56px;
object-fit: cover;
border: 1px solid #ccc;
background: #fff;
flex: 0 0 auto;
}
.ocr-queue-meta {
flex: 1 1 12em;
min-width: 0;
}
.ocr-progress-wrap {
height: 8px;
background: #eaecf0;
border: 1px solid #a2a9b1;
border-radius: 2px;
overflow: hidden;
margin: 0.4em 0 0.6em;
max-width: 28em;
}
.ocr-progress-bar {
height: 100%;
width: 0;
background: #3366cc;
transition: width 0.3s ease;
}
.ocr-page-picker {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.ocr-page-item {
display: block;
font-size: 90%;
background: #fff;
border: 1px solid #ccc;
padding: 0.35em;
}
.ocr-page-item img {
display: block;
max-width: 100%;
height: auto;
margin-bottom: 0.25em;
}
.ocr-fact-group {
margin: 0.6em 0 0.9em;
}
.ocr-fact-group h4 {
margin: 0 0 0.35em;
font-size: 1em;
}
.ocr-fact-already {
opacity: 0.78;
background: #f3f4f5;
}
.ocr-identity-banner {
margin: 0.5em 0;
padding: 0.5em 0.65em;
border: 1px solid #a2a9b1;
background: #f8f9fa;
font-size: 95%;
}
.ocr-identity-warn {
border-color: #fc3;
background: #fff8e0;
}
.ocr-identity-ok {
border-color: #14866d;
background: #eaf5f0;
}
.ocr-doc-type,
.ocr-gallery-caption {
display: block;
margin: 0.35em 0;
}
.ocr-gallery-caption {
width: 100%;
box-sizing: border-box;
}
.ocr-force-identity {
display: block;
margin-top: 0.4em;
color: #6b4c00;
}
.ocr-people-summary {
margin: 0.4em 0;
padding: 0.45em 0.6em;
background: #eaf3ff;
border: 1px solid #a2b7d2;
font-size: 95%;
}
.ocr-multi-toolbar {
display: flex;
flex-wrap: wrap;
gap: 0.4em;
margin: 0.4em 0 0.6em;
}
.ocr-person-title,
.ocr-match-pick {
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin: 0.25em 0 0.5em;
}
}
.ocr-queue-list {
.ocr-queue-list {
Line 740: Line 1,527:
margin: 0.5em 0;
margin: 0.5em 0;
padding: 0;
padding: 0;
}
.ocr-queue-filters {
display: flex;
flex-wrap: wrap;
gap: 0.75rem 1.25rem;
margin: 0.4em 0 0.6em;
font-size: 0.92em;
}
.ocr-queue-filters label {
display: inline-flex;
align-items: center;
gap: 0.35em;
cursor: pointer;
}
.ocr-queue-clear {
margin: 0 0 0.65em;
display: flex;
flex-wrap: wrap;
gap: 0.5em;
align-items: center;
}
.ocr-force-multi-upload {
display: block;
margin: 0.45em 0 0.6em;
font-size: 0.92em;
}
}
.ocr-queue-list li {
.ocr-queue-list li {
Line 746: Line 1,558:
background: #fff;
background: #fff;
border: 1px solid #ddd;
border: 1px solid #ddd;
}
/* Legacy person-group class kept for older cached markup */
.ocr-person-group {
margin: 0.75em 0;
padding: 0.5em 0.65em;
border: 1px solid #c8ccd1;
background: #fff;
}
.ocr-person-group h4 {
margin: 0 0 0.35em;
font-size: 1em;
}
}


Line 1,011: Line 1,835:
}
}


/* By The Numbers showcase hub (v3 — wikitable cards) */
/* By The Numbers showcase hub (v4) */
.mw-parser-output table.wikitable.rb-numbers-table {
.mw-parser-output .rb-numbers-stat-grid,
width: 100%;
.mw-parser-output .rb-numbers-link-grid {
margin: 1em 0 0.75em 0;
display: grid !important;
border-collapse: separate;
grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
border-spacing: 0.55em;
gap: 0.85em;
border: none;
margin: 1em 0 1.1em 0;
background: transparent;
}
.mw-parser-output .rb-numbers-stat,
.mw-parser-output .rb-numbers-link-card {
background: #f7f4ee !important;
border: 1px solid #c3b7a4 !important;
border-top: 4px solid #3f4a3c !important;
padding: 0.95em 1em 1.05em !important;
box-sizing: border-box;
}
}
.mw-parser-output table.wikitable.rb-numbers-table > tr > th,
.mw-parser-output .rb-numbers-stat {
.mw-parser-output table.wikitable.rb-numbers-table > * > tr > th,
.mw-parser-output table.wikitable.rb-numbers-table > tr > td,
.mw-parser-output table.wikitable.rb-numbers-table > * > tr > td {
width: 25%;
vertical-align: top;
text-align: center;
text-align: center;
background: #f7f4ee;
border: 1px solid #c3b7a4;
border-top: 3px solid #3f4a3c;
padding: 0.75em 0.65em;
}
.mw-parser-output table.wikitable.rb-numbers-table > tr > th,
.mw-parser-output table.wikitable.rb-numbers-table > * > tr > th {
font-weight: 700;
font-size: 1em;
color: inherit;
background: #f7f4ee;
}
}
.mw-parser-output .rb-numbers-stat-num {
.mw-parser-output .rb-numbers-stat-num {
display: block;
display: block;
font-size: 2.1em;
font-size: 2.2em !important;
font-weight: 700;
font-weight: 700 !important;
line-height: 1.1;
line-height: 1.1;
color: #3f4a3c;
color: #3f4a3c !important;
letter-spacing: -0.02em;
letter-spacing: -0.02em;
}
}
.mw-parser-output .rb-numbers-stat-note {
.mw-parser-output .rb-numbers-stat-label {
display: block;
margin-top: 0.4em;
font-size: 95%;
font-weight: 600;
line-height: 1.3;
}
.mw-parser-output .rb-numbers-stat-note,
.mw-parser-output .rb-numbers-link-desc {
margin-top: 0.35em;
font-size: 84%;
font-size: 84%;
line-height: 1.35;
line-height: 1.35;
color: #555;
color: #555;
font-weight: 400;
}
}
.mw-parser-output table.wikitable.rb-numbers-links {
.mw-parser-output .rb-numbers-link-card > a {
width: 100%;
font-weight: 600;
margin: 0.75em 0 1em 0;
font-size: 1.02em;
border-collapse: separate;
border-spacing: 0.55em;
border: none;
background: transparent;
}
.mw-parser-output table.wikitable.rb-numbers-links > tr > td,
.mw-parser-output table.wikitable.rb-numbers-links > * > tr > td {
width: 33%;
vertical-align: top;
background: #f7f4ee;
border: 1px solid #c3b7a4;
border-top: 3px solid #3f4a3c;
padding: 0.75em 0.85em;
}
.mw-parser-output table.wikitable.rb-numbers-links small {
display: block;
margin-top: 0.35em;
color: #444;
line-height: 1.35;
}
}
/* Legacy div-card classes (v1/v2) */
.rb-numbers-showcase,
.btn-showcase { margin: 1em 0 1.25em 0; }
.rb-numbers-stat-grid,
.rb-numbers-link-grid,
.btn-stat-grid,
.btn-link-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
gap: 0.85em;
}
.rb-numbers-stat,
.rb-numbers-link-card,
.btn-stat,
.btn-link-card {
background: #f7f4ee;
border: 1px solid #c3b7a4;
border-top: 3px solid #3f4a3c;
padding: 0.9em 1em 1em;
box-sizing: border-box;
}
.rb-numbers-stat,
.btn-stat { text-align: center; }
.btn-stat-num {
font-size: 2.15em;
font-weight: 700;
line-height: 1.1;
color: #3f4a3c;
}
.btn-stat-label,
.rb-numbers-stat-label { margin-top: 0.4em; font-size: 95%; font-weight: 600; line-height: 1.3; }
.btn-stat-note { margin-top: 0.35em; font-size: 84%; line-height: 1.35; color: #555; }
.btn-link-grid,
.rb-numbers-link-grid { margin: 0.75em 0 1em 0; }
.btn-link-card > a,
.rb-numbers-link-card > a { font-weight: 600; }
.btn-link-desc,
.rb-numbers-link-desc { margin-top: 0.35em; font-size: 90%; color: #444; }




Line 1,140: Line 1,903:
margin: 0.75em 1em;
margin: 0.75em 1em;
font-size: 95%;
font-size: 95%;
}
.rb-search-empty-help {
margin: 0.75em 0 1.25em;
padding: 0.85rem 1rem;
border-left: 4px solid #6b3a2a;
background: linear-gradient(90deg, rgba(107,58,42,0.08), transparent);
max-width: 42rem;
}
.rb-search-empty-help ul {
margin: 0.4em 0 0.5em 1.2em;
}
}


Line 1,268: Line 2,042:
margin: 0.75em 1em;
margin: 0.75em 1em;
font-size: 95%;
font-size: 95%;
}
/* Interview / documentary YouTube watchlist */
.yt-watch-index {
margin: 0.75em 0 1.25em;
}
.yt-interview {
margin: 0 0 1.6em;
padding: 0.85em 1em 1em;
border: 1px solid #c8ccd1;
background: #fbfcfd;
}
.yt-embed {
position: relative;
margin: 0.75em 0 0.5em;
max-width: 640px;
background: #111;
}
.yt-embed-poster,
.yt-embed.yt-embed-playing {
aspect-ratio: 16 / 9;
width: 100%;
background: #111;
}
.yt-embed-poster {
position: relative;
cursor: pointer;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: 0;
background: #111;
}
.yt-embed-thumb {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.yt-embed-play {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
gap: 0.45em;
padding: 0.4em 0.85em 0.4em 0.55em;
border: 0;
border-radius: 4px;
background: #cc0000;
color: #fff;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.yt-embed-play-icon {
width: 0;
height: 0;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent #fff;
}
.yt-embed-playing {
background: #000;
}
.yt-embed-frame {
display: block;
width: 100%;
height: 100%;
border: 0;
}
.yt-embed-fallback {
margin: 0.5em 0 0;
font-size: 95%;
}
.yt-interview-next {
margin-top: 0.75em;
padding-top: 0.55em;
border-top: 1px solid #eaecf0;
font-size: 95%;
}
.yt-interview-next-label {
font-weight: 600;
margin-bottom: 0.2em;
}
.yt-interview-next-list {
margin: 0.15em 0 0 1.2em;
padding: 0;
}
.yt-interview-next-why {
color: #54595d;
font-size: 92%;
}
/* SoundCloud audio embeds (interview watchlist) */
.sc-embed {
position: relative;
margin: 0.75em 0 0.5em;
max-width: 640px;
background: #1a1a1a;
}
.sc-embed-poster,
.sc-embed.sc-embed-playing {
aspect-ratio: 16 / 9;
width: 100%;
background: linear-gradient(145deg, #2b2b2b 0%, #111 55%, #3a1a0a 100%);
}
.sc-embed-poster {
position: relative;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
border: 0;
}
.sc-embed-play {
display: flex;
align-items: center;
gap: 0.45em;
padding: 0.45em 0.9em 0.45em 0.6em;
border: 0;
border-radius: 4px;
background: #ff5500;
color: #fff;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.sc-embed-play-icon {
width: 0;
height: 0;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent #fff;
}
.sc-embed-playing {
background: #111;
}
.sc-embed-frame {
display: block;
width: 100%;
height: 100%;
border: 0;
}
.sc-embed-fallback {
margin: 0.5em 0 0;
font-size: 95%;
}
/* Aviary (Milken Archive et al.) audio/video embeds */
.aviary-embed {
position: relative;
margin: 0.75em 0 0.5em;
max-width: 720px;
background: #1a1a1a;
}
.aviary-embed-poster,
.aviary-embed.aviary-embed-playing {
aspect-ratio: 16 / 10;
width: 100%;
background: linear-gradient(145deg, #1e2a3a 0%, #111820 55%, #0a2030 100%);
}
.aviary-embed-poster {
position: relative;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
border: 0;
}
.aviary-embed-play {
display: flex;
align-items: center;
gap: 0.45em;
padding: 0.45em 0.9em 0.45em 0.6em;
border: 0;
border-radius: 4px;
background: #2f6fed;
color: #fff;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.aviary-embed-play-icon {
width: 0;
height: 0;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent #fff;
}
.aviary-embed-playing {
background: #111;
}
.aviary-embed-frame {
display: block;
width: 100%;
height: 100%;
border: 0;
}
.aviary-embed-fallback {
margin: 0.5em 0 0;
font-size: 95%;
}
/* Internet Archive embeds (Yiddish Book Center oral histories et al.) */
.ia-embed {
position: relative;
margin: 0.75em 0 0.5em;
max-width: 720px;
background: #1a1a1a;
}
.ia-embed-poster,
.ia-embed.ia-embed-playing {
aspect-ratio: 16 / 9;
width: 100%;
background: linear-gradient(145deg, #2b2b2b 0%, #111 55%, #1a2a3a 100%);
}
.ia-embed-poster {
position: relative;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
border: 0;
}
.ia-embed-play {
display: flex;
align-items: center;
gap: 0.45em;
padding: 0.45em 0.9em 0.45em 0.6em;
border: 0;
border-radius: 4px;
background: #2c5aa0;
color: #fff;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.ia-embed-play-icon {
width: 0;
height: 0;
border-style: solid;
border-width: 8px 0 8px 14px;
border-color: transparent transparent transparent #fff;
}
.ia-embed-playing {
background: #111;
}
.ia-embed-frame {
display: block;
width: 100%;
height: 100%;
border: 0;
}
.ia-embed-fallback {
margin: 0.5em 0 0;
font-size: 95%;
}
.soldier-media-cue {
margin: 0.65em 0 1em;
}
.soldier-interview-cue,
.soldier-film-cue {
margin: 0 0 0.45em;
padding: 0.55em 0.75em;
border-left: 3px solid #7a3e12;
background: #faf6f1;
font-size: 97%;
}
.soldier-film-cue {
border-left-color: #2a4b7c;
background: #f4f7fb;
}
.soldier-interview-cue-label,
.soldier-film-cue-label {
font-weight: 600;
margin-right: 0.25em;
}
/* Premise strip + books filters + family needs */
.home-premise {
  max-width: 42rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #6b3a2a;
  background: linear-gradient(90deg, rgba(107,58,42,0.08), transparent);
}
.home-premise-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.home-premise-links {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}
.books-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.books-filter {
  border: 1px solid #bbb;
  background: #f7f7f7;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  font: inherit;
}
.books-filter.is-active {
  background: #6b3a2a;
  color: #fff;
  border-color: #6b3a2a;
}
.notable-slide-card.is-book-hidden {
  display: none !important;
}
.soldier-related-media {
  margin: 0.5rem 0 0.85rem;
}
.class-story {
  margin: 0.6rem 0 0.9rem;
  padding: 0.5rem 0.75rem;
  background: #f3f0ea;
  border-left: 3px solid #6b3a2a;
}
.soldier-related-media-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
}