| | |
| | | @use "./custom.scss"; |
| | | @use "./syntax.scss"; |
| | | @use "./callouts.scss"; |
| | | @use "./custom.scss"; |
| | | @use "./variables.scss" as *; |
| | | |
| | | html { |
| | |
| | | .math { |
| | | color: var(--darkgray); |
| | | fill: var(--darkgray); |
| | | overflow-wrap: anywhere; |
| | | hyphens: auto; |
| | | } |
| | | |
| | | .math { |
| | |
| | | margin: 0 5vw; |
| | | } |
| | | |
| | | & p { |
| | | overflow-wrap: anywhere; |
| | | } |
| | | |
| | | & article { |
| | | & > h1 { |
| | | font-size: 2rem; |
| | |
| | | flex-direction: row; |
| | | padding: 0; |
| | | width: initial; |
| | | margin-top: 4rem; |
| | | margin-top: 2rem; |
| | | } |
| | | } |
| | | |
| | | & .sidebar.left { |
| | | left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth); |
| | | @media all and (max-width: $fullPageWidth) { |
| | | gap: 1rem; |
| | | gap: 0rem; |
| | | align-items: center; |
| | | } |
| | | } |
| | |
| | | |
| | | h2 { |
| | | font-size: 1.4rem; |
| | | opacity: 0.95; |
| | | margin-top: 2.4rem; |
| | | } |
| | | |
| | | h3 { |
| | | font-size: 1.12rem; |
| | | margin-top: 2.12rem; |
| | | opacity: 0.9; |
| | | } |
| | | |
| | | h4, h5, h6 { |
| | | h4, |
| | | h5, |
| | | h6 { |
| | | font-size: 1rem; |
| | | margin-top: 2rem; |
| | | opacity: 0.85; |
| | | } |
| | | |
| | | div[data-rehype-pretty-code-fragment] { |