diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index abc01a9..2bf8c38 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -351,10 +351,13 @@ details.views-view-newspaper-group li.views-row { } @media (min-width: 68.75rem) { /* 1100px */ - .accordion-view > .view-content, .media-download > .view-content { columns: 2; } + /* .accordion-view > .view-content, */ + /* .media-download > .view-content { */ + /* columns: 2; */ + /* } */ } .media-download details.views-view-newspaper-group summary { background-color: #d3d3d3; @@ -422,7 +425,7 @@ form#views-exposed-form-newspaper-directory-page-1 { .node--type-islandora-object .field .field__label { font-family: var(--font-sans); font-size: var(--font-size-base); - flex: 0 0 175px; + flex: 0 0 230px; } .node--type-islandora-object .field .field__item { diff --git a/templates/content/node--islandora-object.html.twig b/templates/content/node--islandora-object.html.twig new file mode 100755 index 0000000..dfea06b --- /dev/null +++ b/templates/content/node--islandora-object.html.twig @@ -0,0 +1,49 @@ +{% set layout = layout ? 'layout--' ~ layout|clean_class %} + +{% +set classes = [ +'node', +'node--type-' ~ node.bundle|clean_class, +layout ? 'grid-full', +node.isPromoted() ? 'node--promoted', +node.isSticky() ? 'node--sticky', +not node.isPublished() ? 'node--unpublished', +view_mode ? 'node--view-mode-' ~ view_mode|clean_class, +] +%} +
+ About + +
+ {{ title_prefix }} + {% if label and not page %} + + {{ label }} + + {% endif %} + {{ title_suffix }} + {% if display_submitted %} +
+ {% if author_picture %} +
+ {{ author_picture }} +
+ {% endif %} + + {{ 'By'|t }} {% apply spaceless %}{{ author_name }}{% endapply %}, {{ date }} + + {{ metadata }} +
+ {% endif %} +
+ + {# Comments not part of content, so they won't inherit .text-content styles. #} + {{ content|without('comment') }} + + {% if content.comment %} +
+ {{ content.comment }} +
+ {% endif %} + +