article block: organise styles by core block

This commit is contained in:
2026-02-04 13:55:13 +00:00
parent 040f0cf464
commit 4c38753830
8 changed files with 234 additions and 138 deletions

View File

@@ -0,0 +1,12 @@
@use "sass:math";
@use "../../../../css/global/variables/breakpoints";
@use "../../../../css/global/variables/spacing";
.wp-block-badegg-article {
.wp-block-gallery {
@for $i from 2 through 8 {
&.columns-#{$i} > * { width: calc(math.div(1, $i) * 100% - (spacing.$gap - math.div(spacing.$gap, $i))); }
}
}
}