body.txt { background-color: $bg-txt-on; @import 'header-nav'; > aside { &:hover, &:focus { background-color: $bg-txt-on; nav ul li:nth-child(2) { background: $bg-txt-on; } } } > header { h1 { min-height: 10rem; } h2 { position: absolute; font-size: 4.8rem; transform-origin: top left; width: 90rem; left: 50%; transform: rotate(90deg) translate(0, -4.5rem); text-align: left; margin-left: 39rem; margin-top: auto; } } article aside ul img { /* see _main */ height: 22.55rem; /* 1:1.41 for books */ } #lang-switch { position: absolute; top: 0.1rem; right: 0.1rem; z-index: 1000; } } .phonetic { font-family: "Noto Sans"; } h3 + p.tagline { font-style: italic; margin-top: -2rem; } .livres dl { display: flex; flex-flow: column wrap; justify-content: space-evenly; align-items: baseline; max-height: 20rem; /* Ensure books are aligned horizontally */ } .livres dt { padding: 0.25rem 0.5rem; text-align: center; margin: auto; } .livres dd { min-height: 160px; margin: auto; }