+
-
-
-
);
}
diff --git a/src/style.scss b/src/style.scss
index b17a0c6..47eefc8 100644
--- a/src/style.scss
+++ b/src/style.scss
@@ -6,8 +6,6 @@
*/
.wp-block-red-block-red-orbital {
- --count__orbitals: 8;
-
--width__inner-content: 11em;
--width__orbital: 7.5em;
@@ -37,6 +35,13 @@
}
.orbitals {
+ --count__orbitals: 4;
+ @for $i from 1 through 12 {
+ &.count-#{$i} {
+ --count__orbitals: #{$i};
+ }
+ }
+
position: relative;
width: 0;
height: 0;
@@ -254,6 +259,8 @@
height: 100%;
text-align: center;
+ & > *[class*=' wp-block-'],
+ & > *[class^='wp-block-'],
& > .feature-item {
position: absolute;
inset: 0;
@@ -274,6 +281,8 @@
}
&:hover {
+ & > *[class*=' wp-block-'],
+ & > *[class^='wp-block-'],
& > .feature-item {
&:first-child {
opacity: 0;