.site-content--single { display: grid; column-gap: 2em; grid-template-columns: 0.4fr 0.6fr; grid-template-rows: auto auto auto auto 60px; @include mq("large") { grid-template-rows: auto auto auto auto; } & .site-content__header, & .site-content__footer { display: grid; grid-column-start: 1; grid-column-end: 3; background-color: $light; filter: brightness(80%); @include mq("large") { border: 2px solid $dark; grid-column-end: 2; padding: 2em; } } & .site-content__header { grid-row-start: 1; grid-row-end: 2; overflow: auto; border-block-end: 2px solid $dark; margin-block-end: 2em; padding-inline: 1em; & .article-header { text-align: center; background-color: $dark; opacity: 0.8; color: $light; display: grid; grid-area: post-header-details; grid-template-columns: 1fr; padding: 20px; grid-template-rows: 1fr auto auto 1fr; justify-items: center; align-items: center; grid-template-areas: "." "post-title" "post-subtitle" "."; &__series { margin-block: 0 1em; margin-inline: auto; font-size: 1.2em; } &__featured-image { display: grid; grid-template-columns: 15% 1fr 15%; grid-template-rows: 20% 1fr 20%; grid-template-areas: ". . ." ". post-header-details ." ". . ."; background-position: center center; background-repeat: no-repeat; background-size: cover; block-size: 40vh; min-block-size: 380px; inline-size: 100%; border: 2px solid $dark; & .attr { background-color: $dark; font-size: 0.7em; color: $light; inline-size: fit-content; position: fixed; padding-block: 0.2em; padding-inline: 0.5em; opacity: 0.8; margin-block: 0; margin-inline: auto; & a { color: $light; } } } &__title, &__subtitle { border-block-end: 2px inset $dark; margin-block: 0; line-height: 1.2em; } &__subtitle { font-size: 1.5em; } &__title-wrapper { display: grid; grid-area: post-header-details; background-color: $dark; opacity: 0.8; text-align: center; grid-template-columns: 1fr; padding: 20px; grid-template-rows: 1fr auto auto 1fr; justify-items: center; align-items: center; grid-template-areas: "." "post-title" "post-subtitle" "."; &--no-title { visibility: hidden; } & .article-header__title, & .article-header__subtitle { color: $light; } & .article-header__title { grid-area: post-title; font-weight: bold; &--long { font-size: 1.5em; } } & .article-header__subtitle { grid-area: post-subtitle; } } &__word-count, &__publish-date, &__modified-date { font-size: 1.2em; margin-block: 0.2rem; margin-inline: auto; } &__word-count { margin-block-start: 1rem; } &__warnings, &__notes { inline-size: 90%; margin-block: 1.6em; margin-inline: auto; display: block; padding-inline-end: 1em; & ul { list-style: circle; & li { margin-block: 0.5em; margin-inline: 0; } } } &__warnings { border: 4px solid darkred; background-color: #fc3a3a; color: $light; font-weight: 500; & ul { list-style: disc; } & + .article-header__notes { margin-block-start: 0; } } &__notes { background-color: $light; filter: brightness(70%); border: 1px solid gray; } &__table-of-contents { & ul { list-style-type: arabic; padding-inline-start: 2em; margin-block-end: 0; &.toc-list--appendices, &.toc-list--corrigenda { list-style-type: circle; margin-block-start: 0; & ol { padding-inline-start: 2em; list-style-type: upper-latin !important; } } & li { padding-block: 0.8em; padding-inline: 0; @include mq("large") { padding: 0; } } } } } } & .site-content__body { grid-column-start: 1; grid-column-end: 3; grid-row-start: 2; grid-row-end: 3; padding-inline: 1em; @include mq("large") { grid-row-start: 1; grid-row-end: 5; grid-column-start: 2; } /* Temporary until I've fixed all the figures */ overflow-inline: clip; & .article__links { background-color: $light; filter: brightness(80%); inline-size: 60%; margin-inline: auto; margin-block: auto 1em; border: 2px solid $dark; padding: 1em; } .article-body { &__summary { display: none; } } .heading { text-align: center; font-size: 2em; font-weight: bold; &::before, &::after { content: " ~ "; } } .heading-anchor { font-size: 0.6em; line-height: 1em; text-decoration: none; vertical-align: middle; } .subheading { font-size: 1.6em; border-block-end: 2px inset $dark; margin-block: 0.5em; line-height: 1.2em; text-align: center; &--appendices, &--comments { text-decoration: underline; border-block-end: none; font-size: 2em; padding-block-start: 1em; border-block-start: 1px dashed $dark; } &__subtitle { font-size: 1em; border-block-end: 1px dashed $dark; line-height: 1em; text-align: center; font-weight: bold; inline-size: fit-content; margin-block: 0 1em; margin-inline: auto; padding-block: 0 0.5em; padding-inline: 3em 0.4em; } } .subsubheading { font-size: 1.4em; border-block-end: 1px dashed $dark; margin-block-start: 1em; margin-block-end: 1em; padding-block-end: 0.5em; line-height: 1em; text-align: start; font-weight: bold; } .subsubsubheading { font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; line-height: 1em; text-align: start; font-weight: bold; } .article-body__content > blockquote { padding-inline-start: 1em; border-inline-start: 2px outset $dark; display: inline-block; max-inline-size: 85%; & footer { text-align: end; font-style: normal; display: inline-block; margin-inline-start: 5em; &::before { content: "—"; } } & p:first-child { margin-block-start: 0; } & p:last-of-type { margin-block-end: 0.5em; } &.script { display: grid; grid-template-columns: auto 1fr 0.2fr; padding-block-end: 0.4em; text-align: end; & > p::before, & > p::after { content: none !important; } & > .script-line__character { grid-column: 1; margin: 0.5em 2em 0.5em 0.5em; font-style: italic; } & > .script-line__text { grid-column-start: 2; grid-column-end: 4; margin: 0.5em; } & footer { grid-column-start: 1; grid-column-end: 3; } } } .article-body__content > blockquote:not(.blockquote):first-child { font-size: 1.2em; text-align: center; display: block; margin: 0 auto; border-inline-start: 0; padding-inline-start: 0; inline-size: 100%; padding-block-start: 1em; padding-block-end: 1.2em; border-block-start: 2px outset $dark; border-block-end: 2px inset $dark; } @media only screen and (min-width: 1024px) { blockquote { margin: 1em 2em; } } } & .site-content__comments { grid-column-start: 1; grid-column-end: 3; grid-row-start: 3; grid-row-end: 4; font-size: 0.8em; padding-inline-start: 1em; padding-inline-end: 1em; margin-block-end: 2em; @include mq("large") { grid-column-end: 2; grid-row-start: 2; grid-row-end: 3; padding: 1em 3em 1em 2em; border-inline-end: 2px solid $dark; } & + .site_content__footer { grid-row-start: 4; grid-row-end: 5; @include mq("large") { margin-block-end: 2em; grid-row-start: 3; grid-row-end: 4; } } } & .site-content__footer { grid-row-start: 3; grid-row-end: 4; border-block-start: 2px solid $dark; padding-inline-start: 1em; padding-inline-end: 1em; @include mq("large") { margin-block-end: 2em; grid-row-start: 2; grid-row-end: 3; } & h2 { margin: 1rem 0; } & ul { margin: 0; & li { padding: 0.8em 0; @include mq("large") { padding: 0; } } } & section { margin: 1rem 0; } #map { border: 2px solid $dark; } } }