| | |
| | | |
| | | & .center, |
| | | & footer { |
| | | max-width: 100%; |
| | | min-width: 100%; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | @media all and ($desktop) { |
| | |
| | | counter-increment: line 0; |
| | | display: grid; |
| | | padding: 0.5rem 0; |
| | | overflow-x: scroll; |
| | | overflow-x: auto; |
| | | |
| | | & [data-highlighted-chars] { |
| | | background-color: var(--highlight); |
| | |
| | | } |
| | | |
| | | div:has(> .overflow) { |
| | | display: flex; |
| | | position: relative; |
| | | overflow-y: auto; |
| | | max-height: 100%; |
| | | } |
| | | |
| | | ul.overflow, |
| | | ol.overflow { |
| | | max-height: 400; |
| | | max-height: 100%; |
| | | overflow-y: auto; |
| | | |
| | | // clearfix |
| | |
| | | & > li:last-of-type { |
| | | margin-bottom: 30px; |
| | | } |
| | | |
| | | &:after { |
| | | pointer-events: none; |
| | | content: ""; |