From 315e888810c9b7ec633725342543cac15121592c Mon Sep 17 00:00:00 2001 From: Ludwig Schubert Date: Tue, 7 Nov 2017 15:13:04 -0800 Subject: [PATCH] Add DOI to bibtex citation; minor style fix --- src/helpers/bibtex.js | 3 ++- src/styles/styles-base.css | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/helpers/bibtex.js b/src/helpers/bibtex.js index 3a2ed34..fa1f4cf 100644 --- a/src/helpers/bibtex.js +++ b/src/helpers/bibtex.js @@ -28,6 +28,7 @@ export function serializeFrontmatterToBibtex(frontMatter) { title = {${frontMatter.title}}, journal = {${frontMatter.journal.title}}, year = {${frontMatter.publishedYear}}, - note = {${frontMatter.url}} + note = {${frontMatter.url}}, + doi = {${frontMatter.doi}} }`; } diff --git a/src/styles/styles-base.css b/src/styles/styles-base.css index cc679d7..f34712d 100644 --- a/src/styles/styles-base.css +++ b/src/styles/styles-base.css @@ -105,14 +105,16 @@ figure svg text, figure svg tspan { } -figcaption { +figcaption, +.figcaption { color: rgba(0, 0, 0, 0.6); font-size: 12px; line-height: 1.5em; } @media(min-width: 1024px) { -figcaption { +figcaption, +.figcaption { font-size: 13px; } }