/* Dark mode start */ :root { --link-tab-bg-color: #464646 !important; --link-tab-bg-hover-color: #d47408 !important; } * { color: #ffeede !important; border-color: #777 !important; background-color: #262626; } blockquote * { color: #919191 !important; } h1, h2, h3, h4, h5, h6, b { color: #d49408 !important; } strong { color: #c35b5b !important; } body > :not(nav) a, a strong { color: #b47494 !important; } body > :not(nav) a:hover, a strong:hover { color: #da8db3 !important; } pre, code { background-color: #464646 !important; } i, em { color: #999908 !important; } table * { background-color: inherit !important; } article > table tr:nth-child(2n) { background-color: #373737 !important; } /* Dark mode end */ :root { --link-tab-bg-color: #303030; --link-tab-bg-hover-color: #004080; } /* Custom text selection color */ ::-moz-selection { color: #ffeede; background: #9fb7c6; } ::selection { color: #ffeede; background: #9fb7c6; } /* Custom scrollbar style */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #d8d8d8; } ::-webkit-scrollbar-thumb { background: #888; } ::-webkit-scrollbar-thumb:hover { background: #555; } /* Global */ body, td, th { font: 19px 'Open Sans', sans-serif; line-height: 1.5em; } h1 { font-size: 1.7em; } h2 { font-size: 1.35em; padding-bottom: 0.25em; border-bottom: 2px solid black; } h3 { text-decoration: underline; } img { max-width: 99%; } img, hr { border: 1px solid black; } a { text-decoration: none; font-weight: bold; color: var(--link-tab-bg-hover-color); } article { max-width: 50em; overflow: auto; } /* Show link icon next to headings */ h1, h2, h3, h4, h5, h6 { display: inline-block; margin-block-end: 0.5em; /* Account for it being an inline block, as opposed to a normal block */ } h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { display: inline; } h1 + p img, h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img { height: 1.3em; border: none; vertical-align: text-top; } /* Main elements: article, header, footer */ .centered, article { margin-left: auto; margin-right: auto; } .header, .footer { text-align: center; font-family: Arial; line-height: 49px; } .header { font-size: 23px; border-bottom: 5px solid var(--link-tab-bg-color) !important; padding-bottom: 3px; } .footer { border-top: 5px solid var(--link-tab-bg-color) !important; padding-top: 3px; } /* Header and footer rectangles (tabs) */ .link-tab, code { white-space: nowrap; } .link-tab { font-weight: normal; padding: 10px; color: white; background-color: var(--link-tab-bg-color); } .link-tab:hover { background-color: var(--link-tab-bg-hover-color); } /* Index page styling */ #index-contents-img { border: none; } @media screen and (min-width: 610px) { #index-page { margin-bottom: 10px; } #index-contents { display: flex; align-items: center; justify-content: center; } #index-contents-text { margin-left: 15px; } #index-contents-img, #index-contents-text { max-width: 49%; } } /* The following CSS is a modified version of sindresorhus's github-markdown-css repo: https://github.com/sindresorhus/github-markdown-css */ code, pre { font-family: monospace,monospace; font-size: 1em; } code { padding: .2em .4em; margin: 0; font-size: 85%; background-color: rgba(27,31,35,.05); border-radius: 3px; } pre > code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } pre code { display: inline; max-width: auto; padding: 0; margin: 0; overflow: visible; line-height: inherit; word-wrap: normal; background-color: initial; border: 0; } pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; margin: 0; word-break: normal; word-wrap: normal; } article > table { line-height: 25px; border-spacing: 0; border-collapse: collapse; margin-top: 10px; margin-bottom: 10px; width: 100%; overflow: auto; } article > table th { font-weight: 600; } article > table td, article > table th { padding: 6px 13px; border: 1px solid #dfe2e5; } article > table tr { background-color: #fff; border-top: 1px solid #c6cbd1; } article > table tr:nth-child(2n) { background-color: #f6f8fa; } blockquote { margin: 0; margin-top: 0; margin-bottom: 16px; padding: 0 1em; color: #6a737d; border-left: .25em solid #dfe2e5; } blockquote > :first-child { margin-top: 0; } blockquote > :last-child { margin-bottom: 0; } /* OpenSans font */ @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Regular.ttf); font-weight: normal; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Bold.ttf); font-weight: bold; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-ExtraBold.ttf); font-weight: 800; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Italic.ttf); font-weight: normal; font-style: italic; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-BoldItalic.ttf); font-weight: bold; font-style: italic; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf); font-weight: 800; font-style: italic; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Semibold.ttf); font-weight: 600; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-SemiboldItalic.ttf); font-weight: 600; font-style: italic; }