adding articles

This commit is contained in:
Nasir Anthony Montalvo
2026-01-06 18:36:54 -06:00
parent 1d3b0ffd3b
commit 22c205b3d9
24 changed files with 1830 additions and 592 deletions

View File

@@ -2,9 +2,8 @@
Put your custom SCSS here!
This allows you to override any CollectionBuilder or Bootstrap CSS without modifying the base theme files directly.
*/
/* =========================
Base Color System
========================= */
/* base colors */
:root {
--bg-black: #000000;
@@ -13,9 +12,7 @@
--text-muted: #bfbfbf;
--border-white: #ffffff;
}
/* =========================
Global Black Site
========================= */
/* global black */
body {
background-color: var(--bg-black);
@@ -27,7 +24,8 @@ input, textarea {
::placeholder {
color: rgba(255,255,255,0.6);
}
/* === Site title / navbar title color === */
/* forcing color fixes */
.navbar-brand,
.navbar-brand a,
@@ -36,19 +34,16 @@ input, textarea {
.navbar-dark .navbar-brand:hover {
color: #ffffff !important;
}
/* === Make muted text readable on black === */
.text-muted {
color: rgba(255, 255, 255, 0.65) !important;
}
/* === Force site title in navbar to white === */
header .navbar-brand,
header .navbar-brand *,
#home-banner-logo {
color: #ffffff !important;
}
/* === Nuclear fix: make all header links white === */
header a,
header a * {
@@ -58,54 +53,41 @@ header a * {
#header a * {
color: #ffffff !important;
}
/* Only change the inner-page site title */
#title a.text-dark,
#title a.text-dark:hover,
#title a.text-dark:focus {
color: #ffffff !important;
}
/* =========================
Footer layout + logo
========================= */
/* top row: text/nav left, logo right (from footer.html .footer-top row) */
/*footer styling */
.footer-top {
align-items: stretch;
}
/* footer logo wrapper */
.footer-logo-spinner {
display: flex;
justify-content: flex-end; /* align logo to the right on desktop */
padding: 0.5rem 0;
}
/* video sizing */
.footer-logo-spinner video {
width: 300px; /* tweak as needed */
max-width: 100%; /* dont overflow on small screens */
height: auto;
}
/* Respect accessibility: reduce extra visual processing for motion-sensitive users */
/* Note: this does NOT actually stop the video, but avoids adding any extra CSS animation effects. */
@media (prefers-reduced-motion: reduce) {
.footer-logo-spinner video {
animation: none !important; /* in case we ever add keyframe animation later */
filter: grayscale(30%); /* optional styling touch, keep or remove as you like */
animation: none !important;
filter: grayscale(30%);
}
}
/* bottom strip (built with CB + last updated) */
#footer-credits {
text-align: center;
margin-top: 1rem;
}
/* -------------------------
Dark theme & item cards
------------------------- */
.bg-dark,
.navbar-dark.bg-dark,
footer.bg-dark {
@@ -127,7 +109,7 @@ footer a:hover {
color: #cccccc;
}
/* Single-item image card */
/* removing ugly white box on single item pages and fixing text colors */
main[role="main"] .card.mb-4.text-center {
background-color: transparent !important;
border: none !important;
@@ -139,14 +121,11 @@ main[role="main"] .card.mb-4.text-center img {
border: 1px solid rgba(255, 255, 255, 0.18);
}
/* “Click to view full screen” text */
main[role="main"] .text-center small {
color: rgba(255, 255, 255, 0.75) !important;
}
/* -------------------------
Links
------------------------- */
/* links */
a {
text-decoration: underline;
@@ -166,9 +145,7 @@ a:hover {
color: #bfbfbf;
}
/* -------------------------
Buttons global
------------------------- */
/* buttons, color n animations */
.btn,
.btn-outline-secondary,
@@ -193,7 +170,7 @@ a:hover {
text-decoration: none;
}
/* Buttons on white / light cards */
/* fixing card buttons */
.card .btn,
.bg-white .btn,
.bg-light .btn {
@@ -212,11 +189,7 @@ a:hover {
color: #ffffff !important;
}
/* -------------------------
Browse page controls
------------------------- */
/* Search + Reset attached to browse search field */
/* browse colors */
#browse .input-group .btn {
background-color: #000000 !important;
color: #ffffff !important;
@@ -230,9 +203,7 @@ a:hover {
color: #000000 !important;
}
/* -------------------------
Navbar search button
------------------------- */
/* fixing navbar search colors */
.navbar .input-group .btn {
border-radius: 0 4px 4px 0;
@@ -247,9 +218,7 @@ a:hover {
fill: #ffffff !important;
}
/* -------------------------
Item-page buttons
------------------------- */
/* item page buttons */
body.item-page main[role="main"] .text-center a.btn {
display: inline-block;
@@ -266,7 +235,6 @@ body.item-page main[role="main"] .text-center a.btn:focus {
color: #000000 !important;
}
/* “View on Map” / “Download JPG” buttons under main image */
main[role="main"] .card.mb-4.text-center .btn-group .btn-outline-primary {
background-color: transparent !important;
color: #ffffff !important;
@@ -281,9 +249,7 @@ main[role="main"] .card.mb-4.text-center .btn-group .btn-outline-primary:focus {
color: #000000 !important;
}
/* -------------------------
Map page FuseSearch
------------------------- */
/* map page colors */
.leaflet-fusesearch-panel .search-input {
color: #000000 !important;
@@ -295,9 +261,7 @@ main[role="main"] .card.mb-4.text-center .btn-group .btn-outline-primary:focus {
color: #555555 !important;
}
/* -------------------------
Homepage carousel button
------------------------- */
/* homepage browse carousel button */
.carousel .btn,
.carousel .btn-outline-primary {
@@ -313,9 +277,7 @@ main[role="main"] .card.mb-4.text-center .btn-group .btn-outline-primary:focus {
color: #000000 !important;
}
/* -------------------------
Typography
------------------------- */
/* font styling */
main h1,
main h2,
@@ -344,26 +306,21 @@ main p {
text-transform: uppercase;
font-size: 0.8rem;
}
/* =========================
Home Banner styling
========================= */
/* home banner styling */
#home-banner {
position: relative;
min-height: 380px;
max-height: 580px;
padding: 3.5rem 0 2.5rem;
background-color: #000; /* safety if image fails */
background-color: #000;
}
/* container that holds the title box + Featured Image pill */
#home-title-box {
position: relative;
}
/* inner dark rectangle with title + tagline */
#home-title-box > .p-2 {
/* turn the centered strip into a badge */
display: inline-block;
text-align: left;
padding: 1.25rem 1.6rem !important;
@@ -373,7 +330,6 @@ main p {
border: 1px solid rgba(255, 255, 255, 0.25);
}
/* title inside the banner */
#home-title-box h1 {
margin: 0;
font-size: clamp(2rem, 3.4vw, 3rem);
@@ -387,13 +343,12 @@ main p {
text-decoration: none;
}
/* tagline inside banner */
#home-title-box p {
margin: 0.35rem 0 0;
font-size: 0.95rem;
opacity: 0.85;
}
/* mobile: center the badge instead of left-aligning it */
@media (max-width: 767px) {
#home-title-box {
text-align: center;
@@ -402,10 +357,9 @@ main p {
margin-left: 0;
}
}
/* === Featured Image label on home hero === */
#home-banner {
position: relative; /* anchor for absolutely positioned label */
position: relative;
}
#home-banner .featured-image-label {
@@ -413,7 +367,7 @@ main p {
bottom: 0.75rem;
right: 1rem;
padding: 0.15rem 0.6rem;
background: rgba(0, 0, 0, 0.75); /* like the old design, but subtle */
background: rgba(0, 0, 0, 0.75);
}
#home-banner .featured-image-label a {
@@ -431,16 +385,14 @@ main p {
}
/* =========================
Subpage header (under nav)
========================= */
/* headers on all other pages */
main #title h1 {
margin: 0;
font-size: 1.5rem;
letter-spacing: 0.04em;
font-weight: 700;
text-transform: none; /* don't force all caps */
text-transform: none;
}
main #title h1 a {
@@ -463,9 +415,6 @@ main #title p {
font-size: 1.25rem;
}
}
/* =========================
Subpage header (below nav)
========================= */
#title {
padding: 1.5rem 0 1.1rem;
@@ -478,10 +427,9 @@ main #title p {
font-size: 1.5rem;
letter-spacing: 0.04em;
font-weight: 700;
text-transform: none; /* keep {B/qKC} style */
text-transform: none;
}
/* keep links looking like the site title, not underlined */
#title h1 a {
color: #ffffff !important;
text-decoration: none;
@@ -502,19 +450,318 @@ main #title p {
font-size: 1.25rem;
}
}
/* ---------------------------------
Card hover lift (non-modal only)
--------------------------------- */
/* Only apply when no Bootstrap modal is open.
When a modal is open, body gets .modal-open, so this shuts off. */
body:not(.modal-open) .card {
transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
/* animations */
.modal-content .card.mb-4.text-center small {
color: #000000 !important;
}
body:not(.modal-open) .card:hover {
.modal-content .card.mb-4.text-center .btn-group .btn-outline-primary {
background-color: transparent !important;
color: #000000 !important;
border: 1px solid #000000 !important;
border-radius: 4px;
text-decoration: none;
}
.modal-content .card.mb-4.text-center .btn-group .btn-outline-primary:hover,
.modal-content .card.mb-4.text-center .btn-group .btn-outline-primary:focus {
background-color: #000000 !important;
color: #ffffff !important;
}
.modal,
.modal * ,
.modal-backdrop {
transition: none !important;
animation: none !important;
}
html body main[role="main"] .modal-content .card.mb-4.text-center .btn-group .btn-outline-primary {
background-color: transparent !important;
color: #000000 !important;
border: 1px solid #000000 !important;
border-radius: 4px;
text-decoration: none;
}
html body main[role="main"] .modal-content .card.mb-4.text-center .btn-group .btn-outline-primary:hover,
html body main[role="main"] .modal-content .card.mb-4.text-center .btn-group .btn-outline-primary:focus {
background-color: #000000 !important;
color: #ffffff !important;
}
.modal .card.mb-4.text-center {
transition: none !important;
transform: none !important;
box-shadow: none !important;
}
.modal .card.mb-4.text-center:hover {
transform: none !important;
box-shadow: none !important;
}
main[role="main"] .card {
transition:
transform 150ms ease-out,
box-shadow 150ms ease-out,
border-color 150ms ease-out;
}
main[role="main"] .card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
border-color: #ffffff;
}
/* animations off for compound cards (can't figure out bug that keeps them flickering) */
main[role="main"] .row.row-cols-lg-4.g-2 .card,
main[role="main"] .row.row-cols-lg-4.g-2 .card:hover {
transform: none !important;
box-shadow: none !important;
border-color: #000000 !important;
}
.modal .card,
.modal .card:hover {
transform: none !important;
box-shadow: none !important;
border-color: inherit !important;
transition: none !important;
}
/* two block quote styles */
.quote-line {
margin: 2rem 0;
padding-left: 1.25rem;
border-left: 4px solid #bbbbbb;
color: #dddddd;
}
.quote-line p {
margin: 0.5rem 0;
}
.quote-line .quote-attrib {
font-size: 0.9rem;
color: #aaaaaa;
font-style: italic;
}
.quote-box {
background-color: #ffffff;
color: #000000;
padding: 1.75rem 2rem;
margin: 2.5rem 0;
border-radius: 4px;
}
.quote-box .quote-text {
font-size: 1.1rem;
font-style: italic;
margin-bottom: 1rem;
}
.quote-box .quote-attrib {
font-size: 0.9rem;
text-align: right;
}
blockquote {
max-width: 700px;
}
/* =========================
ABOUT TOC
========================= */
#about-toc {
background-color: #000000;
padding: 1rem;
margin-bottom: 2rem;
position: sticky;
top: 1rem;
}
/* Remove Bootstrap italics everywhere */
#about-toc,
#about-toc * {
font-style: normal;
}
#about-toc-title .btn {
background-color: #000000;
color: #ffffff;
width: 100%;
text-align: left;
padding: 0.5rem 0.75rem;
}
#about-toc-title .btn:hover,
#about-toc-title .btn:focus {
background-color: #111111;
}
#about-toc-title svg {
float: right;
fill: #ffffff;
}
#about-toc-list {
background-color: #000000;
padding-top: 1rem;
}
#about-toc-list ul {
list-style: none;
padding-left: 0;
}
#about-toc-list li {
margin-bottom: 0.4rem;
}
/* TOC links */
#about-toc-list a {
color: #ffffff;
text-decoration: none;
font-size: 0.8rem;
line-height: 1.3;
opacity: 0.3;
position: relative;
padding-left: 0.75rem;
}
#about-toc-list a:hover {
opacity: 0.6;
}
/* Active section indicator */
#about-toc-list a.active {
opacity: 1;
}
#about-toc-list a.active::before {
position: absolute;
left: 0;
top: 0.25em;
height: 1em;
width: 3px;
background-color: #ffffff;
}
/* Nested hierarchy */
#about-toc-list ul ul {
padding-left: 1rem;
border-left: 1px solid #444444;
margin-top: 0.25rem;
align-items: left;
}
#about-toc-list ul ul a {
font-size: 0.75rem;
}
@media (max-width: 768px) {
/* TOC card stacks above the back-to-top button */
#about-toc {
position: sticky; /* keeps it visible when scrolling */
bottom: 1rem; /* push it above the button */
margin-bottom: 0; /* remove default bottom margin */
z-index: 998; /* below the button (which is 9999) */
max-width: 95%; /* optional: prevent full width to fit nicely */
margin-left: auto;
margin-right: auto;
}
/* keep back-to-top floating above TOC */
#scroll-to-top {
position: fixed;
bottom: 4.5rem;
right: 1rem;
z-index: 9999; /* always on top */
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}
#scroll-to-top:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
/* interp/about page */
#about-wrapper {
display: grid;
grid-template-columns: 250px 1fr;
gap: 2rem;
}
#about-contents-wrapper {
max-width: 800px;
padding: 0 2rem;
margin: 0 auto;
}
#about-contents-wrapper p {
max-width: 70ch;
line-height: 1.6;
}
@media (max-width: 992px) {
#about-wrapper {
display: block;
}
#about-contents-wrapper {
max-width: 100%;
padding: 1rem;
}
}
/* wrapped images */
.float-img {
max-width: 40%;
margin: 0.5rem 1.5rem 1rem 0;
}
.float-left {
float: left;
}
.float-right {
float: right;
margin: 0.5rem 0 1rem 1.5rem;
}
.float-img img {
width: 100%;
height: auto;
display: block;
}
.float-img .caption {
font-size: 0.75rem;
color: #bbbbbb;
margin-top: 0.25rem;
}
.clearfix::after {
content: "";
display: block;
clear: both;
}
@media (max-width: 768px) {
.float-img {
float: none;
max-width: 100%;
margin: 1rem 0;
}
}