From eda806ec69ff5b710a24294b88ce894a95a899c2 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Mon, 1 Feb 2021 15:31:49 +0100 Subject: [PATCH] =?UTF-8?q?Ticket=2012:=20=20=20=20=20=20=20-=20Necessite?= =?UTF-8?q?=20l'ajout=20d'un=20sous-champ=20ACF=20sur=20wp-admin/post.php?= =?UTF-8?q?=3Fpost=3D524&action=3Dedit=20=20=20=20=20=20=20=20=20(Nos=20en?= =?UTF-8?q?gagements)=20Page:=20Engagements=20=20=20=20=20=20=20=20=20Dans?= =?UTF-8?q?=20partie=20"Manifest:=20Groupe"=20->=20Sous=20Champ=20->=20Typ?= =?UTF-8?q?e=20image=20:=20photobio=20=20=20=20=20=20=20-=20modifi=C3=A9?= =?UTF-8?q?=20style.css,=20page-engagments.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/themes/ldc/page-engagements.php | 12 +++++++ content/themes/ldc/style.css | 48 +++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/content/themes/ldc/page-engagements.php b/content/themes/ldc/page-engagements.php index 31f24edb..e2602213 100644 --- a/content/themes/ldc/page-engagements.php +++ b/content/themes/ldc/page-engagements.php @@ -9,6 +9,7 @@ Template Name: Page Engagements global $mob; get_header(); + /** @var Array */ $manifest = get_field('manifest'); $ecosystem = get_field('ecosystem'); $governance = get_field('governance'); @@ -61,6 +62,17 @@ Template Name: Page Engagements
+ +
+
+
+ <?php echo $manifest['photobio']['alt']; ?> +
+
+ diff --git a/content/themes/ldc/style.css b/content/themes/ldc/style.css index cad95fd7..46806d9b 100644 --- a/content/themes/ldc/style.css +++ b/content/themes/ldc/style.css @@ -781,6 +781,51 @@ textarea:focus { color: #ff4e4e; } +.quote__photo, .quote__photobox, .quote__photo_shadow { + -moz-border-radius: 50% / 50%; + -webkit-border-radius: 50% 50%; + border-radius: 50% / 50%; +} +.quote__photobox { + position: relative; + top: 1em; + right: -4em; + display: table; + box-sizing: border-box; + border: 4px solid #ff4e4e; +} +.quote__photo { + -moz-box-shadow: 10px 10px 12px rgba(0,0,0,0.4); + -webkit-box-shadow: 10px 10px 12px rgba(0,0,0,0.4); + box-shadow: 10px 10px 12px rgba(0,0,0,0.4); +} +.quote__photo_shadow { + -moz-box-shadow: 10px 10px 12px rgba(0,0,0,0.4) inset; + -webkit-box-shadow: 10px 10px 12px rgba(0,0,0,0.4) inset; + box-shadow: 10px 10px 12px rgba(0,0,0,0.4) inset; + position: absolute; + height: 100%; + width: 100%; +} +@media all and (min-width: 438px) { + .quote__photobox { + right: -16em; + top: -1em; + } +} +@media all and (min-width: 768px) { + .quote__photobox { + right: -12em; + top: 1em; + } +} +@media all and (min-width: 917px) { + .quote__photobox { + right: -17em; + top: -1em; + } +} + .quote__text::before, .quote__text::after { content: '"'; @@ -3005,6 +3050,9 @@ body .pgntn-page-pagination-block .page-numbers.current { margin-bottom: 15px; } +.manifest__photo { + position: relative; +} /* manifest END */