Vorlage:Hauptseite/style.css: Unterschied zwischen den Versionen
Erscheinungsbild
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
RaWen (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| (10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* Header */ | /* Header */ | ||
.wiki-header { | .wiki-header { | ||
| Zeile 17: | Zeile 4: | ||
} | } | ||
.header | .wiki-header img { | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
display: block; | display: block; | ||
border-radius: | border-radius: 6px; | ||
} | |||
/* Dark Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .wiki-header img { | |||
filter: grayscale(1) invert(1); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .wiki-header img { | |||
filter: grayscale(1) invert(1); | |||
} | |||
} | } | ||
/* Grid | /* Grid (responsive, 2 Spalten) */ | ||
.content-grid { | .content-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); | ||
gap: 1.25rem; | gap: 1.25rem; | ||
width: 100%; | |||
overflow: visible; | |||
box-sizing: border-box; | |||
} | } | ||
/* | .content-grid > * { | ||
min-width: 0; | |||
overflow-wrap: break-word; | |||
} | |||
/* Content-Boxen */ | |||
.content-box { | .content-box { | ||
position: relative; | |||
display: inline-block; | |||
margin-bottom: 1.5rem; | |||
transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease-in; | |||
transform-origin: center; | |||
} | } | ||
.content-box:hover { | @media screen and (min-width: 769px) { | ||
transform: scale(1. | .content-box:hover { | ||
transform: scale(1.0125); | |||
transition: transform 0.5s ease-in; | transition: transform 0.5s ease-in; | ||
border-color: rgba(0,0,0,0.12); | border-color: rgba(0,0,0,0.12); | ||
} | |||
} | |||
/* Dark-Mode Hover-Border */ | |||
@media screen and (min-width: 769px) { | |||
html.skin-theme-clientpref-night .content-box:hover { | |||
border-color: rgba(255,255,255,0.2); | |||
} | |||
} | |||
@media screen and (min-width: 769px) and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .content-box:hover { | |||
border-color: rgba(255,255,255,0.2); | |||
} | |||
} | } | ||
/* Header | /* Header (Überschrift) */ | ||
.box-header { | .box-header { | ||
position: relative; | position: relative; | ||
| Zeile 57: | Zeile 78: | ||
border-radius: 6px 6px 0 0; | border-radius: 6px 6px 0 0; | ||
margin: 0; | margin: 0; | ||
margin-bottom: -5px; | |||
margin-bottom: -5px; | } | ||
/* Head Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .box-header { | |||
background: rgba(255,255,255,0.1); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .box-header { | |||
background: rgba(255,255,255,0.1); | |||
} | |||
} | } | ||
/* Content-Bereich */ | /* Content-Bereich */ | ||
.box-content { | .box-content { | ||
background: #fff; | |||
position: relative; | |||
padding: 0.8rem 1.4rem 1rem; | |||
border: 2px solid rgba(0,0,0,0.08); | |||
border-radius: 6px; | |||
box-shadow: 0 0.3rem 0.8rem rgba(51,51,51,0.08); | |||
} | |||
.box-content p:last-child, | |||
.box-content p:last-of-type { | |||
margin-bottom: 0; | |||
} | |||
.box-content p:last-of-type:not(:last-child) { | |||
margin-bottom: 0.75rem; | |||
} | |||
/* Content Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .box-content { | |||
background: #000; | |||
border-color: rgba(255,255,255,0.2); | |||
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.6), | |||
0 0.1rem 0.3rem rgba(0,0,0,0.4); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .box-content { | |||
background: #000; | |||
border-color: rgba(255,255,255,0.2); | |||
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.6), | |||
0 0.1rem 0.3rem rgba(0,0,0,0.4); | |||
} | |||
} | |||
.box-content:not(.photos) img { | |||
border-radius: 10px; | |||
height: auto; | |||
margin: 0.8rem auto 0.4rem auto; | |||
width: 90%; | |||
box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.15); | |||
} | |||
.within img { | |||
margin-top: 0 !important; | |||
} | |||
.foerderverein img { | |||
width: auto !important; | |||
max-width: none !important; | |||
box-shadow: none !important; | |||
border-radius: 0 !important; | |||
display: inline !important; | |||
margin: 0 !important; | |||
height: auto !important; | |||
} | } | ||
| Zeile 77: | Zeile 159: | ||
padding: 0; | padding: 0; | ||
font-weight: bold; | font-weight: bold; | ||
font-family: sans-serif; | |||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
/* | /* Head-Text Dark Mode */ | ||
.box- | @media screen { | ||
html.skin-theme-clientpref-night .box-header h2 { | |||
color: #f0f0f0; | |||
} | |||
} | } | ||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .box-header h2 { | |||
color: #f0f0f0; | |||
} | |||
} | |||
/* | /* Bilder */ | ||
.photos { | .photos { | ||
position: relative; | position: relative; | ||
padding: 0; | padding: 0; | ||
background: transparent !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | border: none !important; | ||
width: | width: 90%; | ||
} | } | ||
.photos img { | .photos img { | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
display: block; | display: block; | ||
border-radius: 6px; | border-radius: 6px; | ||
box-shadow: 0 0.3rem 0.8rem rgba(51,51,51,0.08); | box-shadow: 0 0.3rem 0.8rem rgba(51,51,51,0.08); | ||
} | |||
/* Dark Mode Foto-Schatten */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .photos img { | |||
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.7), | |||
0 0.1rem 0.4rem rgba(0,0,0,0.5); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .photos img { | |||
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.7), | |||
0 0.1rem 0.4rem rgba(0,0,0,0.5); | |||
} | |||
} | } | ||
.photos .more-link { | .photos .more-link { | ||
width: 100%; | width: 100%; | ||
margin: 1rem 0 0; | margin: 1rem 0 0; | ||
} | } | ||
/* Stimmen zum HammWiki */ | /* Stimmen zum HammWiki */ | ||
.testimonial { | .testimonial { | ||
margin: 1.5rem 0; | margin: 1.5rem 0; | ||
| Zeile 119: | Zeile 221: | ||
.testimonial img { | .testimonial img { | ||
float: right; | float: right; | ||
margin: 0 0 0.5rem 1rem; | margin: 0 0 0.5rem 1rem !important; | ||
border-radius: 4px; | border-radius: 4px !important; | ||
width: auto !important; | |||
max-width: none !important; | |||
box-shadow: none !important; | |||
display: inline !important; | |||
margin: 0 !important; | |||
height: auto !important; | |||
} | } | ||
.author,.highlight-marker { | .author, .highlight-marker { | ||
margin: 0 0 0.5rem 0; | margin: 0 0 0.5rem 0; | ||
line-height: 1.7; | line-height: 1.7; | ||
border-bottom: 2px solid #80dbfb; | border-bottom: 2px solid #80dbfb; | ||
} | |||
.author a:hover, .highlight-marker a:hover { | |||
text-decoration: none; | |||
color: #f97547; | |||
} | } | ||
| Zeile 133: | Zeile 246: | ||
line-height: 1.7; | line-height: 1.7; | ||
border-bottom: 2px solid #ff0f0f; | border-bottom: 2px solid #ff0f0f; | ||
} | |||
/* Warnung Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .warning-marker { | |||
border-bottom-color: #ff6b6b; | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .warning-marker { | |||
border-bottom-color: #ff6b6b; | |||
} | |||
} | } | ||
.testimonial .author small { | .testimonial .author small { | ||
color: #666; | color: #666; | ||
} | |||
/* Subtiler Text Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .testimonial .author small { | |||
color: #aaa; | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .testimonial .author small { | |||
color: #aaa; | |||
} | |||
} | } | ||
| Zeile 143: | Zeile 282: | ||
line-height: 1.5; | line-height: 1.5; | ||
font-family: "Linux Libertine", "Georgia", "Times", serif; | font-family: "Linux Libertine", "Georgia", "Times", serif; | ||
border-left: 2px dotted | border-left: 2px dotted rgba(128,128,128,0.5); | ||
margin: 1.5rem 0 1.5rem 0.8rem; | margin: 1.5rem 0 1.5rem 0.8rem; | ||
position: relative; | position: relative; | ||
| Zeile 149: | Zeile 288: | ||
} | } | ||
/* Links | /* Zitat Dark-Mode */ | ||
@media screen { | |||
html.skin-theme-clientpref-night .testimonial .quote { | |||
color: #e0e0e0; | |||
border-left-color: rgba(255,255,255,0.3); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .testimonial .quote { | |||
color: #e0e0e0; | |||
border-left-color: rgba(255,255,255,0.3); | |||
} | |||
} | |||
/* Links und Highlights */ | |||
.more-link { | .more-link { | ||
text-align: right; | text-align: right; | ||
width: 100%; | width: 100%; | ||
margin: 1rem 0 0; | margin: 1rem 0 0; | ||
} | |||
.main-register a, .main-register a:visited { | |||
color: white !important; | |||
text-decoration: none !important; | |||
} | |||
.main-register a:hover { | |||
color: white !important; | |||
} | } | ||
| Zeile 160: | Zeile 323: | ||
} | } | ||
/* Nächster Stammtisch */ | |||
.next-meeting { | .next-meeting { | ||
display: inline-block; | display: inline-block; | ||
| Zeile 166: | Zeile 330: | ||
margin: 0 0 0.8rem 0; | margin: 0 0 0.8rem 0; | ||
border-radius: 4px; | border-radius: 4px; | ||
background: rgba(0,0,0,0.02); | |||
} | |||
.next-meeting p:first-child { | |||
margin-top: 0; | |||
} | |||
/* Stammtisch Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .next-meeting { | |||
background: rgba(255,255,255,0.05); | |||
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px; | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .next-meeting { | |||
background: rgba(255,255,255,0.05); | |||
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px; | |||
} | |||
} | } | ||
| Zeile 176: | Zeile 360: | ||
color: #0b0080; | color: #0b0080; | ||
border-radius: 4px; | border-radius: 4px; | ||
box-shadow: 0 0 3px | box-shadow: 0 0 3px rgba(128,128,128,0.5); | ||
text-align: center; | text-align: center; | ||
line-height: 22px; | line-height: 22px; | ||
| Zeile 186: | Zeile 370: | ||
touch-action: manipulation; | touch-action: manipulation; | ||
white-space: pre; | white-space: pre; | ||
} | |||
/* Weitere-Buttons Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .more-link a { | |||
background-color: #2a2a2a; | |||
border-color: #404040; | |||
color: #6bb6ff; | |||
box-shadow: 0 0 3px rgba(0,0,0,0.3); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .more-link a { | |||
background-color: #2a2a2a; | |||
border-color: #404040; | |||
color: #6bb6ff; | |||
box-shadow: 0 0 3px rgba(0,0,0,0.3); | |||
} | |||
} | } | ||
| Zeile 191: | Zeile 394: | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
border-color: #dadce0; | border-color: #dadce0; | ||
box-shadow: 0 1px 4px | box-shadow: 0 1px 4px rgba(128,128,128,0.5); | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
/* Button-Hover Dark-Mode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .more-link a:hover { | |||
background-color: #3a3a3a; | |||
border-color: #505050; | |||
box-shadow: 0 1px 4px rgba(0,0,0,0.4); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .more-link a:hover { | |||
background-color: #3a3a3a; | |||
border-color: #505050; | |||
box-shadow: 0 1px 4px rgba(0,0,0,0.4); | |||
} | |||
} | } | ||
.startpage-subtitle { | .startpage-subtitle { | ||
font-size: 0. | font-size: 0.8rem !important; | ||
margin-top: 0.8rem; | margin-top: 0.8rem; | ||
color: #555; | color: #555; | ||
} | } | ||
/* | /* Dark Mode Untertitel */ | ||
@media screen { | |||
html.skin-theme-clientpref-night .startpage-subtitle { | |||
color: #aaa; | |||
} | |||
} | } | ||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .startpage-subtitle { | |||
color: #aaa; | |||
} | |||
} | } | ||
/* Barrierefreiheit */ | |||
/* | |||
:focus { | :focus { | ||
outline: 3px solid #0066cc; | outline: 3px solid #0066cc; | ||
| Zeile 229: | Zeile 440: | ||
} | } | ||
/* | /* Dark Mode Focus */ | ||
@media screen { | |||
@media screen | html.skin-theme-clientpref-night :focus { | ||
. | outline-color: #6bb6ff; | ||
} | } | ||
} | |||
. | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os :focus { | |||
outline-color: #6bb6ff; | |||
} | } | ||
} | } | ||
/* Media Queries */ | |||
@media screen and (max-width: 900px) { | @media screen and (max-width: 900px) { | ||
.box-content { | .box-content { | ||
| Zeile 247: | Zeile 460: | ||
.photos { | .photos { | ||
padding: 0 | padding: 0 !important; | ||
} | } | ||
} | } | ||
| Zeile 255: | Zeile 467: | ||
.content-grid { | .content-grid { | ||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
max-width: 100%; | |||
margin: 0 auto; | |||
} | } | ||
| Zeile 262: | Zeile 476: | ||
} | } | ||
.box-header { | .box-header { | ||
max-width: 85%; | max-width: 85%; | ||
| Zeile 277: | Zeile 486: | ||
@media screen and (max-width: 480px) { | @media screen and (max-width: 480px) { | ||
.testimonial { | #create-article-header + .box-content { | ||
padding-left: 0.6rem; | |||
padding-right: 0.6rem; | |||
} | |||
.cdx-button, | |||
input[type="submit"].cdx-button, | |||
.mw-inputbox-form-inline input[type="submit"] { | |||
padding-left: 1.2em !important; | |||
padding-right: 1.2em !important; | |||
min-width: 6em; | |||
} | |||
.cdx-text-input { | |||
min-width: 0 !important; | |||
width: 99% !important; | |||
box-sizing: border-box; | |||
} | |||
.mw-inputbox-centered, | |||
.mw-inputbox-form-inline { | |||
width: 99% !important; | |||
box-sizing: border-box; | |||
} | |||
.mw-inputbox-createbox { | |||
width: 99% !important; | |||
min-width: 0 !important; | |||
box-sizing: border-box; | |||
} | |||
.testimonial { | |||
padding-left: 0.75rem; | padding-left: 0.75rem; | ||
} | } | ||
.testimonial img { | .testimonial img { | ||
margin: 0 0 0.5rem 0.75rem; | margin: 0 0 0.5rem 0.75rem; | ||
} | } | ||
.box-content:not(.photos) img { | |||
width: 100% !important; | |||
} | } | ||
} | } | ||
/* Drucker */ | /* Für Drucker */ | ||
@media print { | @media print { | ||
.container { | .container { | ||
| Zeile 318: | Zeile 548: | ||
max-width: 80%; | max-width: 80%; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
} | } | ||
Aktuelle Version vom 24. August 2025, 15:45 Uhr
/* Header */
.wiki-header {
margin-bottom: 1.25rem;
}
.wiki-header img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
}
/* Dark Mode */
@media screen {
html.skin-theme-clientpref-night .wiki-header img {
filter: grayscale(1) invert(1);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .wiki-header img {
filter: grayscale(1) invert(1);
}
}
/* Grid (responsive, 2 Spalten) */
.content-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 1.25rem;
width: 100%;
overflow: visible;
box-sizing: border-box;
}
.content-grid > * {
min-width: 0;
overflow-wrap: break-word;
}
/* Content-Boxen */
.content-box {
position: relative;
display: inline-block;
margin-bottom: 1.5rem;
transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease-in;
transform-origin: center;
}
@media screen and (min-width: 769px) {
.content-box:hover {
transform: scale(1.0125);
transition: transform 0.5s ease-in;
border-color: rgba(0,0,0,0.12);
}
}
/* Dark-Mode Hover-Border */
@media screen and (min-width: 769px) {
html.skin-theme-clientpref-night .content-box:hover {
border-color: rgba(255,255,255,0.2);
}
}
@media screen and (min-width: 769px) and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .content-box:hover {
border-color: rgba(255,255,255,0.2);
}
}
/* Header (Überschrift) */
.box-header {
position: relative;
width: max-content;
max-width: 85%;
padding: 0.7rem 0.8rem;
background: rgba(0,0,0,0.08);
border-radius: 6px 6px 0 0;
margin: 0;
margin-bottom: -5px;
}
/* Head Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .box-header {
background: rgba(255,255,255,0.1);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .box-header {
background: rgba(255,255,255,0.1);
}
}
/* Content-Bereich */
.box-content {
background: #fff;
position: relative;
padding: 0.8rem 1.4rem 1rem;
border: 2px solid rgba(0,0,0,0.08);
border-radius: 6px;
box-shadow: 0 0.3rem 0.8rem rgba(51,51,51,0.08);
}
.box-content p:last-child,
.box-content p:last-of-type {
margin-bottom: 0;
}
.box-content p:last-of-type:not(:last-child) {
margin-bottom: 0.75rem;
}
/* Content Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .box-content {
background: #000;
border-color: rgba(255,255,255,0.2);
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.6),
0 0.1rem 0.3rem rgba(0,0,0,0.4);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .box-content {
background: #000;
border-color: rgba(255,255,255,0.2);
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.6),
0 0.1rem 0.3rem rgba(0,0,0,0.4);
}
}
.box-content:not(.photos) img {
border-radius: 10px;
height: auto;
margin: 0.8rem auto 0.4rem auto;
width: 90%;
box-shadow: 0px 4px 16px 0px rgba(0,0,0,0.15);
}
.within img {
margin-top: 0 !important;
}
.foerderverein img {
width: auto !important;
max-width: none !important;
box-shadow: none !important;
border-radius: 0 !important;
display: inline !important;
margin: 0 !important;
height: auto !important;
}
.box-header h2 {
font-size: 0.9rem;
margin: -2px 0 0 0;
padding: 0;
font-weight: bold;
font-family: sans-serif;
border-bottom: 0;
}
/* Head-Text Dark Mode */
@media screen {
html.skin-theme-clientpref-night .box-header h2 {
color: #f0f0f0;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .box-header h2 {
color: #f0f0f0;
}
}
/* Bilder */
.photos {
position: relative;
padding: 0;
background: transparent !important;
box-shadow: none !important;
border: none !important;
width: 90%;
}
.photos img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
box-shadow: 0 0.3rem 0.8rem rgba(51,51,51,0.08);
}
/* Dark Mode Foto-Schatten */
@media screen {
html.skin-theme-clientpref-night .photos img {
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.7),
0 0.1rem 0.4rem rgba(0,0,0,0.5);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .photos img {
box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.7),
0 0.1rem 0.4rem rgba(0,0,0,0.5);
}
}
.photos .more-link {
width: 100%;
margin: 1rem 0 0;
}
/* Stimmen zum HammWiki */
.testimonial {
margin: 1.5rem 0;
}
.testimonial img {
float: right;
margin: 0 0 0.5rem 1rem !important;
border-radius: 4px !important;
width: auto !important;
max-width: none !important;
box-shadow: none !important;
display: inline !important;
margin: 0 !important;
height: auto !important;
}
.author, .highlight-marker {
margin: 0 0 0.5rem 0;
line-height: 1.7;
border-bottom: 2px solid #80dbfb;
}
.author a:hover, .highlight-marker a:hover {
text-decoration: none;
color: #f97547;
}
.warning-marker {
margin: 0 0 0.5rem 0;
line-height: 1.7;
border-bottom: 2px solid #ff0f0f;
}
/* Warnung Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .warning-marker {
border-bottom-color: #ff6b6b;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .warning-marker {
border-bottom-color: #ff6b6b;
}
}
.testimonial .author small {
color: #666;
}
/* Subtiler Text Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .testimonial .author small {
color: #aaa;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .testimonial .author small {
color: #aaa;
}
}
.testimonial .quote {
color: #333;
line-height: 1.5;
font-family: "Linux Libertine", "Georgia", "Times", serif;
border-left: 2px dotted rgba(128,128,128,0.5);
margin: 1.5rem 0 1.5rem 0.8rem;
position: relative;
padding-left: 1rem;
}
/* Zitat Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .testimonial .quote {
color: #e0e0e0;
border-left-color: rgba(255,255,255,0.3);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .testimonial .quote {
color: #e0e0e0;
border-left-color: rgba(255,255,255,0.3);
}
}
/* Links und Highlights */
.more-link {
text-align: right;
width: 100%;
margin: 1rem 0 0;
}
.main-register a, .main-register a:visited {
color: white !important;
text-decoration: none !important;
}
.main-register a:hover {
color: white !important;
}
.photo-content .more-link {
width: 85%;
}
/* Nächster Stammtisch */
.next-meeting {
display: inline-block;
box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
padding: 0.5rem 0.8rem;
margin: 0 0 0.8rem 0;
border-radius: 4px;
background: rgba(0,0,0,0.02);
}
.next-meeting p:first-child {
margin-top: 0;
}
/* Stammtisch Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .next-meeting {
background: rgba(255,255,255,0.05);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .next-meeting {
background: rgba(255,255,255,0.05);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px;
}
}
.more-link a {
width: max-content;
padding: 0.3rem 0.8rem;
height: max-content;
background-color: #f8f9fa;
border: 1px solid #f8f9fa;
color: #0b0080;
border-radius: 4px;
box-shadow: 0 0 3px rgba(128,128,128,0.5);
text-align: center;
line-height: 22px;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.3s;
display: inline-flex;
user-select: none;
touch-action: manipulation;
white-space: pre;
}
/* Weitere-Buttons Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .more-link a {
background-color: #2a2a2a;
border-color: #404040;
color: #6bb6ff;
box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .more-link a {
background-color: #2a2a2a;
border-color: #404040;
color: #6bb6ff;
box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
}
.more-link a:hover {
background-color: #f0f0f0;
border-color: #dadce0;
box-shadow: 0 1px 4px rgba(128,128,128,0.5);
text-decoration: none;
}
/* Button-Hover Dark-Mode */
@media screen {
html.skin-theme-clientpref-night .more-link a:hover {
background-color: #3a3a3a;
border-color: #505050;
box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .more-link a:hover {
background-color: #3a3a3a;
border-color: #505050;
box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
}
.startpage-subtitle {
font-size: 0.8rem !important;
margin-top: 0.8rem;
color: #555;
}
/* Dark Mode Untertitel */
@media screen {
html.skin-theme-clientpref-night .startpage-subtitle {
color: #aaa;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .startpage-subtitle {
color: #aaa;
}
}
/* Barrierefreiheit */
:focus {
outline: 3px solid #0066cc;
outline-offset: 2px;
}
/* Dark Mode Focus */
@media screen {
html.skin-theme-clientpref-night :focus {
outline-color: #6bb6ff;
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os :focus {
outline-color: #6bb6ff;
}
}
/* Media Queries */
@media screen and (max-width: 900px) {
.box-content {
padding: 0.8rem 1.25rem;
}
.photos {
padding: 0 !important;
}
}
@media screen and (max-width: 768px) {
.content-grid {
grid-template-columns: 1fr;
max-width: 100%;
margin: 0 auto;
}
.box-content {
display: block;
width: auto;
}
.box-header {
max-width: 85%;
}
.inner-box .box-header {
max-width: none;
}
}
@media screen and (max-width: 480px) {
#create-article-header + .box-content {
padding-left: 0.6rem;
padding-right: 0.6rem;
}
.cdx-button,
input[type="submit"].cdx-button,
.mw-inputbox-form-inline input[type="submit"] {
padding-left: 1.2em !important;
padding-right: 1.2em !important;
min-width: 6em;
}
.cdx-text-input {
min-width: 0 !important;
width: 99% !important;
box-sizing: border-box;
}
.mw-inputbox-centered,
.mw-inputbox-form-inline {
width: 99% !important;
box-sizing: border-box;
}
.mw-inputbox-createbox {
width: 99% !important;
min-width: 0 !important;
box-sizing: border-box;
}
.testimonial {
padding-left: 0.75rem;
}
.testimonial img {
margin: 0 0 0.5rem 0.75rem;
}
.box-content:not(.photos) img {
width: 100% !important;
}
}
/* Für Drucker */
@media print {
.container {
max-width: 100%;
padding: 0;
}
.content-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.box-header,
.box-content {
box-shadow: none;
}
.box-content {
border: 1px solid #000;
page-break-inside: avoid;
}
.photo-content img {
max-width: 80%;
margin: 0 auto;
}
}