summaryrefslogtreecommitdiff
path: root/programmes.css
diff options
context:
space:
mode:
Diffstat (limited to 'programmes.css')
-rw-r--r--programmes.css27
1 files changed, 25 insertions, 2 deletions
diff --git a/programmes.css b/programmes.css
index 6b22e23..10f05c4 100644
--- a/programmes.css
+++ b/programmes.css
@@ -4,13 +4,32 @@ main {
}
main > div {
- padding: 2%;
+ padding: 1em;
+ overflow: auto;
+}
+
+#program-list {
+ max-height: 60vh;
+ scrollbar-width: thin;
+ scrollbar-color: darkblue #8ad;
+}
+
+#program-list::-webkit-scrollbar {
+ width: 0.25em;
+}
+
+#program-list::-webkit-scrollbar-track {
+ background: #8ad;
+}
+
+#program-list::-webkit-scrollbar-thumb {
+ background: darkblue;
}
.programs {
display: grid;
grid-auto-rows: 10em;
- grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
+ grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
grid-gap: 0.8em;
}
@@ -48,3 +67,7 @@ main > div {
details summary .duration {
font-family: monospace;
}
+
+.details.active > *:first-child {
+ margin-top: 0;
+}