Skip to content

Commit 5d61803

Browse files
authored
Add files via upload
1 parent 6b531a1 commit 5d61803

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

sources/style.css

+18-4
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@
210210
@layer features-before {
211211
@layer structured-container {
212212
/* top */
213+
@keyframes extending-hidden-scrollbar {
214+
from {
215+
overflow: hidden;
216+
}
217+
to {
218+
overflow: hidden;
219+
}
220+
}
213221
@supports selector(::-webkit-scrollbar) {
214222
body.blur top::-webkit-scrollbar-track:vertical {
215223
border-top-right-radius: 5px;
@@ -313,7 +321,7 @@
313321
z-index: 4; /* -> layer[fixed] */
314322
}
315323
top /* -> */ {
316-
overflow: hidden scroll;
324+
overflow: hidden;
317325
position: relative;
318326
margin: 8px 0px;
319327
border: 1px solid #e7e7e7;
@@ -325,6 +333,11 @@
325333
left: min(max(calc(50% - 516px), 8px), 10%);
326334
width: max(min(calc(100% - 16px), 1032px), 80%);
327335
}
336+
top:hover {
337+
animation-name: extending-hidden-scrollbar;
338+
animation-duration: 0.5s;
339+
overflow: hidden auto;
340+
}
328341
body.blur top {
329342
border-radius: 5px;
330343
border: 0px;
@@ -333,9 +346,6 @@
333346
body.blur top:hover {
334347
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
335348
}
336-
top:hover, body.blur top:hover {
337-
max-height: calc(70vh - 18px);
338-
}
339349
top > a /* -> */ {
340350
text-align: center;
341351
text-decoration: none;
@@ -864,6 +874,10 @@
864874
}
865875
@layer features-after {
866876
@layer structured-container {
877+
/* top */
878+
top:hover {
879+
max-height: calc(100vh - 16px);
880+
}
867881
/* major */
868882
major > sub-major:not(:first-of-type) {
869883
display: none;

0 commit comments

Comments
 (0)