this repo has no description
at main 39 lines 587 B view raw
1figure { 2 max-width: var(--content-max-width); 3 overflow-y: auto; 4 text-align: center; 5 6 margin: 1em 0; 7 padding: 0 5%; 8 9 display: flex; 10 flex-direction: column; 11 gap: 10px; 12 13 > * { 14 max-width: var(--content-max-width); 15 height: auto; 16 } 17 18 img { 19 object-fit: contain; 20 height: 100%; 21 width: auto; 22 } 23 24 svg { 25 overflow: hidden; 26 resize: "horizontal"; 27 28 color: var(--text-color); 29 } 30} 31 32figure:has(pre > code) { 33 padding: 0; 34 35 pre { 36 text-align: left; 37 margin: 0; 38 } 39}