149 lines
1.7 KiB
CSS
149 lines
1.7 KiB
CSS
:root {
|
|
--lh: 1.3em;
|
|
font-family: monospace;
|
|
line-height: var(--lh);
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
/* General */
|
|
|
|
details,
|
|
dl {
|
|
margin: var(--lh) 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
color: black;
|
|
}
|
|
|
|
a:hover {
|
|
font-weight: bold;
|
|
}
|
|
|
|
dd {
|
|
margin-left: 4ch;
|
|
}
|
|
|
|
details {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
details>* {
|
|
margin-left: 4ch;
|
|
}
|
|
|
|
details>summary {
|
|
margin-left: 0;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
thead tr,
|
|
tbody tr:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
th+th,
|
|
td+td {
|
|
padding-left: 2ch;
|
|
}
|
|
|
|
|
|
/* Nav bar */
|
|
|
|
nav {
|
|
font-size: 1.5em;
|
|
line-height: 1.2em;
|
|
padding: 0.3em;
|
|
background-color: #bdf;
|
|
border-radius: 0.3em;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
}
|
|
|
|
nav>* {
|
|
padding: 0 1ch;
|
|
border-right: 0.1em solid black;
|
|
}
|
|
|
|
nav> :first-child {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
nav> :last-child {
|
|
padding-right: 0;
|
|
border: none;
|
|
}
|
|
|
|
nav>.current {
|
|
font-weight: bold;
|
|
}
|
|
|
|
nav a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
nav img {
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
vertical-align: -20%;
|
|
}
|
|
|
|
/* Commit */
|
|
|
|
.commit * {
|
|
margin: 0;
|
|
}
|
|
|
|
.commit .hash {
|
|
color: #b70;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.commit .message {
|
|
margin: 1em 0ch 1em 4ch;
|
|
}
|
|
|
|
.commit dl {
|
|
display: grid;
|
|
grid: auto-flow / min-content 1fr;
|
|
column-gap: 1ch;
|
|
}
|
|
|
|
.commit .reachable,
|
|
.commit .reachable a {
|
|
color: #777;
|
|
}
|
|
|
|
.commit .orphaned,
|
|
.commit .orphaned a {
|
|
color: #a33;
|
|
}
|
|
|
|
.commit pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Queue */
|
|
|
|
.queue td:nth-child(2),
|
|
.queue td:nth-child(3) {
|
|
text-align: right;
|
|
}
|
|
|
|
.queue .odd {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.queue .odd:hover {
|
|
background-color: #ddd;
|
|
}
|