familyfedie-website/css/site.css

482 lines
9.3 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(2, 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;
}
.speech-result-meta {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.speech-result-meta 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;
}
}
/* 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;
}
/* Static events calendar. */
.events-calendar-page .entry-content {
max-width: 100%;
}
.familyfed-calendar {
display: grid;
gap: 16px;
}
.calendar-toolbar,
.calendar-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.calendar-toolbar {
justify-content: space-between;
}
.calendar-title {
margin: 0;
color: #333333;
font-size: 28px;
line-height: 1.2;
text-align: center;
}
.calendar-nav-button,
.calendar-secondary-button {
min-height: 38px;
border: 1px solid #d8d8d0;
border-radius: 4px;
color: #333333;
background: #ffffff;
cursor: pointer;
}
.calendar-nav-button {
width: 42px;
font-size: 26px;
line-height: 1;
}
.calendar-secondary-button {
padding: 8px 12px;
}
.calendar-nav-button:hover,
.calendar-nav-button:focus,
.calendar-secondary-button:hover,
.calendar-secondary-button:focus {
border-color: #bf4d28;
color: #bf4d28;
}
.calendar-search {
display: grid;
gap: 5px;
min-width: min(100%, 280px);
color: #444444;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
}
.calendar-search input {
box-sizing: border-box;
width: 100%;
min-height: 38px;
margin: 0;
text-transform: none;
}
.calendar-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
gap: 18px;
align-items: start;
}
.calendar-grid-wrap,
.calendar-panel {
border: 1px solid #eeeeee;
border-radius: 6px;
background: #ffffff;
}
.calendar-weekdays,
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-weekdays {
border-bottom: 1px solid #eeeeee;
background: #fbfbf8;
}
.calendar-weekdays span {
padding: 10px 8px;
color: #5c5c56;
font-size: 12px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
}
.calendar-day {
display: grid;
grid-template-rows: auto 1fr;
gap: 6px;
min-height: 112px;
padding: 8px;
border: 0;
border-right: 1px solid #eeeeee;
border-bottom: 1px solid #eeeeee;
color: #333333;
background: #ffffff;
text-align: left;
cursor: pointer;
}
.calendar-day:nth-child(7n) {
border-right: 0;
}
.calendar-day:hover,
.calendar-day:focus {
outline: 2px solid #bf4d28;
outline-offset: -2px;
}
.calendar-day-muted {
color: #8c8c86;
background: #fbfbf8;
}
.calendar-day-today .calendar-day-number {
border-color: #d5e6b3;
color: #365d26;
background: #f2f7e8;
}
.calendar-day-selected {
box-shadow: inset 0 0 0 2px #bf4d28;
}
.calendar-day-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
min-height: 28px;
border: 1px solid transparent;
border-radius: 50%;
font-weight: 700;
}
.calendar-day-events {
display: grid;
gap: 4px;
align-content: start;
}
.calendar-event-pill,
.calendar-event-more {
overflow: hidden;
padding: 3px 6px;
border-radius: 4px;
font-size: 12px;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.calendar-event-pill {
color: #365d26;
background: #f2f7e8;
}
.calendar-event-more {
color: #5c5c56;
background: #f7f7f2;
}
.calendar-panel {
padding: 16px;
}
.calendar-panel h3 {
margin: 0 0 12px;
font-size: 20px;
}
.calendar-event-list {
display: grid;
gap: 12px;
}
.calendar-event-card {
padding: 12px;
border: 1px solid #eeeeee;
border-radius: 6px;
background: #fbfbf8;
}
.calendar-event-card h4 {
margin: 0 0 6px;
font-size: 18px;
line-height: 1.25;
}
.calendar-event-card p {
margin: 0 0 7px;
}
.calendar-event-date {
color: #5c5c56;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
}
.calendar-empty {
margin: 0;
color: #5c5c56;
}
@media (max-width: 900px) {
.calendar-layout {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.calendar-title {
font-size: 22px;
}
.calendar-actions {
align-items: stretch;
}
.calendar-actions > * {
width: 100%;
}
.calendar-weekdays span {
padding: 8px 2px;
font-size: 11px;
}
.calendar-day {
min-height: 78px;
padding: 5px;
}
.calendar-event-pill,
.calendar-event-more {
font-size: 11px;
}
}