2022-12-17 07:16:09 +00:00
|
|
|
:root {
|
|
|
|
--light: #f4f4f4;
|
|
|
|
--cyan: #509c93;
|
|
|
|
--light-gray: #eee;
|
|
|
|
--medium-gray: #ddd;
|
|
|
|
--gray: #6a6a6a;
|
|
|
|
--dark: #444;
|
|
|
|
--darker: #222;
|
2022-12-17 16:03:04 +00:00
|
|
|
|
|
|
|
--sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
|
|
|
--display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
|
2022-12-22 08:57:54 +00:00
|
|
|
--mono-font: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', 'Roboto Mono', Menlo, Consolas, monospace;
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background: var(--light);
|
|
|
|
-webkit-text-size-adjust: none;
|
2022-12-17 16:03:04 +00:00
|
|
|
font-family: var(--sans-font);
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
|
|
|
|
2022-12-22 08:57:54 +00:00
|
|
|
pre {
|
|
|
|
font-family: var(--mono-font);
|
|
|
|
}
|
|
|
|
|
2022-12-17 07:16:09 +00:00
|
|
|
::selection {
|
|
|
|
background: var(--medium-gray);
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: 750px;
|
|
|
|
padding: 0 13px;
|
|
|
|
margin: 40px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
main, footer {
|
|
|
|
font-size: 1rem;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 160%;
|
|
|
|
}
|
|
|
|
|
2022-12-18 14:37:27 +00:00
|
|
|
main h1, h2, h3, strong {
|
2022-12-17 16:03:04 +00:00
|
|
|
font-family: var(--display-font);
|
2022-12-17 07:16:09 +00:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
2022-12-18 16:38:03 +00:00
|
|
|
padding: 0.4rem 0 1.5rem 0;
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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: var(--darker);
|
|
|
|
border-bottom: 1.5px solid var(--medium-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
border-bottom: 1.5px solid var(--gray);
|
|
|
|
}
|
|
|
|
|
2022-12-17 07:17:54 +00:00
|
|
|
.index {
|
2022-12-18 14:37:27 +00:00
|
|
|
padding-top: 2em;
|
2022-12-17 07:16:09 +00:00
|
|
|
display: grid;
|
2022-12-17 16:03:04 +00:00
|
|
|
grid-template-columns: 6em 1fr minmax(0, 7em);
|
2022-12-17 07:16:09 +00:00
|
|
|
grid-row-gap: 0.5em;
|
2022-12-17 16:03:04 +00:00
|
|
|
min-width: 0;
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
|
|
|
|
2022-12-18 14:30:19 +00:00
|
|
|
.clone-url {
|
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clone-url pre {
|
|
|
|
color: var(--dark);
|
2022-12-18 14:37:27 +00:00
|
|
|
white-space: pre-wrap;
|
2022-12-18 14:30:19 +00:00
|
|
|
}
|
|
|
|
|
2022-12-17 16:03:04 +00:00
|
|
|
.desc {
|
2022-12-24 11:20:44 +00:00
|
|
|
font-weight: normal;
|
2022-12-17 16:03:04 +00:00
|
|
|
color: var(--gray);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2023-02-04 00:56:23 +00:00
|
|
|
.tree td {
|
|
|
|
padding: 0.5em 0.5ch;
|
|
|
|
box-sizing: content-box;
|
2022-12-17 16:03:04 +00:00
|
|
|
}
|
|
|
|
|
2023-02-04 00:56:23 +00:00
|
|
|
.mode, .size {
|
|
|
|
font-family: var(--mono-font);
|
|
|
|
width: 10ch;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.size {
|
|
|
|
text-align: right;
|
|
|
|
width: 15ch;
|
|
|
|
}
|
2022-12-17 16:03:04 +00:00
|
|
|
.log {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 20rem minmax(0, 1fr);
|
|
|
|
grid-row-gap: 0.8em;
|
|
|
|
grid-column-gap: 8rem;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
border-bottom: 1.5px solid var(--medium-gray);
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
|
|
|
|
2022-12-17 16:03:04 +00:00
|
|
|
.log pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2023-02-04 00:56:23 +00:00
|
|
|
|
2022-12-17 16:03:04 +00:00
|
|
|
|
|
|
|
.readme pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2022-12-18 14:30:19 +00:00
|
|
|
.readme {
|
2022-12-19 12:19:32 +00:00
|
|
|
background: var(--light-gray);
|
|
|
|
padding: 0.5rem;
|
2022-12-18 14:30:19 +00:00
|
|
|
}
|
|
|
|
|
2022-12-26 06:27:00 +00:00
|
|
|
.readme ul {
|
|
|
|
padding: revert;
|
|
|
|
}
|
|
|
|
|
2022-12-26 06:34:09 +00:00
|
|
|
.readme img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2022-12-17 17:05:48 +00:00
|
|
|
.diff {
|
2022-12-18 05:12:29 +00:00
|
|
|
margin: 1rem 0 1rem 0;
|
|
|
|
padding: 1rem 0 1rem 0;
|
|
|
|
border-bottom: 1.5px solid var(--medium-gray);
|
2022-12-17 17:05:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff pre {
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-stat {
|
|
|
|
padding: 1rem 0 1rem 0;
|
|
|
|
}
|
|
|
|
|
2023-01-31 21:02:43 +00:00
|
|
|
.commit-hash, .commit-email {
|
|
|
|
font-family: var(--mono-font);
|
|
|
|
}
|
|
|
|
|
2022-12-18 05:12:29 +00:00
|
|
|
.commit-email:before {
|
|
|
|
content: '<';
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-email:after {
|
|
|
|
content: '>';
|
|
|
|
}
|
|
|
|
|
2022-12-18 06:48:43 +00:00
|
|
|
.commit {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2022-12-17 17:05:48 +00:00
|
|
|
.commit pre {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-stat ul li {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-add {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-del {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-noop {
|
|
|
|
color: var(--gray);
|
|
|
|
}
|
|
|
|
|
2022-12-18 05:12:29 +00:00
|
|
|
.ref {
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--gray);
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 0.7em;
|
|
|
|
}
|
|
|
|
|
2022-12-22 15:49:00 +00:00
|
|
|
.refs pre {
|
|
|
|
white-space: pre-wrap;
|
2022-12-24 09:43:40 +00:00
|
|
|
padding-bottom: 0.5rem;
|
2022-12-22 15:49:00 +00:00
|
|
|
}
|
|
|
|
|
2023-02-02 05:43:10 +00:00
|
|
|
.refs h4 {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refs ul {
|
|
|
|
list-style: none;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refs ul li {
|
|
|
|
margin-left: 1ch;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-entry {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-entry:not(:last-child) {
|
|
|
|
border-bottom: 1px solid var(--medium-gray);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-entry time {
|
|
|
|
color: var(--gray);
|
|
|
|
float: right;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
}
|
|
|
|
|
2023-02-02 16:32:31 +00:00
|
|
|
.commit time, .log time {
|
2023-02-02 05:43:10 +00:00
|
|
|
display: block;
|
2022-12-24 09:41:48 +00:00
|
|
|
}
|
|
|
|
|
2022-12-18 05:12:29 +00:00
|
|
|
.line-numbers {
|
|
|
|
white-space: pre-line;
|
2022-12-18 05:34:11 +00:00
|
|
|
-moz-user-select: -moz-none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-o-user-select: none;
|
|
|
|
user-select: none;
|
2023-02-04 00:30:37 +00:00
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
2023-01-31 21:02:43 +00:00
|
|
|
float: left;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-right: 1ch;
|
2022-12-18 05:12:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-wrapper {
|
2022-12-19 12:19:32 +00:00
|
|
|
background: var(--light-gray);
|
2023-01-31 21:02:43 +00:00
|
|
|
display: table;
|
|
|
|
padding: 0.5rem
|
2023-01-31 23:27:22 +00:00
|
|
|
margin-top: 0.5rem;
|
2023-02-04 00:30:37 +00:00
|
|
|
overflow-x: auto;
|
2023-02-03 05:33:15 +00:00
|
|
|
}
|
|
|
|
|
2022-12-19 12:22:42 +00:00
|
|
|
.file-content {
|
|
|
|
background: var(--light-gray);
|
2022-12-20 01:45:29 +00:00
|
|
|
overflow-y: hidden;
|
|
|
|
overflow-x: auto;
|
2022-12-19 12:22:42 +00:00
|
|
|
}
|
|
|
|
|
2023-02-04 00:30:37 +00:00
|
|
|
@supports (display: flex) {
|
|
|
|
.file-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 750px;
|
|
|
|
}
|
|
|
|
.file-wrapper tr {
|
|
|
|
display:flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 80vw;
|
|
|
|
max-width: 750px;
|
|
|
|
}
|
|
|
|
.line-numbers {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.file-content {
|
|
|
|
display: iniline-block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2023-02-04 00:56:23 +00:00
|
|
|
|
2022-12-19 12:37:13 +00:00
|
|
|
.diff-type {
|
|
|
|
color: var(--gray);
|
|
|
|
}
|
|
|
|
|
2022-12-18 06:48:43 +00:00
|
|
|
.commit-info {
|
|
|
|
color: var(--gray);
|
2022-12-18 14:30:19 +00:00
|
|
|
padding-bottom: 1.5rem;
|
2022-12-22 15:49:00 +00:00
|
|
|
font-size: 0.85rem;
|
2022-12-18 06:48:43 +00:00
|
|
|
}
|
|
|
|
|
2022-12-17 16:03:04 +00:00
|
|
|
@media (max-width: 600px) {
|
2022-12-17 07:17:54 +00:00
|
|
|
.index {
|
2022-12-17 07:16:09 +00:00
|
|
|
grid-row-gap: 0.8em;
|
|
|
|
}
|
2022-12-17 16:03:04 +00:00
|
|
|
|
|
|
|
.log {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-row-gap: 0em;
|
|
|
|
}
|
|
|
|
|
2022-12-18 14:37:27 +00:00
|
|
|
.index {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-row-gap: 0em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.index-name:not(:first-child) {
|
|
|
|
padding-top: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2022-12-17 16:03:04 +00:00
|
|
|
.commit-info:not(:last-child) {
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
}
|
2022-12-22 15:49:00 +00:00
|
|
|
|
|
|
|
pre {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
2022-12-17 07:16:09 +00:00
|
|
|
}
|
2023-02-04 00:56:23 +00:00
|
|
|
|
|
|
|
@media (max-width: 420px) {
|
|
|
|
.tree .size {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|