[wip] Create cropped version of Globe2?
Probably not ideal as the canvas is still bigger, mostly styling for now
This commit is contained in:
@@ -241,12 +241,17 @@
|
||||
/*
|
||||
** States and Variants
|
||||
*/
|
||||
// Cropped version
|
||||
&.is-cropped {
|
||||
overflow: hidden;
|
||||
height: clamp(300px, 30vw, 500px);
|
||||
}
|
||||
|
||||
// When dragging
|
||||
:global(.is-grabbing) {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
|
||||
// Tweakpane
|
||||
:global(.tp-rotv) {
|
||||
position: absolute;
|
||||
|
||||
@@ -118,16 +118,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:global(.credits) {
|
||||
// Globe
|
||||
:global(.globe) {
|
||||
:global(*) {
|
||||
pointer-events: none;
|
||||
}
|
||||
:global(canvas) {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
// Globe
|
||||
:global(.subscribe .globe-cropped) {
|
||||
:global(.subscribe .globe) {
|
||||
margin-top: 96px;
|
||||
|
||||
@include bp (sm) {
|
||||
|
||||
Reference in New Issue
Block a user