Plugin 1.2 (FAQ ohne Ueberschrift, Plus/Minus) und Beitragslayout-CSS

This commit is contained in:
2026-09-22 11:39:00 +02:00
parent e6f76f9429
commit 049d94b7bf
2 changed files with 167 additions and 34 deletions

View File

@@ -0,0 +1,164 @@
/* Skrift Ratgeber: Beitragslayout
Werte aus dem Elementor-Kit von skrift.de, Stand 22.09.2026.
Einfuegen: Theme Builder > Einzelbeitrag > Seiteneinstellungen > Erweitert > Benutzerdefiniertes CSS */
/* ---------- Titel: globale Typografie "H1" ---------- */
.elementor-widget-theme-post-title .elementor-heading-title {
font-family: "Bitter", serif;
font-size: 45px;
line-height: 54px;
letter-spacing: 0.6px;
color: #1E3A6A;
}
/* ---------- Beitragsinhalt: Fliesstext "Text" ---------- */
.elementor-widget-theme-post-content {
font-family: "Work Sans", sans-serif;
font-size: 18px;
font-weight: 400;
line-height: 1.65;
color: #1A1A1A;
}
.elementor-widget-theme-post-content p {
margin: 0 0 1.1em;
}
/* H2: globale Typografie "Primaer" */
.elementor-widget-theme-post-content h2 {
font-family: "Bitter", serif;
font-size: 36px;
font-weight: 600;
line-height: 46px;
color: #1E3A6A;
margin: 1.8em 0 0.5em;
}
/* H3: globale Typografie "Sekundaere" */
.elementor-widget-theme-post-content h3 {
font-family: "Bitter", serif;
font-size: 27px;
font-weight: 400;
line-height: 32px;
color: #1E3A6A;
margin: 1.5em 0 0.4em;
}
.elementor-widget-theme-post-content > :first-child {
margin-top: 0;
}
/* Links */
.elementor-widget-theme-post-content a {
color: #1E3A6A;
text-decoration: underline;
text-underline-offset: 3px;
}
.elementor-widget-theme-post-content a:hover {
color: #1E50A5;
}
/* Listen */
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
margin: 0 0 1.1em;
padding-left: 1.3em;
}
.elementor-widget-theme-post-content li {
margin-bottom: 0.4em;
}
/* Tabellen */
.elementor-widget-theme-post-content table {
width: 100%;
border-collapse: collapse;
margin: 1.2em 0 1.6em;
font-size: 16px;
line-height: 1.5;
background: #FFFEFD;
}
.elementor-widget-theme-post-content th {
background: #EFEAE5;
color: #1E3A6A;
font-weight: 600;
text-align: left;
}
.elementor-widget-theme-post-content th,
.elementor-widget-theme-post-content td {
padding: 12px 14px;
border: 1px solid #C9B7A8;
vertical-align: top;
}
/* ---------- Kurzantwort ---------- */
.elementor .skrift-kurzantwort {
background: #EFEAE5;
border-left: 3px solid #1E3A6A;
padding: 20px 24px;
font-family: "Work Sans", sans-serif;
font-size: 18px;
line-height: 1.6;
color: #1A1A1A;
}
.elementor .skrift-kurzantwort p:last-child {
margin-bottom: 0;
}
/* ---------- FAQ ---------- */
.elementor .skrift-faq__eintrag {
border-bottom: 1px solid #C9B7A8;
}
.elementor .skrift-faq__eintrag:first-child {
border-top: 1px solid #C9B7A8;
}
/* Frage: globale Typografie "Third" */
.elementor .skrift-faq__frage {
font-family: "Bitter", serif;
font-size: 22px;
font-weight: 400;
line-height: 32px;
color: #1E3A6A;
padding: 18px 0;
}
.elementor .skrift-faq__frage:hover {
color: #1E50A5;
}
.elementor .skrift-faq__frage::after {
color: #1E3A6A;
}
.elementor .skrift-faq__antwort {
font-family: "Work Sans", sans-serif;
font-size: 18px;
line-height: 1.65;
color: #1A1A1A;
padding: 0 2.5em 20px 0;
}
/* ---------- Mobil ---------- */
@media (max-width: 767px) {
.elementor-widget-theme-post-title .elementor-heading-title {
font-size: 32px;
line-height: 1.1em;
}
.elementor-widget-theme-post-content {
font-size: 17px;
}
.elementor-widget-theme-post-content h2 {
font-size: 28px;
line-height: 36px;
}
.elementor-widget-theme-post-content h3 {
font-size: 22px;
line-height: 30px;
}
.elementor-widget-theme-post-content table {
display: block;
overflow-x: auto;
font-size: 15px;
}
.elementor .skrift-faq__frage {
font-size: 19px;
line-height: 27px;
}
.elementor .skrift-kurzantwort {
padding: 16px 18px;
}
}