/* main.css */ :root { --main-link-color: #215fc2; } html { margin: 0; padding: 0; width: 100%; height: 100vh; } body { margin: auto; max-width: 60em; min-height: 100vh; font-family: monospace; font-size: 1.23em; background-color: #ddd; display: flex; flex-direction: column; } nav#TOC > ul { list-style-type: decimal; } nav#TOC ul li { margin-bottom: 1em; } #title-block-header, #TOC { border: 1px solid #222; border-radius: 15px; background-color: #ccc; color: #000; margin: 1em; padding: 1em; } footer { border: 1px solid #222; border-radius: 15px; background-color: #ccc; color: #000; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 0.9em; } div.hearth { display: flex; justify-content: center; align-items: center; margin-left: 0.2em; margin-right: 0.2em; font-size: 1.5em; padding: 0px; animation: bounce 1s infinite; color: #d00000; } b.author { color: #000; text-transform: uppercase; } p.author::before { text-transform: lowercase; font-weight: normal; content: "by "; } p.date::before { text-transform: lowercase; font-weight: normal; content: "updated on "; } p.date { text-transform: capitalize; font-weight: bold; } p.author { text-transform: uppercase; font-weight: bold; } h1.title { text-align: center; } section { margin: 1em; flex: 1 0 auto; } h1, h2, h3, h4, h5, h6 { font-family: monospace; clear: both; } img { padding: 2px; border: 2px dashed #333; background-color: #fff; color: #000; height: 15em; float: right; clear: right; margin-left: 1em; margin-bottom: 1em; } figcaption { display: none; } @keyframes bounce { from, to { transform: scale(1, 1); } 25% { transform: scale(0.9, 1.1); } 50% { transform: scale(1.1, 0.9); } 75% { transform: scale(0.95, 1.05); } } header ~ * { margin: 1em; padding: 1em; } footer > span { display: flex; text-align: center; justify-content: center; align-items: center; } strong { font-weight: bold; color: rgb(130, 12, 12); } a > strong { text-decoration: none; } a:hover > strong { text-decoration: underline; } pre { padding: 1rem; } div.sourceCode { background-color: #ffd; } pre, code { font-family: "Fira Code", monospace; background-color: #ffd; color: #1e1e1e; overflow: auto; max-height: 500px; line-height: 1.6; } pre { margin: 1em 0; line-height: 1.5; font-size: 0.9em; } pre::-webkit-scrollbar, code::-webkit-scrollbar, div.sourceCode::-webkit-scrollbar { width: 15px; height: 15px; background-color: #ffd; } pre::-webkit-scrollbar-thumb, code::-webkit-scrollbar-thumb, div.sourceCode::-webkit-scrollbar-thumb { background-color: #dcdcba; border-radius: 6px; border: 1px solid #fff; } pre::-webkit-scrollbar-track, code::-webkit-scrollbar-track, div.sourceCode::-webkit-scrollbar-track { background-color: #ffd; } pre.numberSource { padding-left: 3.5em; counter-reset: line-number; } pre.numberSource code > span::before { counter-increment: line-number; content: counter(line-number); display: inline-block; width: 2.5em; margin-right: 1em; color: #666; text-align: right; } blockquote img { clear: none; height: auto; max-height: 32em; max-width: 100%; float: none; } blockquote { padding: 1em; color: #111; clear: both; padding-top: 0.25em; padding-bottom: 0.25em; width: auto; margin: 0 auto; display: table; } a { text-decoration: none; color: var(--main-link-color); } a:visited { color: var(--main-link-color); } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 9999; cursor: zoom-out; } .modal img { min-height: 80vh; max-height: 80vh; width: auto; max-width: 95vw; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; } .zoomable { max-width: 60vw; max-height: 45vh; }