78 lines
1.0 KiB
SCSS
78 lines
1.0 KiB
SCSS
/**
|
|
* The following styles get applied inside the editor only.
|
|
*
|
|
* Replace them with your own styles or remove the file completely.
|
|
*/
|
|
|
|
.wp-block-red-block-red-orbital {
|
|
height: auto;
|
|
|
|
.orbital-view {
|
|
position: relative;
|
|
width: 80vw;
|
|
max-width: 100%;
|
|
height: 80vh;
|
|
}
|
|
|
|
.orbiter-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.feature {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
|
|
figure {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
img {
|
|
width: 75%;
|
|
height: 75%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
& > * {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0;
|
|
|
|
transition: opacity var(--duration__feature-hover);
|
|
|
|
&:nth-child(1) {
|
|
opacity: 1;
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
& > * {
|
|
&:first-child {
|
|
opacity: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.block-list {
|
|
margin-top: 0;
|
|
}
|