From 764392a155a1b4b3f28f06f14d7af23ac7954217 Mon Sep 17 00:00:00 2001 From: rdrew Date: Tue, 10 Dec 2024 12:59:14 -0400 Subject: [PATCH] doc objects tweaking --- css/islandora_mods.css | 61 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/css/islandora_mods.css b/css/islandora_mods.css index 1fdf7a8..ea3ae94 100755 --- a/css/islandora_mods.css +++ b/css/islandora_mods.css @@ -1,14 +1,69 @@ /*citation objects*/ +.node-type-islandora-object { + --right-col-width: 85%; + --left-col-width: 14%; + .field, + .node-taxonomy-container { + display: flex; + border-bottom: 1px solid #ccc; + margin: 0; + padding: 0.5rem 0; + } + .field__label, + h3.term-title { + /* width: 15%; */ + display: block; + font-weight: 500; + font-size: 1rem; + font-family: var(--font-family-condensed); + margin: 0; + padding: 0; + width: var(--left-col-width); + } + + h3.term-title::after, + .field__label::after { + content: ":"; + } + .field.field--name-field-abstract .field-item { + width: var(--right-col-width); + } + + .field-item, + .field__items { + width: var(--right-col-width); + } + .field__items .field-item { + width: 100%; + } + + .node-taxonomy-container ul { + margin: 0; + padding: 0; + } + + li.taxonomy-term { + padding: 4px 0; + } + + /*.field {*/ + /*display: flex;*/ + /*}*/ +} + +.field-item { + /*width: -webkit-fill-available;*/ +} div#formatted-citation::before { font-family: var(--font-family-condensed); - font-size: .8rem; - content: "CHOOSE THE CITATION STYLE:"; + font-size: 0.8rem; + content: "CHOOSE THE CITATION STYLE:"; } #formatted-citation .csl-bib-body { font-family: "Georgia", "Cambria", "Times New Roman", "Times", serif; font-size: 1.2em; background: #e7ede0; - margin-bottom: .5em; + margin-bottom: 0.5em; padding: 0.75em; margin-right: 0; border: 1px solid #ccc;