[wip] Add width, speed and pane options for Globe

This commit is contained in:
2022-08-29 18:36:51 +02:00
parent eec3049a2c
commit ea6cfa2ee2
3 changed files with 53 additions and 47 deletions

View File

@@ -1,14 +1,14 @@
// Globe
.globe {
--width: clamp(700px, 100vw, 1315px);
position: relative;
z-index: 10;
user-select: none;
// Inner
&__inner {
position: relative;
width: clamp(700px, 100vw, 1315px);
width: var(--width);
margin-left: auto;
margin-right: auto;