@media screen { :root { color-scheme: normal; --body-background: white; --body-color: black; --header-color: black; --event-background: #f8f9fa; --event-pre-color: #212529; --breadcrumb-background: #ccc; --pre-background: #ddd; --pre-color: #212529; --link-color: black; --nav-active-background: #ccc; --nav-active-color: #777; --nav-color: #777; --log-hover-background: #ddd; --insertion-color: #080; --deletion-color: #800; } } @media screen and (prefers-color-scheme: dark) { :root { color-scheme: dark; --body-background: #222; --body-color: #9e9e9e; --header-color: #9e9e9e; --event-background: #2b2b2b; --event-pre-color: #f8f9fa; --breadcrumb-background: #2b2b2b; --pre-background: #333; --pre-color: #a9b7c6; --link-color: #87ab63; --nav-active-background: #87ab63; --nav-active-color: #222; --nav-color: #9e9e9e; --log-hover-background: #2a2d2f; --insertion-color: #080; --deletion-color: #D80407; } } * { font-family: monospace; line-height: 1.25; } *, ::after, ::before { box-sizing: border-box; } body { margin: 0 auto; max-width: 960px; background: var(--body-background); color: var(--body-color); } img { max-width: 900px; } a { color: var(--link-color); text-decoration: none; } a:hover { text-decoration: underline; } header { margin: 10px; } header h1 { color: var(--header-color); font-size: 2em; font-weight: bold; margin-bottom: 0; } header p { color: #777; margin-top: 0; } nav { margin-top: 2em; padding: 0px 1em; vertical-align: bottom; } nav a { color: var(--nav-color); text-decoration: none; padding: 2px 0.75em; font-size: 110%; } nav a.active { color: var(--nav-active-color); background: var(--nav-active-background); } main { padding: 1em; } footer { margin-top: 0; text-align: center; font-size: 1em; color: #ccc; } dl { margin: 0; margin-bottom: 1em; } .breadcrumb { background: var(--breadcrumb-background); padding: 2px 1em; } /*** * * Tables * ***/ .table-container { overflow-x: auto; } table { width: 100%; } thead { font-weight: bold; } table.files > thead > tr > td:nth-of-type(1) { width: 10%; } table.files > thead > tr > td:nth-of-type(2) { width: 70%; } table.files > thead > tr > td:nth-of-type(3), table.files > thead > tr > td:nth-of-type(4) { width: 10%; } table.repositories > tbody > tr > td:nth-of-type(3), table.files > tbody > tr > td:nth-of-type(1) { white-space: nowrap; } /*** * * diffstat * ***/ .diffstat { width: 100%; display: table; } .diffstat > div { display: table-row; } .diffstat > div > div { display: table-cell; } .diffstat > div > div:nth-of-type(1) { padding-right: 12px; } .diffstat > div > div:nth-of-type(3), .diffstat > div > div:nth-of-type(4) { padding-right: 5px; } .diffstat > div > div:nth-of-type(2) { padding-right: 15px; } .diffstat > div > div:nth-of-type(1), .diffstat > div > div:nth-of-type(2), .diffstat > div > div:nth-of-type(3), .diffstat > div > div:nth-of-type(4) { width: 1%; white-space: nowrap; } /*** * * events (e.g. commit) * ***/ .event { text-overflow: ellipsis; overflow: hidden; padding: .5rem; margin: .5rem 0; background: var(--event-background); } .event :last-child { margin-bottom: 0; } .event pre { padding: .25rem; padding-left: 0; padding-right: 0; background: inherit; display: block; font-size: 87.5%; color: var(--event-pre-color); } .event .commit pre { text-overflow: ellipsis; overflow: none; } .log a { text-decoration: none; } .log div:hover { background: var(--log-hover-background); } /*** * * code viewer (blob page) * ***/ pre { background: var(--pre-background); color: var(--pre-color); overflow: auto; margin: 0; padding: .75rem; font-size: 85%; } pre code, pre .line-number { display: block; } pre .line-number { color: black; float: left; margin: 0 1em 0 -1em; border-right: 1px solid; text-align: right; } pre .line-number a { padding: 0 .5em 0 1em; } .insertion { color: var(--insertion-color); } .deletion { color: var(--deletion-color); } /*** * * overview page * ***/ td.sublevel-repo { padding-left: 1.5em; } td.reposection { color: #888; font-style: italic; } /*** * * grid-system * ***/ .container { width: 100%; margin-left: -2%; margin-right: -2%; } .row { position: relative; width: 100%; } .row [class^="col"] { float: left; margin: 0 2%; min-height: 0.125rem; } .row::after { content: ""; display: table; clear: both; } .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { width: 96%; } @media only screen and (min-width: 45em) { /* 720px */ .col-1 { width: 4.33%; } .col-2 { width: 12.66%; } .col-3 { width: 21%; } .col-4 { width: 29.33%; } .col-5 { width: 37.66%; } .col-6 { width: 46%; } .col-7 { width: 54.33%; } .col-8 { width: 62.66%; } .col-9 { width: 71%; } .col-10 { width: 79.33%; } .col-11 { width: 87.66%; } .col-12 { width: 96%; } } /*** * * helper * ***/ .responsive { width: 100%; overflow: auto; } .center-text { text-align: center; } .right { float: right; } .clearfix::after { content: ""; clear: both; display: table; } /*** * * syntax highlighting * ***/ .hljs-number, .hljs-literal, .hljs-symbol, .hljs-bullet { color: #6897BB } .hljs-keyword, .hljs-selector-tag, .hljs-deletion { color: #cc7832 } .hljs-variable, .hljs-template-variable, .hljs-link { color: #629755 } .hljs-comment, .hljs-quote { color: #808080 } .hljs-meta { color: #bbb529 } .hljs-string, .hljs-attribute, .hljs-addition { color: #6A8759 } .hljs-section, .hljs-title, .hljs-type { color: #ffc66d } .hljs-name, .hljs-selector-id, .hljs-selector-class { color: #e8bf6a } .hljs-emphasis { font-style: italic } .hljs-strong { font-weight: bold }