diff --git a/assets/sass/_theme/sections/volumes.sass b/assets/sass/_theme/sections/volumes.sass index 5e04f349ff1e9f9e18cebab313cc916e4c1adc2f..3afff66b07194cb37f202c9b3127ffec404a5b8e 100644 --- a/assets/sass/_theme/sections/volumes.sass +++ b/assets/sass/_theme/sections/volumes.sass @@ -1,6 +1,49 @@ .volume @include article + .suptitle + @include meta .volumes @include grid(2, md) @include grid(3, lg) + +.volumes__taxonomy + .volume + .media + img + aspect-ratio: 1 / 1.2 +.volumes__term + .document-content + .container + @include media-breakpoint-up(desktop) + @include grid + .content + @include media-breakpoint-up(desktop) + grid-column: 1 / 9 + > div + margin-bottom: $spacing4 + .volume-table + list-style: none + margin-block-start: half($spacing3) + li + + li + margin-top: $spacing3 + a + text-decoration-color: rgba(0,0,0,0) + &:hover + text-decoration-color: rgba(0,0,0,1) + .item--informations + a, button + @include meta + background-color: white + border: 1px solid $color-border + cursor: pointer + * + * + margin-left: $spacing0 + .modal + display: none + .document-aside + @include media-breakpoint-up(desktop) + grid-column: 9 / 12 + dt + @include meta \ No newline at end of file diff --git a/layouts/partials/volumes/description.html b/layouts/partials/volumes/description.html index 3ad551415d56619bab3596c892f4519cc86adbc0..d245c15e17155b0ef6c892bf28cd6fd58a54191f 100644 --- a/layouts/partials/volumes/description.html +++ b/layouts/partials/volumes/description.html @@ -1,7 +1,5 @@ -<div> {{- if (partial "GetTextFromHTML" .Content) -}} <div itemprop="description"> {{ partial "PrepareHTML" .Content }} </div> - {{- end -}} -</div> + {{- end -}} \ No newline at end of file diff --git a/layouts/partials/volumes/modal.html b/layouts/partials/volumes/modal.html index bb111f75e5e9b2e0f7330b342508876619221588..ed37d9e939db116f7ef713d03702c57550da9505 100644 --- a/layouts/partials/volumes/modal.html +++ b/layouts/partials/volumes/modal.html @@ -1,4 +1,4 @@ -<div class="modal fade" id="{{ .modalId }}" tabindex="-1" aria-labelledby="{{ .modalId }}Label" aria-hidden="true"> +<div class="modal fade" id="{{ .modalId }}" tabindex="-1" aria-labelledby="{{ .modalId }}Label" aria-hidden="true" aria-modal="true"> <div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"> <div class="modal-content"> <div class="modal-header"> diff --git a/layouts/partials/volumes/table-contents.html b/layouts/partials/volumes/table-contents.html index 268c8a9b6afe8f196ee91b117e56ed9ff47d0e11..1fda3c6543786b1a32ece0194d5ee7384a45dcdc 100644 --- a/layouts/partials/volumes/table-contents.html +++ b/layouts/partials/volumes/table-contents.html @@ -21,8 +21,8 @@ <span itemprop="author" itemscope itemtype="https://schema.org/Person"><a href="{{ $author.Permalink }}" itemprop="url"><span itemprop="name">{{ trim $author.Title "\n" }}</span></a></span> {{- end -}} </p> - <div role="group"> - <a href="{{ .Permalink }}" itemprop="url">{{ i18n "commons.read" }}</a> + <div class="item--informations" role="group"> + {{/* <a href="{{ .Permalink }}" itemprop="url">{{ i18n "commons.read" }}</a> */}} <button type="button" data-bs-toggle="modal" data-bs-target="#{{ $modalId }}">{{ i18n "volumes.abstract" }}</button> {{ if .Params.pdf }} {{- $pdf := partial "GetMedia" .Params.pdf -}} diff --git a/layouts/volumes/term.html b/layouts/volumes/term.html index e81b30167e1288d9ef762a09e6dccb5dada5f5b3..72e019c26735c29ad1c25089e7fddbc65bd5357d 100644 --- a/layouts/volumes/term.html +++ b/layouts/volumes/term.html @@ -12,12 +12,17 @@ {{- end -}} <div class="container"> + <div class="content"> - {{ partial "volumes/image.html" . }} {{ partial "volumes/description.html" . }} - {{ partial "volumes/document-aside.html" . }} {{ partial "volumes/table-contents.html" . }} </div> + + {{ partial "volumes/document-aside.html" . }} + </div> + + {{ partial "blocks/list.html" . }} + </div> {{ end }}