From 2c6205455e1a81c1c2518fe5f4947dd437037edc Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Wed, 23 Mar 2022 13:04:17 +0000 Subject: [PATCH] ORCID styling by rdrew. --- css_overrides.css | 15 +++++++++++++++ ...butor-orcid--author-with-affiliation.html.twig | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/css_overrides.css b/css_overrides.css index 29c295b..c510802 100644 --- a/css_overrides.css +++ b/css_overrides.css @@ -45,3 +45,18 @@ span.citeproc-container-title { margin: 0.5%; padding: 0; } +.paragraph--type--author-with-affiliation { + display: flex; +} +img.orcid_logo { + width: 22px; + margin-bottom: 9px; +} + +.orcid-short-link { + margin-left: 12px; + font-weight: normal; + font-style: normal; + font-size: smaller; + line-height: 2; +} diff --git a/templates/field--paragraph--field-contributor-orcid--author-with-affiliation.html.twig b/templates/field--paragraph--field-contributor-orcid--author-with-affiliation.html.twig index d5ea5ef..c6b5439 100644 --- a/templates/field--paragraph--field-contributor-orcid--author-with-affiliation.html.twig +++ b/templates/field--paragraph--field-contributor-orcid--author-with-affiliation.html.twig @@ -28,4 +28,5 @@ 'orcid-short-link', ] %} -{{ items }} + +{#{{ items }}#}