.finished {
h1 {
text-align: center;
}
.summary {
font-size: 24px;
margin-bottom: 48px;
}
h2 {
border-bottom: 1px solid #ccc;
}
.stats {
table {
width: 100%;
border-collapse: collapse;
tr {
border-bottom: 1px solid #eee;
td {
padding-top: 12px;
padding-bottom: 12px;
&.key {
font-family: var(--font-sans);
font-weight: 500;
width: auto;
white-space: nowrap;
}
&.val {
font-family: var(--font-sans);
font-feature-settings: "tnum";
font-variant-numeric: tabular-nums;
width: 100%;
}
}
}
}
}
.heatmap {
--heatmap-empty: #ebedf0;
--heatmap-border: #d0d7de;
margin-top: 16px;
margin-bottom: 32px;
overflow-x: auto;
table {
border-collapse: separate;
border-spacing: 4px;
margin: 0 auto;
}
th.day-label {
font-family: var(--font-sans);
font-size: 14px;
text-align: right;
padding-right: 8px;
white-space: nowrap;
}
td.cell {
width: 36px;
height: 36px;
border: 1px solid var(--heatmap-border);
}
td.cell.empty {
background: transparent !important;
border-color: transparent;
}
&.empty {
text-align: center;
color: #888;
font-style: italic;
padding: 24px;
}
}
.shutdown-container {
margin-top: 48px;
text-align: center;
form {
display: inline-block;
}
.shutdown-button {
background: #dc3545;
color: white;
border: 1px solid #c82333;
padding: 12px 24px;
font-size: 18px;
font-family: var(--font-sans);
font-weight: 600;
border-radius: 6px;
cursor: pointer;
box-shadow: rgba(220, 53, 69, 0.3) 0px 2px 8px 0px;
transition:
background-color 0.2s,
box-shadow 0.2s;
&:hover {
background: #c82333;
box-shadow: rgba(220, 53, 69, 0.5) 0px 4px 12px 0px;
}
&:active {
background: #bd2130;
box-shadow: rgba(220, 53, 69, 0.2) 0px 1px 4px 0px;
}
}
}
}
@media (max-width: 768px) {
.finished {
padding: 24px;
h1 {
font-size: 36px;
margin-bottom: 36px;
}
h2 {
font-size: 30px;
margin-top: 16px;
margin-bottom: 16px;
}
.stats {
font-size: 16px;
}
.val {
padding-left: 24px;
}
}
}
@media (min-width: 769px) {
.finished {
padding: 48px;
h1 {
font-size: 48px;
margin-bottom: 48px;
}
h2 {
font-size: 36px;
margin-top: 24px;
margin-bottom: 24px;
}
.stats {
font-size: 22px;
}
.val {
padding-left: 48px;
}
}
}
@media (prefers-color-scheme: dark) {
.finished {
h2 {
border-bottom-color: #444;
}
.stats table tr {
border-bottom-color: #333;
}
.heatmap {
--heatmap-empty: #1f1f1f;
--heatmap-border: #333;
}
}
}