| | |
| | | color: var(--secondary); |
| | | |
| | | &:hover { |
| | | color: var(--tertiary) !important; |
| | | color: var(--tertiary); |
| | | } |
| | | |
| | | &.internal { |
| | |
| | | border-radius: 5px; |
| | | line-height: 1.4rem; |
| | | |
| | | &.broken { |
| | | color: var(--secondary); |
| | | opacity: 0.5; |
| | | transition: opacity 0.2s ease; |
| | | &:hover { |
| | | opacity: 0.8; |
| | | } |
| | | } |
| | | |
| | | &:has(> img) { |
| | | background-color: transparent; |
| | | border-radius: 0; |
| | |
| | | } |
| | | } |
| | | |
| | | .flex-component { |
| | | display: flex; |
| | | } |
| | | |
| | | .desktop-only { |
| | | display: initial; |
| | | &.flex-component { |
| | | display: flex; |
| | | } |
| | | @media all and ($mobile) { |
| | | &.flex-component { |
| | | display: none; |
| | | } |
| | | display: none; |
| | | } |
| | | } |
| | | |
| | | .mobile-only { |
| | | display: none; |
| | | &.flex-component { |
| | | display: none; |
| | | } |
| | | @media all and ($mobile) { |
| | | &.flex-component { |
| | | display: flex; |
| | | } |
| | | display: initial; |
| | | } |
| | | } |
| | |
| | | padding: 0; |
| | | & > * { |
| | | flex: 1; |
| | | max-height: 24rem; |
| | | } |
| | | & > .toc { |
| | | display: none; |
| | |
| | | clear: both; |
| | | |
| | | & > li.overflow-end { |
| | | height: 1rem; |
| | | height: 0.5rem; |
| | | margin: 0; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .katex-display { |
| | | display: initial; |
| | | overflow-x: auto; |
| | | overflow-y: hidden; |
| | | } |