/*! * LaTeX.css (https://latex.now.sh/) * * Source: https://github.com/vincentdoerig/latex-css * Licensed under MIT (https://github.com/vincentdoerig/latex-css/blob/master/LICENSE) * Edit-by: Minijackson based on the Nord theme, the default VimWiki theme, and Tufte CSS */ /* @font-face { font-family: 'Latin Modern'; font-style: normal; font-weight: normal; font-display: swap; src: url('./fonts/LM-regular.woff2') format('woff2'), url('./fonts/LM-regular.woff') format('woff'), url('./fonts/LM-regular.ttf') format('truetype'); } @font-face { font-family: 'Latin Modern'; font-style: italic; font-weight: normal; font-display: swap; src: url('./fonts/LM-italic.woff2') format('woff2'), url('./fonts/LM-italic.woff') format('woff'), url('./fonts/LM-italic.ttf') format('truetype'); } @font-face { font-family: 'Latin Modern'; font-style: normal; font-weight: bold; font-display: swap; src: url('./fonts/LM-bold.woff2') format('woff2'), url('./fonts/LM-bold.woff') format('woff'), url('./fonts/LM-bold.ttf') format('truetype'); } @font-face { font-family: 'Latin Modern'; font-style: italic; font-weight: bold; font-display: swap; src: url('./fonts/LM-bold-italic.woff2') format('woff2'), url('./fonts/LM-bold-italic.woff') format('woff'), url('./fonts/LM-bold-italic.ttf') format('truetype'); } */ @font-face { font-family: "et-book"; src: url("fonts/et-book-roman-line-figures/et-book-roman-line-figures.eot"); src: url("fonts/et-book-roman-line-figures/et-book-roman-line-figures.eot?#iefix") format("embedded-opentype"), url("fonts/et-book-roman-line-figures/et-book-roman-line-figures.woff") format("woff"), url("fonts/et-book-roman-line-figures/et-book-roman-line-figures.ttf") format("truetype"), url("fonts/et-book-roman-line-figures/et-book-roman-line-figures.svg#etbookromanosf") format("svg"); font-weight: normal; font-style: normal } @font-face { font-family: "et-book"; src: url("fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot"); src: url("fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot?#iefix") format("embedded-opentype"), url("fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff") format("woff"), url("fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf") format("truetype"), url("fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg#etbookromanosf") format("svg"); font-weight: normal; font-style: italic } @font-face { font-family: "et-book"; src: url("fonts/et-book-bold-line-figures/et-book-bold-line-figures.eot"); src: url("fonts/et-book-bold-line-figures/et-book-bold-line-figures.eot?#iefix") format("embedded-opentype"), url("fonts/et-book-bold-line-figures/et-book-bold-line-figures.woff") format("woff"), url("fonts/et-book-bold-line-figures/et-book-bold-line-figures.ttf") format("truetype"), url("fonts/et-book-bold-line-figures/et-book-bold-line-figures.svg#etbookromanosf") format("svg"); font-weight: bold; font-style: normal } /* Box sizing rules */ *, *::before, *::after { box-sizing: border-box; } /* Remove default margin */ body, h1, h2, h3, h4, p, ul[class], ol[class], li, figure, figcaption, dl, dd { margin: 0; } html { font-size: 1.4rem; scroll-behavior: smooth; } body { font-family: /*'Latin Modern', Georgia, Cambria, 'Times New Roman', Times,*/ 'et-book', serif; line-height: 1.8; max-width: 80ch; min-height: 100vh; overflow-x: hidden; margin: 0 auto; padding: 2rem 1.25rem; counter-reset: theorem; counter-reset: definition; counter-reset: sidenote-counter; counter-reset: figure; color: #eceff4; background-color: #2e3440; text-rendering: optimizeLegibility; } /* Hyphenate all paragraphs */ p { /*text-align: justify;*/ hyphens: auto; -webkit-hyphens: auto; -moz-hyphens: auto; margin-top: 1rem; } /* A elements that don't have a class get default styles */ a:not([class]) { text-decoration-skip-ink: auto; } a, a:visited { color: #8fbcbb; } a:focus { outline-offset: 2px; outline: 2px solid #81a1c1; } /* Make images easier to work with */ img { max-width: 100%; display: block; /* useful for images with transparent backgrounds */ background-color: white; } /* Inherit fonts for inputs and buttons */ input, button, textarea, select { font: inherit; } /* Prevent textarea from overflowing */ textarea { width: 100%; } /* Natural flow and rhythm in articles by default */ article > * + * { margin-top: 1em; } /* Styles for inline code or code snippets */ code, pre, kbd { font-family: /*Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',*/ monospace; font-size: 85%; } /* inline code */ :not(pre) > code { background: #434c5e; padding: 3px 6px; border-radius: 3px; } pre { padding: 1rem 1.4rem; max-width: 100%; overflow: auto; border-radius: 4px; background: #3b4252; line-height: 1.4; } pre code { font-size: 95%; position: relative; } kbd { background: #434c5e; border: 1px solid #e5e9f0; border-radius: 2px; padding: 2px 4px; font-size: 75%; } /* Make table 100% width, add borders between rows */ table { border-collapse: collapse; border-spacing: 0; width: 100%; max-width: 100%; } th, td { text-align: left; padding: 0.5rem; } td { border-bottom: 1px solid #d8dee9; } /* thead */ th { border-bottom: 2px solid #e5e9f0; } tfoot th { border-top: 2px solid #e5e9f0; } /* Center align the title */ h1:first-child { text-align: center; } /* Nested ordered list for ToC */ nav ol, nav ul { counter-reset: item; padding-left: 2rem; } nav li { display: block; } nav li:before { content: counters(item, '.') ' '; counter-increment: item; padding-right: 0.85rem; } /* Definitions */ dl { margin-top: 1rem; } dt { font-weight: bold; } dd { margin: 0 0 .8rem 2rem; } /* Theorem */ .theorem { counter-increment: theorem; display: block; margin: 12px 0; font-style: italic; } .theorem::before { content: 'Theorem ' counter(theorem) '. '; font-weight: bold; font-style: normal; } /* Lemma */ .lemma { counter-increment: theorem; display: block; margin: 12px 0; font-style: italic; } .lemma::before { content: 'Lemma ' counter(theorem) '. '; font-weight: bold; font-style: normal; } /* Proof */ .proof { display: block; margin: 12px 0; font-style: normal; position: relative; } .proof::before { content: 'Proof. ' attr(title); font-style: italic; } .proof:after { content: '◾️'; position: absolute; right: -12px; bottom: -2px; } /* Definition */ .definition { counter-increment: definition; display: block; margin: 12px 0; font-style: normal; } .definition::before { content: 'Definition ' counter(definition) '. '; font-weight: bold; font-style: normal; } /* Center align author name, use small caps and add vertical spacing */ .author, .subtitle { margin: 0.85rem 0; font-variant-caps: small-caps; text-align: center; } /* Make footnote text smaller and left align it (looks bad with long URLs) */ .footnotes p { text-align: left; line-height: 1.5; font-size: 85%; margin-bottom: 0.4rem; } .footnotes { border-top: 1px solid hsl(0, 0%, 39%); } /* Center title and paragraph */ .abstract, .abstract p { text-align: center; } .abstract { margin: 2.25rem 0; } /* Format the LaTeX symbol correctly (a higher up, e lower) */ .latex span:nth-child(1) { text-transform: uppercase; font-size: 0.75em; vertical-align: 0.28em; margin-left: -0.48em; margin-right: -0.15em; line-height: 1ex; } .latex span:nth-child(2) { text-transform: uppercase; vertical-align: -0.5ex; margin-left: -0.1667em; margin-right: -0.125em; line-height: 1ex; } /* Heading typography */ h1 { font-size: 2.5rem; line-height: 3.25rem; margin-bottom: 1.625rem; } h2 { font-size: 1.7rem; line-height: 2rem; margin-top: 3rem; } h3 { font-size: 1.4rem; margin-top: 2.5rem; } h4 { font-size: 1.2rem; margin-top: 2rem; } h5 { font-size: 1rem; margin-top: 1.8rem; } h6 { font-size: 1rem; font-style: italic; font-weight: normal; margin-top: 2.5rem; } h3, h4, h5, h6 { line-height: 1.625rem; } h1 + h2 { margin-top: 1.625rem; } h2 + h3, h3 + h4, h4 + h5 { margin-top: 0.8rem; } h5 + h6 { margin-top: -0.8rem; } h2, h3, h4, h5, h6 { margin-bottom: 0.8rem; } blockquote { color: #d8dee9; margin: 0; padding-left: 3em; border-left: 0.5em #4c566a solid; margin-top: 1rem; } .todo { font-weight: bold; background-color: #bf616a; font-size: 0.8em; padding: 3px 6px; border-radius: 3px; } .tag { background-color: #5e81ac; font-family: monospace; padding: 3px 6px; border-radius: 3px; } /* classes for items of todo lists */ .rejected { /* list-style: none; */ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAACXBIWXMAAADFAAAAxQEdzbqoAAAAB3RJTUUH4QgEFhAtuWgv9wAAAPZQTFRFmpqam5iYnJaWnJeXnpSUn5OTopCQpoqKpouLp4iIqIiIrYCAt3V1vW1tv2xsmZmZmpeXnpKS/x4e/x8f/yAg/yIi/yQk/yUl/yYm/ygo/ykp/yws/zAw/zIy/zMz/zQ0/zU1/zY2/zw8/0BA/0ZG/0pK/1FR/1JS/1NT/1RU/1VV/1ZW/1dX/1pa/15e/19f/2Zm/2lp/21t/25u/3R0/3p6/4CA/4GB/4SE/4iI/46O/4+P/52d/6am/6ur/66u/7Oz/7S0/7e3/87O/9fX/9zc/93d/+Dg/+vr/+3t/+/v//Dw//Ly//X1//f3//n5//z8////gzaKowAAAA90Uk5T/Pz8/Pz8/Pz8/Pz8/f39ppQKWQAAAAFiS0dEEnu8bAAAAACuSURBVAhbPY9ZF4FQFEZPSKbIMmWep4gMGTKLkIv6/3/GPbfF97b3w17rA0kQOPgvAeHW6uJ6+5h7HqLdwowgOzejXRXBdx6UdSru216xuOMBHHNU0clTzeSUA6EhF8V8kqroluMiU6HKcuf4phGPr1o2q9kYZWwNq1qfRRmTaXpqsyjj17KkWCxKBUBgXWueHIyiAIg18gsse4KHkLF5IKIY10WQgv7fOy4ST34BRiopZ8WLNrgAAAAASUVORK5CYII=); background-repeat: no-repeat; background-position: 0 .2em; padding-left: 1.5em; } .done0 { /* list-style: none; */ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAA7SURBVCiR7dMxEgAgCANBI3yVRzF5KxNbW6wsuH7LQ2YKQK1mkswBVERYF5Os3UV3gwd/jF2SkXy66gAZkxS6BniubAAAAABJRU5ErkJggg==); background-repeat: no-repeat; background-position: 0 .2em; padding-left: 1.5em; } .done1 { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABtSURBVCiR1ZO7DYAwDER9BDmTeZQMFXmUbGYpOjrEryA0wOvO8itOslFrJYAug5BMM4BeSkmjsrv3aVTa8p48Xw1JSkSsWVUFwD05IqS1tmYzk5zzae9jnVVVzGyXb8sALjse+euRkEzu/uirFomVIdDGOLjuAAAAAElFTkSuQmCC); background-repeat: no-repeat; background-position: 0 .15em; padding-left: 1.5em; } .done2 { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAB1SURBVCiRzdO5DcAgDAVQGxjAYgTvxlDIu1FTIRYAp8qlFISkSH7l5kk+ZIwxKiI2mIyqWoeILYRgZ7GINDOLjnmF3VqklKCUMgTee2DmM661Qs55iI3Zm/1u5h9sm4ig9z4ERHTFzLyd4G4+nFlVrYg8+qoF/c0kdpeMsmcAAAAASUVORK5CYII=); background-repeat: no-repeat; background-position: 0 .15em; padding-left: 1.5em; } .done3 { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAxQAAAMUBHc26qAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABoSURBVCiR7dOxDcAgDATA/0DtUdiKoZC3YhLkHjkVKF3idJHiztKfvrHZWnOSE8Fx95RJzlprimJVnXktvXeY2S0SEZRSAAAbmxnGGKH2I5T+8VfxPhIReQSuuY3XyYWa3T2p6quvOgGrvSFGlewuUAAAAABJRU5ErkJggg==); background-repeat: no-repeat; background-position: 0 .15em; padding-left: 1.5em; } .done4 { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAzgAAAM4BlP6ToAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIISURBVDiNnZQ9SFtRFMd/773kpTaGJoQk1im4VDpWQcTNODhkFBcVTCNCF0NWyeDiIIiCm82QoIMIUkHUxcFBg1SEQoZszSat6cdTn1qNue92CMbEr9Sey+XC/Z/zu+f8h6ukUil3sVg0+M+4cFxk42/jH2wAqqqKSCSiPQdwcHHAnDHH9s/tN1h8V28ETdP+eU8fT9Nt62ancYdIPvJNtsu87bmjrJlrTDVM4RROJs1JrHPrD4Bar7A6cpc54iKOaTdJXCUI2UMVrQZ0Js7YPN18ECKkYNQcJe/OE/4dZsw7VqNXQMvHy3QZXQypQ6ycrtwDjf8aJ+PNEDSCzLpn7+m2pD8ZKHlKarYhy6XjEoCYGcN95qansQeA3fNdki+SaJZGTMQIOoL3W/Z89rxv+tokubNajlvk/vm+LFpF2XnUKZHI0I+QrI7Dw0OZTqdzUkpsM7mZTyfy5OPGyw1tK7AFSvmB/Ks8w8YwbUYbe6/3QEKv0vugfxWPnMLJun+d/kI/WLdizpNjMbAIKrhMF4OuwadBALqqs+RfInwUvuNi+fBd+wjogfogAFVRmffO02q01mZZ0HHdgXIzdz0QQLPezIQygX6llxNKKgOFARYCC49CqhoHIUTlss/Vx2phlYwjw8j1CAlfAiwQiJpiy7o1VHnsG5FISkoJu7Q/2YmmaV+i0ei7v38L2CBguSi5AAAAAElFTkSuQmCC); background-repeat: no-repeat; background-position: 0 .15em; padding-left: 1.5em; } /* Tufte CSS, the sidenote part */ .sidenote, .marginnote { float: right; clear: right; margin-right: -45ch; width: 35ch; margin-top: 0; margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.3; color: #abb9cf; border-top: 1px solid #4c566a; border-bottom: 1px solid #4c566a; /* no padding bottom to compensate extra
by pandoc-sidenote */ padding-top: 1em; position: relative; } .sidenote-number { counter-increment: sidenote-counter; } .sidenote-number:after, .sidenote:before { position: relative; vertical-align: baseline; } .sidenote-number:after { content: counter(sidenote-counter); font-size: 0.9rem; top: -0.5rem; left: 0.1rem; } .sidenote:before { content: counter(sidenote-counter) ":"; font-size: 0.9rem; position: absolute; left: -2em; } blockquote .sidenote, blockquote .marginnote { margin-right: -82%; min-width: 59%; text-align: left; } /* .marginnote > code, .sidenote > code { font-size: 1rem; } */ input.margin-toggle { display: none; } label.sidenote-number { display: inline; } label.margin-toggle:not(.sidenote-number) { display: none; } figure { counter-increment: figure; text-align: center; margin: 2em 0; } figure > img { margin: auto; padding: 1em; } figure figcaption { font-size: 0.9em; font-style: italic; } figure figcaption::before { content: 'Figure ' counter(figure) ': '; color: #abb9cf; } @media (max-width: 110rem) { body { padding: 2rem 1.25rem; max-width: 80ch; } section > p, section > footer, section > table, section > div { width: 100%; } label.margin-toggle:not(.sidenote-number) { display: inline; color: #8fbcbb; } .sidenote, .marginnote { display: none; } .sidenote-number:after { color: #a3be8c; /*text-decoration: underline;*/ } .margin-toggle:checked + .sidenote, .margin-toggle:checked + .marginnote { display: block; float: left; left: 1rem; clear: both; width: 95%; margin: 1rem 2.5%; vertical-align: baseline; position: relative; } label { cursor: pointer; } }