diff --git a/src/assets/images/author.svg b/src/assets/images/author.svg new file mode 100644 index 00000000..35a984eb --- /dev/null +++ b/src/assets/images/author.svg @@ -0,0 +1 @@ + diff --git a/src/assets/styles/common/_todo.scss b/src/assets/styles/common/_todo.scss index cd4b7942..676fbea8 100644 --- a/src/assets/styles/common/_todo.scss +++ b/src/assets/styles/common/_todo.scss @@ -13,6 +13,8 @@ input[type="file"] > input[type="button"]::-moz-focus-inner { } .separator { - padding-left: 0.325em; - vertical-align: super; + display: inline-block; + padding-left: 0.5ch; + text-indent: 0; + transform: translate(0, -0.5ch); } diff --git a/src/components/01-atoms/01-icons/icons.config.js b/src/components/01-atoms/01-icons/icons.config.js index 43f2e0c9..27455253 100644 --- a/src/components/01-atoms/01-icons/icons.config.js +++ b/src/components/01-atoms/01-icons/icons.config.js @@ -14,6 +14,9 @@ module.exports = { { svg: 'share', }, + { + svg: 'author' + }, { svg: 'edit', }, diff --git a/src/components/02-molecules/01-card/card--resource.njk b/src/components/02-molecules/01-card/card--resource.njk index 8eeef543..bac9aaac 100644 --- a/src/components/02-molecules/01-card/card--resource.njk +++ b/src/components/02-molecules/01-card/card--resource.njk @@ -8,7 +8,7 @@ {{ title | safe }} {% if byline %} -

By {{ byline | safe }}

+

{% render '@svg', {svg:'author'}, true %} By {{ byline | safe }}

{% endif %}