summaryrefslogtreecommitdiff
path: root/result/krafcik.css
diff options
context:
space:
mode:
Diffstat (limited to 'result/krafcik.css')
-rw-r--r--result/krafcik.css18
1 files changed, 10 insertions, 8 deletions
diff --git a/result/krafcik.css b/result/krafcik.css
index 55a8a98..53de009 100644
--- a/result/krafcik.css
+++ b/result/krafcik.css
@@ -30,15 +30,15 @@ html, body {
}
#brewery-filter label img {
- width: 30px;
+ width: 50px;
}
#chart-tooltip {
position: absolute;
background: rgba(255, 255, 200, 0.75);
+ border: solid 1px black;
padding: 0.5em;
font-size: 0.7em;
- border: solid 1px black;
pointer-events: none;
}
@@ -56,18 +56,20 @@ html, body {
}
#chart-tooltip dl {
- display: flex;
+ display: grid;
+ width: 100%;
+ grid-column-gap: 1em;
+ grid-template-columns: 1fr min-content;
margin: 0;
+ padding: 0 0.5em 0 0;
}
-#chart-tooltip dt {
- width: 80%;
+#chart-tooltip dt,
+#chart-tooltip dd {
+ margin: 0;
white-space: nowrap;
}
#chart-tooltip dd {
- margin: 0;
- width: 20%;
- min-width: 30px;
text-align: right;
}