diff options
-rw-r--r-- | src/content/dependencies/generatePageLayout.js | 3 | ||||
-rw-r--r-- | src/static/css/site.css | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index ec1b3156..a895fe9a 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -300,12 +300,13 @@ export default { [ titleHTML, - subtitleHTML, html.tag('div', {id: 'cover-art-container'}, {[html.onlyIfContent]: true}, slots.cover), + subtitleHTML, + slots.additionalNames, html.tag('div', {class: 'main-content-container'}, diff --git a/src/static/css/site.css b/src/static/css/site.css index 1ffe02fb..be13fded 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -2963,6 +2963,14 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content z-index: 2; } + /* ...Except on top-indexes, where cover art is displayed prominently + * between the heading and subheading. + */ + #content.top-index #cover-art-container { + float: none; + margin: 2em auto 2.5em auto; + } + html[data-url-key="localized.home"] #page-container.showing-sidebar-left .grid-listing > .grid-item:not(:nth-child(n+7)) { flex-basis: 23%; margin: 15px; |