cooperative-software-develo.../bookish.css
2023-01-28 10:43:11 -08:00

1 line
22 KiB
CSS

:root{--bookish-background-color: #FFFFFF;--bookish-block-background-color: #FCFAFA;--bookish-error-background-color: #F8D7DA;--bookish-border-color-light: #E0E0E0;--bookish-border-color-bold: #000000;--bookish-paragraph-color: #000000;--bookish-muted-color: #9AA1A7;--bookish-highlight-color: #E8AF22;--bookish-comment-color: #257F31;--bookish-error-color: #721C24;--bookish-link-color: #1B499C;--bookish-bullet-color: #EB2C27;--bookish-paragraph-font-family: "Georgia", serif;--bookish-header-font-family: "Verdana", serif;--bookish-code-font-family: "Courier New", monospace;--bookish-bullet-font-family: "Verdana";--bookish-paragraph-font-size: 14pt;--bookish-block-font-size: 11pt;--bookish-small-font-size: 9pt;--bookish-title-font-size: 2.4rem;--bookish-header-1-font-size: 2rem;--bookish-header-2-font-size: 1.5rem;--bookish-header-3-font-size: 1rem;--bookish-code-font-size: 11pt;--bookish-paragraph-font-weight: 400;--bookish-bold-font-weight: 700;--bookish-link-font-weight: 400;--bookish-header-font-weight: 700;--bookish-code-font-weight: 400;--bookish-bullet-font-weight: 500;--bookish-paragraph-line-height: 1.8em;--bookish-paragraph-line-height-tight: 1.4em;--bookish-header-line-height: 1.4em;--bookish-paragraph-spacing: 1.8rem;--bookish-header-spacing: 2rem;--bookish-roundedness: 5px;--bookish-indent: 10%;--bookish-inline-padding: .25rem;--bookish-block-padding: 1rem;--bookish-outline-width: 12em;--bookish-outline-padding: 1em;--bookish-outline-offset: calc(-1 * (var(--bookish-outline-width) + 2 * var(--bookish-outline-padding)))}.bookish-dark{--bookish-background-color: #1C1C1C;--bookish-block-background-color: #333333;--bookish-error-background-color: #721C24;--bookish-border-color-light: #444444;--bookish-border-color-bold: #DADADA;--bookish-paragraph-color: #DADADA;--bookish-muted-color: #666666;--bookish-highlight-color: #c5a248;--bookish-comment-color: #1c4722;--bookish-error-color: #F8D7DA;--bookish-link-color: #73a3fa;--bookish-bullet-color: #721C24}*{box-sizing:border-box}body{margin:0;padding:0;background-color:var(--bookish-background-color)}.bookish{font-weight:var(--bookish-paragraph-font-weight);font-family:var(--bookish-paragraph-font-family);font-size:var(--bookish-paragraph-font-size);line-height:var(--bookish-paragraph-line-height);background-color:var(--bookish-background-color);color:var(--bookish-paragraph-color);width:100%;z-index:0;text-align:left}.bookish-page{max-width:720px;position:relative;padding-left:var(--bookish-block-padding);padding-right:var(--bookish-block-padding);padding-bottom:5em;margin-top:0;margin-left:auto;margin-right:auto;opacity:0;transition:opacity .25s ease-in;z-index:1}.bookish-page-loaded{opacity:1}.bookish-loading{width:100vw;height:100vh}.bookish-loading-animation{position:fixed;width:80px;height:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;z-index:2}.bookish-loading-animation div{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--bookish-muted-color);animation:bookish-loading 1.2s linear infinite}.bookish-loading-animation div:nth-child(1){top:8px;left:8px;animation-delay:0s}.bookish-loading-animation div:nth-child(2){top:8px;left:32px;animation-delay:-.4s}.bookish-loading-animation div:nth-child(3){top:8px;left:56px;animation-delay:-.8s}.bookish-loading-animation div:nth-child(4){top:32px;left:8px;animation-delay:-.4s}.bookish-loading-animation div:nth-child(5){top:32px;left:32px;animation-delay:-.8s}.bookish-loading-animation div:nth-child(6){top:32px;left:56px;animation-delay:-1.2s}.bookish-loading-animation div:nth-child(7){top:56px;left:8px;animation-delay:-.8s}.bookish-loading-animation div:nth-child(8){top:56px;left:32px;animation-delay:-1.2s}.bookish-loading-animation div:nth-child(9){top:56px;left:56px;animation-delay:-1.6s}@keyframes bookish-loading{0%,to{opacity:1}50%{opacity:.5}}.bookish-muted{color:var(--bookish-muted-color);font-weight:400}.bookish-chapter-body{min-height:2em;min-width:100%}p{font-family:var(--bookish-paragraph-font-family);font-size:var(--bookish-paragraph-font-size);color:var(--bookish-paragraph-color);margin-top:var(--bookish-paragraph-spacing);margin-bottom:var(--bookish-paragraph-spacing);word-break:break-word;min-height:var(--bookish-paragraph-line-height)}strong,b{font-weight:var(--bookish-bold-font-weight)}h1,h2,h3,h4,h5,h6{font-family:var(--bookish-header-font-family);font-weight:var(--bookish-header-font-weight);margin-top:var(--bookish-header-spacing);margin-bottom:var(--bookish-header-spacing);line-height:var(--bookish-header-line-height)}h1{font-size:var(--bookish-title-font-size)}h2{font-size:var(--bookish-header-1-font-size)}h3{font-size:var(--bookish-header-2-font-size)}h4{font-size:var(--bookish-header-3-font-size);font-style:italic}.bookish-chapter-number{font-family:var(--bookish-header-font-family);font-weight:400;font-style:italic}.bookish-title{margin-top:0;margin-bottom:0}.bookish-subtitle{font-size:var(--bookish-header-1-font-size);font-weight:400;font-style:italic;margin-top:0;margin-bottom:calc(var(--bookish-title-font-size) * .5);line-height:var(--bookish-header-line-height)}.bookish-figure{margin-bottom:var(--bookish-paragraph-spacing)}.bookish-section-name{display:inline-block;font-family:var(--bookish-paragraph-font-family);font-size:var(--bookish-small-font-size);font-weight:400;font-style:normal;color:var(--bookish-muted-color);line-height:1em}.bookish-tag{font-size:var(--bookish-small-font-size);display:inline-block;padding:var(--bookish-inline-padding) calc(2 * var(--bookish-inline-padding));border-radius:var(--bookish-roundedness);background-color:var(--bookish-border-color-light);font-weight:700;text-transform:uppercase}.bookish-authors{font-family:var(--bookish-paragraph-font-family);font-style:italic;margin-top:0;margin-bottom:var(--bookish-paragraph-spacing)}input[type=text]{font-family:var(--bookish-paragraph-font-family);font-size:var(--bookish-paragraph-font-size);padding:var(--bookish-inline-padding) calc(2 * var(--bookish-inline-padding));width:100%}.bookish-chapter>p:first-of-type:first-letter{padding:0 .25rem;margin:0 .25rem 0 0;font-size:4rem;font-weight:700;float:left;line-height:1;color:var(--bookish-paragraph-color)}ol{list-style:none;counter-reset:item}ol>li{counter-increment:item}ol>li{list-style-type:none}ol>ol>li{list-style-type:none}ol>ol>ol>li{list-style-type:none}ol>li:before,ul>ol>li:before,ul>ul>ol>li:before{content:counter(item) ". ";color:var(--bookish-bullet-color);display:inline-block;width:1em;margin-left:-1.5rem;margin-right:.5rem;text-align:right}ol>ol>li:before,ul>ol>ol>li:before{content:counter(item,lower-alpha) ". "}ol>ol>ol>li:before{content:counter(item,upper-alpha) ". "}li{margin-bottom:calc(.5 * var(--bookish-paragraph-spacing))}ul li{list-style:none}ul li:before{content:"*";color:var(--bookish-bullet-color);display:inline-block;width:1rem;margin-left:-1rem;font-family:var(--bookish-bullet-font-family);font-weight:var(--bookish-bullet-font-weight)}hr{border:none;border-bottom:1px solid var(--bookish-border-color-light);margin-top:calc(var(--bookish-paragraph-spacing) * 3);margin-bottom:calc(var(--bookish-paragraph-spacing) * 3)}.bookish-figure{margin-top:var(--bookish-paragraph-spacing);margin-bottom:var(--bookish-paragraph-spacing);width:100%}.bookish-figure-image{border-radius:var(--bookish-roundedness);max-width:100%;width:100%;height:auto;margin-bottom:0}.bookish-dark .bookish-figure-image{filter:brightness(50%)}.bookish-figure-caption{text-align:center;color:var(--bookish-muted-color);line-height:var(--bookish-paragraph-line-height-tight);font-size:var(--bookish-block-font-size);margin-top:0;margin-bottom:var(--bookish-paragraph-spacing);margin-left:var(--bookish-paragraph-spacing);margin-right:var(--bookish-paragraph-spacing)}.bookish-figure-credit{display:block;text-align:right;font-style:italic;font-size:var(--bookish-small-font-size)}.bookish-figure-preview{display:inline-block;width:10rem;margin:1em;vertical-align:bottom}.bookish-figure-preview img{width:100%;height:auto}.bookish-figure-embed{position:relative;display:block;width:100%;padding:0;overflow:hidden;border-radius:var(--bookish-roundedness)}.bookish-figure-embed:before{padding-top:56.25%;display:block;content:""}.bookish-figure-frame{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.bookish-figure-full{left:50%;margin-left:-50vw;margin-right:-50vw;margin-bottom:3em;max-width:100vw;position:relative;right:50%;width:100vw}.bookish-figure-full .bookish-figure{margin-top:0}.bookish-figure-unspecified{width:100%;height:8em;background-color:var(--bookish-error-background-color);color:var(--bookish-error-color);display:flex;flex-direction:column;justify-content:center;align-items:center}.bookish-figure-dragging{background-color:var(--bookish-highlight-color)}.bookish-scroll-reminder{position:fixed;bottom:4em;left:50%;animation:bookish-bounce 3s infinite;animation-timing-function:ease;width:0;height:0;margin-left:-1rem;border-left:1rem solid transparent;border-right:1rem solid transparent;border-top:1rem solid white;mix-blend-mode:difference}.bookish-scroll-reminder.bookish-past-title{display:none}@keyframes bookish-bounce{0%{bottom:4em}50%{bottom:5em}to{bottom:4em}}a{color:var(--bookish-link-color);font-weight:var(--bookish-link-font-weight);text-decoration:none}a:hover{text-decoration:underline}.bookish-forthcoming{opacity:.5}.bookish-blockquote{clear:both;border:none;font-family:var(--bookish-header-font-family);font-weight:400;font-style:italic;padding:0;margin-top:var(--bookish-paragraph-spacing);margin-bottom:var(--bookish-paragraph-spacing);margin-left:var(--bookish-indent);margin-right:var(--bookish-indent);position:relative}.bookish-blockquote>p{margin:0;padding:0}.bookish-blockquote .bookish-blockquote-caption{margin-top:.5em;text-align:right;font-family:var(--bookish-header-font-family);font-style:italic;color:var(--bookish-muted-color)}.bookish-blockquote:before{content:"\201c";position:relative;top:80pt;left:-40pt;font-family:Modum Extra;font-size:120pt;font-weight:700;color:var(--bookish-highlight-color);z-index:-1}.bookish-blockquote-caption:before{content:"--";margin-right:.25em}.bookish-callout{border:none;border-top:2px solid var(--bookish-border-color-bold);border-bottom:2px solid var(--bookish-border-color-bold);margin:var(--bookish-paragraph-spacing);padding-left:0;padding-right:0;padding-top:var(--bookish-paragraph-spacing);padding-bottom:var(--bookish-paragraph-spacing);line-height:var(--bookish-paragraph-line-height-tight);clear:both;position:relative}.bookish-callout h2,.bookish-callout h3,.bookish-callout h4{margin-top:0}.bookish-callout ol,.bookish-callout ul{padding-left:1rem}.bookish-table{display:block;width:100%;overflow-x:auto}.bookish-table table{width:100%;line-height:var(--bookish-paragraph-line-height-tight);margin-bottom:var(--bookish-paragraph-spacing);border-collapse:collapse;clear:both}.bookish-table td{padding:var(--bookish-block-padding);vertical-align:top;border-top:1px solid var(--bookish-border-color-light)}.bookish-chapter .bookish-table{border-collapse:separate;border-radius:var(--bookish-roundedness);border-spacing:0}.bookish-chapter .bookish-table tbody tr:first-child{border:0;background-color:var(--bookish-border-color-light)}.bookish-chapter .bookish-table tbody tr:first-child td{font-weight:700;border:0;border-bottom:1px solid var(--bookish-border-color-light)}.bookish-chapter .bookish-table tbody tr:nth-child(even){background-color:var(--bookish-block-background-color)}.bookish-chapter table tr:last-child td:first-child{border-bottom-left-radius:var(--bookish-roundedness)}.bookish-chapter table tr:last-child td:last-child{border-bottom-right-radius:var(--bookish-roundedness)}.bookish-chapter table tr:first-child td:first-child{border-top-left-radius:var(--bookish-roundedness)}.bookish-chapter table tr:first-child td:last-child{border-top-right-radius:var(--bookish-roundedness)}.bookish-chapter .bookish-table td{font-size:var(--bookish-block-font-size);border:0}.bookish-error{background-color:var(--bookish-error-background-color);color:var(--bookish-error-color);border-radius:var(--bookish-roundedness);font-weight:400;padding:var(--bookish-inline-padding) calc(2 * var(--bookish-inline-padding))}.bookish-content-highlight{position:relative}.bookish-label.bookish-content-highlight{display:inline-block;width:3em;height:3em;border-radius:3em;position:absolute;z-index:-1;margin-left:-1em}.bookish-marginal-interactor .bookish-citation-symbol:before,.bookish-marginal-interactor .bookish-footnote-symbol:before,.bookish-marginal-interactor .bookish-comment-symbol:before{content:"";width:3em;height:3em;top:-1em;left:calc(-1.5em + 50%);border-radius:3em;position:absolute;z-index:-1;opacity:0;background-color:var(--bookish-highlight-color);transition:opacity .2s}@media (hover: hover){.bookish-marginal-interactor.bookish-marginal-hovered .bookish-citation-symbol:before,.bookish-marginal-interactor.bookish-marginal-hovered .bookish-footnote-symbol:before,.bookish-marginal-interactor.bookish-marginal-hovered .bookish-comment-symbol:before{opacity:.3}}.bookish-marginal-interactor.bookish-marginal-selected .bookish-citation-symbol:before,.bookish-marginal-interactor.bookish-marginal-selected .bookish-footnote-symbol:before,.bookish-marginal-interactor.bookish-marginal-selected .bookish-comment-symbol:before{opacity:.7}.bookish-content-highlight:before{content:"";z-index:-1;left:-.5em;top:-.5em;position:absolute;width:100%;height:2em;opacity:.7;padding:.1em .25em;background-color:var(--bookish-highlight-color);filter:url(#marker)}.bookish-reference{font-family:var(--bookish-paragraph-font-family);list-style-position:outside}.bookish-footnote{font-family:Epilogue;font-weight:300;font-size:var(--bookish-small-font-size);line-height:1.5em}ol li.bookish-reference:before{color:var(--bookish-paragraph-color)}.bookish-reference-text .bookish-reference-summary{font-size:var(--bookish-small-font-size);padding-left:var(--bookish-indent);display:inline-block;border-left:1px solid var(--bookish-border-color-light);margin-top:1em;font-style:italic}.bookish-footnote,.bookish-marginal .bookish-reference{font-size:var(--bookish-small-font-size);font-style:normal;color:var(--bookish-paragraph-color)}.bookish-footnote-symbol,.bookish-citation-symbol{font-family:var(--bookish-paragraph-font-family);font-weight:400;color:var(--bookish-link-color);position:relative}.bookish-comment-symbol,.bookish-reference,.bookish-footnote{position:relative}.bookish-references .bookish-reference,.bookish-footnote{display:block;line-height:var(--bookish-paragraph-line-height-tight);margin-left:1rem;margin-bottom:1rem;text-align:left}.bookish-reference .bookish-citation-symbol,.bookish-footnote .bookish-footnote-symbol{display:block;float:left;margin-top:-.5em;position:absolute;left:-1.75em;text-align:right;width:1.5em}.bookish-definition .bookish-marginal-interactor{border-bottom:2px solid var(--bookish-link-color)}.bookish-definition-entry{display:block;padding-left:.75rem;font-size:var(--bookish-small-font-size);line-height:var(--bookish-paragraph-line-height-tight);text-align:left;margin-left:.25rem;margin-bottom:1rem;background:linear-gradient(to right,var(--bookish-link-color) 0px,var(--bookish-link-color) 2px,transparent 2px) no-repeat right}.bookish-definition-entry .bookish-definition-entry-synonyms{color:var(--bookish-muted-color);font-style:italic}.bookish-outline{font-family:var(--bookish-header-font-family);font-weight:400;font-size:var(--bookish-paragraph-font-size);color:var(--bookish-muted-color)}.bookish-outline-header-nav{display:inline-block;width:100%;padding-bottom:var(--bookish-outline-padding)}.bookish-outline-header{display:block;line-height:var(--bookish-paragraph-line-height-tight);text-indent:0;padding-left:1rem;padding-right:1rem;margin-bottom:.75rem}.bookish-outline-header-level-0{font-size:1rem}.bookish-outline-header-level-1{font-size:.9rem}.bookish-outline-header-level-2{font-size:.8rem;font-style:italic;margin-left:1em}a .bookish-outline-header,.bookish-outline-header-nav a{color:var(--bookish-muted-color)}a .bookish-outline-header-active,a:hover .bookish-outline-header{color:var(--bookish-paragraph-color)}.bookish-outline-header-nav-disabled{opacity:.3}.bookish-outline a:hover{text-decoration:none}@media (hover: hover){.bookish-outline a:hover{color:var(--bookish-paragraph-color)}}a .bookish-outline-header-active{color:var(--bookish-paragraph-color)}.bookish-outline-reading-mode{transition:transform .2s ease-in}.bookish-outline-reading-mode:hover{cursor:pointer;transform:scale(1.25);color:var(--bookish-paragraph-color)}@media screen and (max-width: 1200px){.bookish-marginal{background-color:var(--bookish-background-color);padding:.75em;position:fixed;width:auto;height:auto;left:0;right:0;bottom:0;z-index:2;cursor:pointer;transform:translateY(0);transition:transform .2s ease-in}.bookish-marginal .bookish-marginal{display:none}.bookish-marginal-interactor{cursor:pointer}.bookish-marginal-interactor:hover{font-weight:700}.bookish-definition .bookish-marginal-interactor:hover{font-weight:400}.bookish-definition:hover{border-bottom-color:var(--bookish-border-color-bold)!important}.bookish-marginal-hidden{transform:translateY(100%);transition:transform .2s ease-out;height:0;bottom:0}.bookish-outline{position:fixed;top:100%;left:0;right:0;width:100%;z-index:2;border-top:1px solid var(--bookish-border-color-light);text-align:left;transition:transform .2s ease-in;background-color:var(--bookish-background-color);box-shadow:0 -1px 2px #00000040;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);max-height:100%;overflow-y:scroll}.bookish-outline-headers{width:20em;margin:auto}.bookish-outline-header-nav{text-align:center;padding-top:.5em;padding-bottom:.5em;text-indent:0!important;font-size:1.25rem!important}.bookish-outline-reading-mode{position:absolute;top:.5em;left:0;font-size:1em;display:inline-block;padding-left:1em;padding-right:1em}.bookish-outline-collapse-cue{position:absolute;top:.5em;right:0;font-size:1em;display:inline-block;padding-left:1em;padding-right:1em;transition:transform .2s ease-in}.bookish-outline-collapse-cue:hover{cursor:pointer;transform:scale(1.25);color:var(--bookish-paragraph-color)}.bookish-outline-collapse-cue-disabled{display:none}.bookish-outline-expanded .bookish-outline-collapse-cue{transform:rotate(90deg)}.bookish-outline.bookish-outline-expanded{transform:translateY(-100%)}.bookish-outline.bookish-outline-collapsed{transform:translateY(-3em)}}@media screen and (min-width: 1200px){.bookish-marginal-left-inset{float:left;clear:both;width:75%;margin-left:-30%!important;margin-right:2em}.bookish-marginal-right-inset{float:right;clear:both;width:75%;margin-right:-30%!important;margin-left:2em}.bookish-marginal{float:right;width:12rem;display:block;padding-bottom:.5rem;position:absolute}.bookish-definition .bookish-marginal-interactor.bookish-marginal-hovered{border-bottom-color:var(--bookish-link-color)!important;border-bottom-width:3px}.bookish-definition .bookish-marginal.bookish-marginal-hovered .bookish-definition-entry{background:linear-gradient(to right,var(--bookish-link-color) 0px,var(--bookish-link-color) 3px,transparent 3px) no-repeat right}.bookish-outline{width:var(--bookish-outline-width);z-index:0;border-right:1px solid var(--bookish-border-color-light);padding:var(--bookish-outline-padding);background-color:var(--bookish-background-color)}.bookish-outline.bookish-outline-fixed-left{position:fixed;display:inline-block;top:50px;transform:translate(var(--bookish-outline-offset))}.bookish-outline.bookish-outline-title-left{position:absolute;margin-left:var(--bookish-outline-offset)}.bookish-outline-collapse-cue{display:none}.bookish-outline-reading-mode{position:absolute;top:calc(var(--bookish-outline-padding));right:calc(var(--bookish-outline-padding))}}.bookish-code{font-family:var(--bookish-code-font-family);font-weight:var(--bookish-code-font-weight);font-size:var(--bookish-code-font-size);white-space:pre-wrap;border:1px solid var(--bookish-border-color-light);color:var(--bookish-muted-color);background-color:var(--bookish-block-background-color);clear:both}code{font-family:var(--bookish-code-font-family);font-weight:var(--bookish-code-font-weight);font-size:var(--bookish-code-font-size)}.bookish-code-block{display:block;padding:var(--bookish-block-padding);line-height:var(--bookish-paragraph-line-height-tight);border-radius:var(--bookish-roundedness)}.bookish-code-inline{display:inline;padding:calc(1.5 * var(--bookish-inline-padding)) var(--bookish-inline-padding)}.bookish-code-inline code{display:inline;padding:0}.bookish-code-language{float:right;margin-top:-3em;font-size:small;color:gray;margin-right:.5em}.hljs,.hljs-title,.hljs-params,.hljs-section{color:var(--bookish-paragraph-color)}.hljs-comment,.hljs-quote{color:var(--bookish-comment-color)}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:var(--bookish-error-color)}.hljs-number,.hljs-built_in,.hljs-builtin-name,.hljs-literal,.hljs-string,.hljs-symbol,.hljs-meta,.hljs-link .hljs-bullet,.hljs-addition{color:var(--bookish-link-color)}.hljs-type,.hljs-attribute,.hljs-keyword,.hljs-selector-tag{color:var(--bookish-highlight-color)}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.bookish-python-controls{display:flex;flex-direction:row;align-items:stretch;width:100%}.bookish-python button{background:var(--bookish-block-background-color);border:1px solid var(--bookish-border-color-light);width:3em;height:3rem;padding:0;display:inline-block;vertical-align:top}.bookish-python .bookish-python-output{flex:1;border:1px solid lightGray;padding:.5rem;height:3rem;overflow-y:scroll;display:inline-block;vertical-align:top;color:var(--bookish-paragraph-color);font-family:var(--bookish-code-font-family);font-weight:var(--bookish-code-font-weight);font-size:var(--bookish-block-font-size)}@media print{.bookish-chapter-header{break-before:page}body{font-size:16pt}@page{margin:1in}h1,h2,h3,h4,h5,h6{break-after:avoid!important}}