familyfedie-website/css/site.css
2026-06-11 17:51:26 +00:00

450 lines
9 KiB
CSS

/* Shared site fixes extracted from repeated inline styles. */
body.custom-background { background-color: #ffffff; }
/* General fix for the header image */
#bg_image {
width: 100%; /* Scale the image to fit the container */
height: auto; /* Maintain aspect ratio to avoid stretching */
max-width: 100%; /* Prevent the image from exceeding container width */
}
/* Mobile-specific fix for the header image */
@media (max-width: 768px) {
#bg_image {
object-fit: contain; /* Ensure the entire image is visible */
width: 100%; /* Let the image adjust to screen width */
height: auto; /* Maintain aspect ratio */
}
}
/* Shortcodes Ultimate column rule used by exported content. */
.su-column-size-1-4{
width:18%;
}
/* Homepage slider/frontpage settings from the original export. */
#colophon {display: none;} .slider-wrapper { max-width: 1200px; } #slider{ max-width: 1200px; max-height: 350px; border:0px solid #ffffff; } #front-text1, #front-text2 { color: #212121; } #front-columns > div { width: 32%; } #front-columns > div.ppcolumn:nth-child(3n) { margin-right: 0; } #front-columns > div.ppcolumn:nth-child(3n+1) { clear: left; } .column-image { padding: 0px; } .column-image h3 {margin-bottom: 0px; } .column-image img { max-height:201px;} .nivo-caption { background-color: rgb(252,250,250); background-color: rgba(252,250,250,0.7); } .nivo-caption, .nivo-caption a { color: #0e2012; } .theme-default .nivoSlider { background-color: #ffffff; } .theme-default .nivo-controlNav:before, .theme-default .nivo-controlNav:after { border-top-color:#ffffff; } .theme-default .nivo-controlNav { background-color:#ffffff; } .slider-bullets .nivo-controlNav a { background-color: #fdf7f7; } .slider-bullets .nivo-controlNav a:hover { background-color: #fdfcfc; } .slider-bullets .nivo-controlNav a.active {background-color: #ffffff; } .slider-numbers .nivo-controlNav a { color:#fdf7f7; background-color:#F7F7F2;} .slider-numbers .nivo-controlNav a:hover { color: #fdfcfc; background-color:#FFFFFF } .slider-numbers .nivo-controlNav a.active { color:#ffffff;} .column-image h3{ color: #333333; background-color: rgb(255,255,255); } .columnmore { background-color: #F7F7F2; } .columnmore:before { border-bottom-color: #F7F7F2; } #front-columns h3.column-header-noimage { background: #FFFFFF; }
/* Searchable speeches archive. */
.speeches-archive .entry-content {
max-width: 100%;
}
.speech-filters {
display: grid;
grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(150px, 1fr)) auto;
gap: 12px;
align-items: end;
margin: 0 0 18px;
padding: 16px;
border: 1px solid #eeeeee;
background: #fbfbf8;
}
.speech-filter {
min-width: 0;
}
.speech-filter label {
display: block;
margin-bottom: 5px;
color: #444444;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
}
.speech-filter input,
.speech-filter select {
box-sizing: border-box;
width: 100%;
min-height: 38px;
margin: 0;
}
.speech-reset {
min-height: 38px;
padding: 8px 12px;
border: 1px solid #d8d8d0;
border-radius: 4px;
color: #333333;
background: #ffffff;
cursor: pointer;
}
.speech-reset:hover,
.speech-reset:focus {
border-color: #bf4d28;
color: #bf4d28;
}
.speech-archive-status {
margin: 0 0 14px;
color: #666666;
}
.speech-results {
display: grid;
gap: 12px;
}
.speech-result {
padding: 16px;
border: 1px solid #eeeeee;
border-radius: 6px;
background: #ffffff;
}
.speech-result-title {
margin: 4px 0 8px;
font-size: 24px;
line-height: 1.2;
}
.speech-result p {
margin: 0 0 10px;
}
.speech-result-meta,
.speech-result-categories {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.speech-result-meta span,
.speech-result-categories span {
display: inline-flex;
align-items: center;
min-height: 22px;
padding: 2px 8px;
border: 1px solid #eeeeee;
border-radius: 4px;
color: #5c5c56;
background: #f7f7f2;
font-size: 12px;
line-height: 1.2;
}
.speech-result-meta span:first-child {
border-color: #d5e6b3;
color: #365d26;
background: #f2f7e8;
}
.speech-empty-state {
padding: 22px;
border: 1px solid #eeeeee;
border-radius: 6px;
background: #ffffff;
}
@media (max-width: 900px) {
.speech-filters {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.speech-filter-search,
.speech-reset {
grid-column: 1 / -1;
}
}
@media (max-width: 560px) {
.speech-filters {
grid-template-columns: 1fr;
}
.speech-result-title {
font-size: 21px;
}
}
/* Events calendar. */
.events-page-shell {
box-sizing: border-box;
width: min(1100px, calc(100% - 40px));
margin: 0 auto;
padding: 28px 0 44px;
}
.events-page-header {
margin: 0 0 22px;
}
.events-page-kicker {
margin: 0 0 6px;
color: #5f7f38;
font-size: 13px;
font-weight: 700;
letter-spacing: 0;
text-transform: uppercase;
}
.events-page-header h1,
.events-calendar-heading h2,
.events-past h2,
.events-past-item h3 {
color: #2f332c;
}
.events-page-header h1 {
margin: 0 0 8px;
font-size: 32px;
line-height: 1.18;
}
.events-page-header p:last-child {
max-width: 680px;
margin: 0;
color: #5a5d56;
font-size: 16px;
line-height: 1.55;
}
.events-calendar-panel,
.events-past {
border: 1px solid #e5e2d8;
border-radius: 8px;
background: #ffffff;
}
.events-calendar-panel {
overflow: hidden;
}
.events-calendar-heading {
display: flex;
flex-wrap: wrap;
gap: 12px 18px;
align-items: center;
justify-content: space-between;
padding: 20px 22px;
border-bottom: 1px solid #e5e2d8;
background: #fafbf7;
}
.events-calendar-heading h2,
.events-past h2 {
margin: 0;
font-size: 24px;
line-height: 1.25;
}
.events-calendar-heading p {
margin: 0;
padding: 7px 11px;
border: 1px solid #d6e3c1;
border-radius: 999px;
color: #3d662c;
background: #f0f7e8;
font-size: 14px;
line-height: 1.25;
}
.events-calendar-grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
background: #e9e5db;
gap: 1px;
}
.events-calendar-weekday,
.events-calendar-day {
box-sizing: border-box;
min-width: 0;
background: #ffffff;
}
.events-calendar-weekday {
min-height: 42px;
padding: 12px 8px;
color: #676961;
font-size: 12px;
font-weight: 700;
line-height: 1.2;
text-align: center;
text-transform: uppercase;
}
.events-calendar-day {
display: flex;
align-items: flex-start;
min-height: 92px;
padding: 10px;
color: #34372f;
font-size: 15px;
font-weight: 700;
line-height: 1;
}
.events-calendar-day--weekend {
background: #fbfaf7;
}
.events-calendar-day--outside-month {
color: #97978f;
background: #f5f4ef;
}
.events-calendar-day--today {
color: #ffffff;
background: #5f7f38;
}
.events-past {
margin-top: 24px;
padding: 22px;
}
.events-past-list {
display: grid;
gap: 14px;
margin-top: 16px;
}
.events-past-item {
display: grid;
grid-template-columns: 76px minmax(0, 1fr);
gap: 16px;
align-items: center;
padding: 14px;
border: 1px solid #ece8dd;
border-radius: 6px;
background: #fdfdfb;
}
.events-past-date {
display: grid;
place-items: center;
min-height: 76px;
border: 1px solid #d9d3c5;
border-radius: 6px;
color: #575b50;
background: #ffffff;
line-height: 1.1;
text-align: center;
text-transform: uppercase;
}
.events-past-date strong {
color: #bf4d28;
font-size: 27px;
line-height: 1;
}
.events-past-date span {
font-size: 12px;
font-weight: 700;
}
.events-past-item p {
margin: 0 0 4px;
color: #6b6d66;
font-size: 13px;
}
.events-past-item h3 {
margin: 0;
font-size: 20px;
line-height: 1.25;
}
@media (max-width: 760px) {
.events-page-shell {
width: min(100% - 24px, 1100px);
padding-top: 20px;
}
.events-page-header h1 {
font-size: 27px;
}
.events-calendar-heading,
.events-past {
padding: 16px;
}
.events-calendar-grid {
overflow-x: auto;
grid-template-columns: repeat(7, minmax(52px, 1fr));
}
.events-calendar-weekday {
min-height: 36px;
padding: 10px 4px;
font-size: 11px;
}
.events-calendar-day {
min-height: 58px;
padding: 8px;
font-size: 14px;
}
.events-past-item {
grid-template-columns: 64px minmax(0, 1fr);
gap: 12px;
}
.events-past-date {
min-height: 64px;
}
}
/* Contact page form. */
.contact-form {
display: grid;
gap: 14px;
max-width: 620px;
margin: 22px 0 0;
}
.contact-field label {
display: block;
margin-bottom: 5px;
color: #444444;
font-size: 13px;
font-weight: 700;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
box-sizing: border-box;
width: 100%;
margin: 0;
}
.contact-field input,
.contact-field select {
min-height: 38px;
}
.contact-field textarea {
min-height: 150px;
resize: vertical;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
outline: 2px solid #bf4d28;
outline-offset: 2px;
}
.contact-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}
.contact-actions .button {
margin: 0;
cursor: pointer;
}
.contact-form-status {
min-height: 1.4em;
margin: 0;
color: #5c5c56;
}