mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-18 08:05:43 +03:00
Use columns block for the parallelogram style
This avoids the complex mutliply-nested blocks and makes the block style less reliant on a custom class. On mid-sized screens, we switch to plain horizontally-overlapping rectangles, and on small screens we stack the columns, and vertically-overlap.
This commit is contained in:
parent
f8558fe9c2
commit
fe68610602
6 changed files with 81 additions and 71 deletions
|
@ -1,3 +1,11 @@
|
|||
$breakpoint-tablet: 768px !default;
|
||||
$breakpoint-desktop: 960px !default;
|
||||
$breakpoint-desktop-large: 1200px !default;
|
||||
|
||||
// From @wordpress/viewport
|
||||
$breakpoint-huge: 1440px !default;
|
||||
$breakpoint-wide: 1280px !default;
|
||||
$breakpoint-large: 960px !default;
|
||||
$breakpoint-medium: 782px !default;
|
||||
$breakpoint-small: 600px !default;
|
||||
$breakpoint-mobile: 480px !default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue