Add searchable speeches archive

This commit is contained in:
Loyyd 2026-06-11 14:19:56 +02:00
parent d74495ddef
commit 09c4548942
6 changed files with 624 additions and 1 deletions

View file

@ -21,4 +21,139 @@ body.custom-background { background-color: #ffffff; }
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; }
#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;
}
}