summaryrefslogtreecommitdiff
path: root/actualités.css
diff options
context:
space:
mode:
Diffstat (limited to 'actualités.css')
-rw-r--r--actualités.css30
1 files changed, 24 insertions, 6 deletions
diff --git a/actualités.css b/actualités.css
index 24a8108..ea439ac 100644
--- a/actualités.css
+++ b/actualités.css
@@ -1,16 +1,35 @@
main {
display: grid;
- grid-template-columns: 65% 35%;
+ grid-template-columns: 60% 40%;
}
main > div {
padding: 1em;
+ overflow: auto;
+}
+
+#event-list {
+ max-height: 60vh;
+ scrollbar-width: thin;
+ scrollbar-color: darkblue #8ad;
+}
+
+#event-list::-webkit-scrollbar {
+ width: 0.25em;
+}
+
+#event-list::-webkit-scrollbar-track {
+ background: #8ad;
+}
+
+#event-list::-webkit-scrollbar-thumb {
+ background: darkblue;
}
.events {
display: grid;
- grid-auto-rows: 14em;
- grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
+ grid-auto-rows: 12em;
+ grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
grid-gap: 0.8em;
}
@@ -54,7 +73,6 @@ main > div {
opacity: 1;
}
-.details.active {
- position: sticky;
- top: 0;
+.details.active > *:first-child {
+ margin-top: 0;
}