- Text contrast: teal text and button fills use #0f7183 (5.7:1), section accents darkened to pass on white, solid CTA buttons instead of the gradient, footer and subnav text raised to white/65, event and region colours kept on borders and swatches with ink text - Hidden carousel slides and collapsed past events are inert - Admin list rows carry a real link for keyboard use - Mobile menu is a modal dialog: focus, Escape, inert background, above the header - Skip to content link, one focus-visible ring, reduced-motion rule, focus rings on the calendar inputs - Region headings hold their button instead of sitting inside it - font-700 style classes (not Tailwind v4 utilities) replaced with named weights, and the 700/800 font files loaded - Migration 038: alt text for blog covers and schedule graphics; event logos next to their title are decorative - Drop the Church Center script from index.html; Giving loads it itself Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
209 lines
5.2 KiB
CSS
209 lines
5.2 KiB
CSS
@import '@fontsource/montserrat/400.css';
|
|
@import '@fontsource/montserrat/600.css';
|
|
@import '@fontsource/montserrat/700.css';
|
|
@import '@fontsource/poppins/400.css';
|
|
@import '@fontsource/poppins/600.css';
|
|
@import '@fontsource/poppins/700.css';
|
|
@import '@fontsource/poppins/800.css';
|
|
|
|
@import 'tailwindcss';
|
|
|
|
@theme {
|
|
--font-display: 'Poppins', sans-serif;
|
|
--font-body: 'Montserrat', sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* One visible focus ring for keyboard users, wherever a component
|
|
doesn't draw its own. */
|
|
:focus-visible {
|
|
outline: 2px solid #0f7183;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Visitors who ask for less motion get no smooth scrolling, slides
|
|
or hover zooms. */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
background-color: #ffffff;
|
|
color: #073d4a;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Scrollbar hide */
|
|
::-webkit-scrollbar { width: 6px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: rgba(19, 139, 160, 0.4); border-radius: 3px; }
|
|
|
|
|
|
|
|
.ig-icon { fill: currentColor; transition: fill 200ms ease; }
|
|
.ig-link:hover .ig-icon { fill: var(--ig-fill); }
|
|
.footer-icons:hover .ig-icon { fill: var(--ig-fill); }
|
|
.fb-icon:hover { fill: #0862f7; }
|
|
.ds-icon:hover { fill: #5865f1; }
|
|
|
|
|
|
/* Event Card Section */
|
|
.ev-card {
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.ev-grid {
|
|
display: grid;
|
|
gap: 0.25rem 1.5rem;
|
|
grid-template-columns: 2fr 1fr;
|
|
grid-template-areas:
|
|
"ngu image"
|
|
"info image"
|
|
"desc desc";
|
|
}
|
|
|
|
.ev-ngu {
|
|
grid-area: ngu;
|
|
}
|
|
|
|
.ev-info {
|
|
grid-area: info;
|
|
}
|
|
|
|
.ev-image {
|
|
grid-area: image;
|
|
justify-self: stretch;
|
|
align-self: center;
|
|
max-height: 11rem;
|
|
}
|
|
|
|
.ev-desc {
|
|
grid-area: desc;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
@container (max-width: 30rem) {
|
|
.ev-grid {
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas:
|
|
"ngu"
|
|
"info"
|
|
"desc";
|
|
}
|
|
|
|
.ev-grid .ev-image {
|
|
justify-self: start;
|
|
width: auto;
|
|
max-height: 7rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════
|
|
SKELETON
|
|
Holds roughly a card's height so the page doesn't jump when the
|
|
data arrives. The shimmer is decoration, so it goes away for
|
|
anyone who has asked for less motion.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
.skeleton {
|
|
border-radius: 1.5rem;
|
|
min-height: 22rem;
|
|
background: linear-gradient(
|
|
100deg,
|
|
rgba(0, 0, 0, 0.04) 30%,
|
|
rgba(0, 0, 0, 0.08) 50%,
|
|
rgba(0, 0, 0, 0.04) 70%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes skeleton-shimmer {
|
|
from {
|
|
background-position: 200% 0;
|
|
}
|
|
to {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.skeleton {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════
|
|
UNITY REGIONS
|
|
Append to index.css. Scoped to .ur- so nothing here reaches the
|
|
rest of the site.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
/* The 0fr → 1fr grid row animates to the panel's real height, so
|
|
nobody has to guess a max-height that's wrong the moment a
|
|
region's description grows. The inline style sets the value;
|
|
this sets how it moves. */
|
|
.ur-panel {
|
|
display: grid;
|
|
transition: grid-template-rows 300ms ease;
|
|
}
|
|
|
|
.ur-chevron {
|
|
transition: transform 200ms ease;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ur-panel,
|
|
.ur-chevron {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════
|
|
ORGANIZATION LIST
|
|
Append to index.css. Scoped to .ol- so nothing here reaches the
|
|
rest of the site.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
/* The 0fr → 1fr grid row animates to the panel's real height, so
|
|
nobody has to guess a max-height that's wrong the moment a
|
|
description grows. The inline style sets the value; this sets
|
|
how it moves. */
|
|
.ol-panel {
|
|
display: grid;
|
|
transition: grid-template-rows 300ms ease;
|
|
}
|
|
|
|
.ol-chevron {
|
|
transition: transform 200ms ease;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ol-panel,
|
|
.ol-chevron {
|
|
transition: none;
|
|
}
|
|
}
|