diff --git a/assets/css/editor-style.css b/assets/css/editor-style.css index 71526660..d889f337 100644 --- a/assets/css/editor-style.css +++ b/assets/css/editor-style.css @@ -36,9 +36,12 @@ body { margin-bottom: 10px; } +.wp-block-media-text.person .h4, .wp-block-media-text.person .person-name { font-size: 27px; font-weight: 700; + font-family: "GrueneType"; + margin-bottom: 1rem; } .d-flex .wp-block-group__inner-container { diff --git a/functions/block-patterns/elemente/person-2.html b/functions/block-patterns/elemente/person-2.html index 60f2ec58..1233726e 100644 --- a/functions/block-patterns/elemente/person-2.html +++ b/functions/block-patterns/elemente/person-2.html @@ -3,7 +3,8 @@
-
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+

Vorname Nachname-Doppelname

@@ -45,16 +46,17 @@
-
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
-

Vorname Nachname

+
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+ +

Vorname Nachname

- -

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

+ +

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

- - + + diff --git a/functions/block-patterns/elemente/person-3.html b/functions/block-patterns/elemente/person-3.html index 9557e89c..39455733 100644 --- a/functions/block-patterns/elemente/person-3.html +++ b/functions/block-patterns/elemente/person-3.html @@ -3,7 +3,8 @@
-
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+

Vorname Nachname-Doppelname

@@ -45,16 +46,17 @@
-
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
-

Vorname Nachname

+
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+ +

Vorname Nachname

- -

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

+ +

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

- - + + @@ -91,16 +93,17 @@
-
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
-

Vorname Nachname

+
Sunflower Flower Summer Blossom  - Bru-nO / Pixabay
+ +

Vorname Nachname

- -

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

+ +

Kurze Beschreibung, Amt, Mandat und/oder Zitat.

- - + + diff --git a/sass/_fonts.scss b/sass/_fonts.scss index 2b65b1d0..b2e5c5dc 100755 --- a/sass/_fonts.scss +++ b/sass/_fonts.scss @@ -76,8 +76,3 @@ .ptsans { font-family: PTSans !important; } - -.bereit { - font-family: BereitBold !important; - font-weight: 500; -} diff --git a/sass/_header.scss b/sass/_header.scss index 2bd3fae7..8132ac19 100755 --- a/sass/_header.scss +++ b/sass/_header.scss @@ -122,11 +122,6 @@ body { } } -.page-title { - color: $darkgreen; -} - - // to scroll to correct position with sticky header // while destination is an anchor .entry-content { diff --git a/sass/_typography.scss b/sass/_typography.scss index d35cf4a1..132bea66 100644 --- a/sass/_typography.scss +++ b/sass/_typography.scss @@ -49,6 +49,7 @@ h1, font-size: 36px; line-height: 1.2em; + color: $secondary; } h2, @@ -61,6 +62,7 @@ h2, font-size: 27px; line-height: 1.2em; + color: $secondary; } h3, @@ -73,7 +75,7 @@ h3, font-weight: 700; font-size: 25px; - color: $primary; + color: $secondary; } h4, @@ -102,7 +104,7 @@ h6, .h6 { @include themed() { - font-family: t("headingFont"); + font-family: t("standardFont"); } font-weight: 700; diff --git a/sass/wp-blocks/person.scss b/sass/wp-blocks/person.scss index 70decbc3..ccb0ed48 100644 --- a/sass/wp-blocks/person.scss +++ b/sass/wp-blocks/person.scss @@ -6,11 +6,28 @@ .person { &-name { - font-size: 27px; + font-size: 30px; font-weight: 700; + + @include themed() { + font-family: t("headingFontBold"); + } } } + // `h4` is for compatibility - same as class `person-name` + .h4 { + font-size: 30px; + font-weight: 700; + + @include themed() { + font-family: t("headingFontBold"); + } + + margin-bottom: 1rem; + + } + .wp-block-media-text__content { padding: 20px; align-self: start;