411 lines
5.7 KiB
CSS
411 lines
5.7 KiB
CSS
html {
|
|
background: #000;
|
|
-webkit-text-size-adjust: none;
|
|
font-family: serif;
|
|
color: #c9c9c9;
|
|
font-size: 14px;
|
|
}
|
|
|
|
pre {
|
|
font-family: monospace;
|
|
}
|
|
|
|
::selection {
|
|
background: #1f9b92;
|
|
color: #000;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
padding: 0 13px;
|
|
margin: 40px auto;
|
|
}
|
|
|
|
main {
|
|
font-size: 1rem;
|
|
padding: 0;
|
|
line-height: 160%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
footer {
|
|
font-size: 85%;
|
|
padding: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
main h1, h2, h3, strong {
|
|
font-weight: 500;
|
|
width:fit-content;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 500;
|
|
}
|
|
|
|
main h1 {
|
|
font-size: 20px;
|
|
padding: 10px 0 10px 0;
|
|
}
|
|
|
|
main h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
main h2, h3 {
|
|
padding: 20px 0 15px 0;
|
|
}
|
|
|
|
main h3 {
|
|
width: 80vw;
|
|
max-width: 500px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
nav {
|
|
padding: 0.4rem 0 1.5rem 0;
|
|
}
|
|
|
|
nav ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
nav ul li {
|
|
padding-right: 10px;
|
|
display: inline-block;
|
|
}
|
|
|
|
a {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
a {
|
|
color: #1f9b92;
|
|
text-decoration: none;
|
|
font-weight:bold;
|
|
}
|
|
|
|
a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.index {
|
|
margin: 0px auto;
|
|
width: 80vw;
|
|
padding-top: 2em;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
grid-gap: 0.5em;
|
|
min-width: 0;
|
|
}
|
|
|
|
.clone-url {
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
.clone-url pre {
|
|
color: #1f9b92;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.desc {
|
|
|
|
}
|
|
|
|
.tree {
|
|
margin: 0px 10vw;
|
|
max-width: 80vw;
|
|
}
|
|
|
|
.tree td {
|
|
padding: 0.5em 0.5ch;
|
|
font-size: 14px;
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
.mode, .size {
|
|
font-family: monospace;
|
|
width: 10ch;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.size {
|
|
text-align: right;
|
|
width: fit-content;
|
|
}
|
|
|
|
.log {
|
|
width:fit-content;
|
|
max-width: 80vw;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
grid-row-gap: 0.8em;
|
|
grid-column-gap: 8rem;
|
|
margin-bottom: 2em;
|
|
padding-left: 1ch;
|
|
border-left: solid 2px #797979;
|
|
}
|
|
|
|
.commit-hash, .commit-email {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.log pre, .commit pre {
|
|
white-space: pre-wrap;
|
|
font-family: serif;
|
|
}
|
|
|
|
.mode {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.readme pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.readme * {
|
|
margin: 0 auto;
|
|
width: 80vw;
|
|
max-width: 500px;
|
|
}
|
|
.readme h1, .readme h2, .readme h3, .readme h4, .readme h5, .readme h6 {
|
|
text-transform: capitalize;
|
|
}
|
|
.readme ul {
|
|
padding: revert;
|
|
}
|
|
.readme table, .readme pre { width:fit-content;max-width:100vw;margin-left:max(10vw, max(0px, calc(50vw - 250px)));transform:translateX(max(min(0px, calc(min(40vw, 250px) - 50%)), min(-10vw, calc(250px - 50%)))); }
|
|
.readme p, .readme ul, .readme ol { line-height:150%;margin-top:1em;margin-bottom:1em; }
|
|
.readme li { margin-top:0.5em;margin-bottom:0.5em;width:100%; }
|
|
.readme code, .readme pre { background:#00263b;color:#93a1a1;padding:0.25em; }
|
|
.readme pre { white-space:pre;overflow-x:auto; }
|
|
.readme blockquote {padding-left:1ch;line-height:150%;border-left:solid 2px #797979; }
|
|
|
|
.readme img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.diff {
|
|
margin: 1rem 0 1rem 0;
|
|
padding: 1rem 0 1rem 0;
|
|
}
|
|
|
|
.diff pre {
|
|
background: #002b36;
|
|
color: #93a1a1;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.diff-stat {
|
|
padding: 1rem 0 1rem 0;
|
|
}
|
|
|
|
.commit-email:before {
|
|
content: '<';
|
|
color: #c9c9c9 !important;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.commit-email:after {
|
|
content: '>';
|
|
color: #c9c9c9 !important;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.commit {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.commit pre {
|
|
padding-bottom: 1rem;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.diff-stat ul li {
|
|
list-style: none;
|
|
padding-left: 0.5em;
|
|
}
|
|
|
|
.diff-add {
|
|
color: #1f9b92;
|
|
}
|
|
|
|
.diff-del {
|
|
color: #dc322f;
|
|
}
|
|
|
|
.diff-noop {
|
|
}
|
|
|
|
.refs {
|
|
width: 80vw;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.refs ul {
|
|
list-style: none;
|
|
display: inline;
|
|
}
|
|
|
|
.refs ul li {
|
|
display: inline;
|
|
margin: 0;
|
|
margin-left: 1ch;
|
|
}
|
|
|
|
.branches {
|
|
padding-left: 2ch;
|
|
border-left: 2px solid #797979;
|
|
}
|
|
|
|
.refs h4 {
|
|
display: inline;
|
|
}
|
|
|
|
.tags time {
|
|
float: right;
|
|
font-size: 85%;
|
|
}
|
|
|
|
.commit-info time {
|
|
display: block;
|
|
}
|
|
|
|
time {
|
|
font-style: italic;
|
|
}
|
|
|
|
.tag-entry {
|
|
padding-left: 2ch;
|
|
border-left: 2px solid #797979;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
.refs pre {
|
|
font-family: serif;
|
|
white-space: pre-wrap;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.tag-entry details pre, .commit-info details pre {
|
|
font-family: monospace;
|
|
font-size: 1.0rem;
|
|
}
|
|
|
|
.ref {
|
|
font-family: monospace;
|
|
font-size: 75%;
|
|
}
|
|
|
|
.refs strong {
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.line-numbers {
|
|
white-space: pre-line;
|
|
-moz-user-select: -moz-none;
|
|
-khtml-user-select: none;
|
|
-webkit-user-select: none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
display:inline-block;
|
|
flex-direction:column;
|
|
margin-right: 1ch;
|
|
font-size: 14px;
|
|
font-family:monospace;
|
|
text-align:right;
|
|
}
|
|
|
|
.file-wrapper {
|
|
display: table;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.file-content {
|
|
color: #93a1a1;
|
|
background: #002b36;
|
|
overflow-y: hidden;
|
|
overflow-x: auto;
|
|
font-size: 14px;
|
|
}
|
|
|
|
@supports (display: flex) {
|
|
.line-numbers {
|
|
display: flex;
|
|
}
|
|
.file-content {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
.file-wrapper {
|
|
width: 100%;
|
|
|
|
}
|
|
.file-wrapper tr {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.diff-type {
|
|
color: #000;
|
|
background: #c9c9c9;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.commit-info {
|
|
padding-bottom: 1.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.index {
|
|
grid-row-gap: 0.8em;
|
|
}
|
|
|
|
.log {
|
|
grid-template-columns: 1fr;
|
|
grid-row-gap: 0em;
|
|
}
|
|
|
|
.index {
|
|
grid-template-columns: 1fr;
|
|
grid-row-gap: 0em;
|
|
}
|
|
|
|
.index-name:not(:first-child) {
|
|
padding-top: 1.5rem;
|
|
}
|
|
|
|
.commit-info:not(:last-child) {
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 420px) {
|
|
.tree {
|
|
grid-template-columns: 8em 1fr;
|
|
}
|
|
.tree .size {
|
|
display: none;
|
|
}
|
|
}
|