Minor UI refinements
This commit is contained in:
+19
-1
@@ -120,6 +120,21 @@ h1 {
|
||||
|
||||
#poll-desc { white-space: pre-line; }
|
||||
|
||||
#vote-hint {
|
||||
font-size: var(--font-sm);
|
||||
font-style: italic;
|
||||
}
|
||||
#vote-hint::before {
|
||||
content: "> ";
|
||||
color: var(--secondary);
|
||||
font-style: normal;
|
||||
}
|
||||
/* Dashed rule between description and hint — only when a description is shown. */
|
||||
#poll-desc:not([hidden]) + #vote-hint {
|
||||
border-top: var(--border-dashed);
|
||||
padding-top: var(--space-4);
|
||||
}
|
||||
|
||||
.hint { font-weight: normal; color: var(--text-muted); font-size: var(--font-sm); }
|
||||
|
||||
.note { font-size: var(--font-sm); color: var(--text-muted); }
|
||||
@@ -350,7 +365,7 @@ textarea { resize: vertical; min-height: 4rem; }
|
||||
bottom: 3px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 0.6rem;
|
||||
font-size: 0.8rem;
|
||||
line-height: 1;
|
||||
color: var(--link);
|
||||
}
|
||||
@@ -435,6 +450,9 @@ textarea { resize: vertical; min-height: 4rem; }
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.result-row.none-row { border-top: var(--border); margin-top: var(--space-2); }
|
||||
.result-row.none-row .when, .result-row.none-row .count { color: var(--danger); }
|
||||
|
||||
.result-row.best .when, .result-row.best .count { color: var(--link); }
|
||||
.result-row.best:hover .when, .result-row.best:hover .count { color: var(--link); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user