Style commit-like entities
This commit is contained in:
parent
7ecd812b11
commit
4bdca4d3c8
4 changed files with 22 additions and 37 deletions
|
|
@ -232,49 +232,34 @@ nav a:hover {
|
|||
background-color: #ddd;
|
||||
}
|
||||
|
||||
/* Commit */
|
||||
/* Commit-like entities */
|
||||
|
||||
/*
|
||||
|
||||
.commit * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.commit dl {
|
||||
.commit-like dl {
|
||||
display: grid;
|
||||
grid: auto-flow / max-content 1fr;
|
||||
column-gap: 1ch;
|
||||
}
|
||||
|
||||
.commit .hash {
|
||||
color: #b70;
|
||||
font-weight: bold;
|
||||
.commit-like dl, .commit-like dt, .commit-like dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.commit pre {
|
||||
.commit-like pre {
|
||||
margin: 1em 0ch 1em 4ch;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/* Worker */
|
||||
|
||||
/*
|
||||
|
||||
.worker * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.worker dl {
|
||||
display: grid;
|
||||
grid: auto-flow / max-content 1fr;
|
||||
column-gap: 1ch;
|
||||
}
|
||||
|
||||
.worker .name {
|
||||
color: #380;
|
||||
.commit-like.commit .title {
|
||||
color: #b70;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
*/
|
||||
.commit-like.run .title {
|
||||
color: #07e;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.commit-like.worker .title {
|
||||
color: #380;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
<h2>Commit</h2>
|
||||
|
||||
<div>
|
||||
<span>commit {{ hash }}</span>
|
||||
<div class="commit-like commit">
|
||||
<span class="title">commit {{ hash }}</span>
|
||||
<dl>
|
||||
<dt>Author:</dt>
|
||||
<dd>{{ author }}</dd>
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
<h2>Run</h2>
|
||||
|
||||
<div>
|
||||
<span>run {{ id }}</span>
|
||||
<div class="commit-like run">
|
||||
<span class="title">run {{ id }}</span>
|
||||
<dl>
|
||||
<dt>Commit:</dt>
|
||||
<dd>{{ commit|safe }}</dd>
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
<h2>Worker</h2>
|
||||
|
||||
<div>
|
||||
<span>worker {{ name }}</span>
|
||||
<div class="commit-like worker">
|
||||
<span class="title">worker {{ name }}</span>
|
||||
<dl>
|
||||
<dt>Connected:</dt>
|
||||
<dd>{{ connected }}</dd>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue