X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flayout_discovery%2Flayouts%2Fthreecol_25_50_25%2Fthreecol_25_50_25.css;fp=web%2Fcore%2Fmodules%2Flayout_discovery%2Flayouts%2Fthreecol_25_50_25%2Fthreecol_25_50_25.css;h=1f41f460540bb4d15ebd48af527750f1c9f5fc3d;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/layout_discovery/layouts/threecol_25_50_25/threecol_25_50_25.css b/web/core/modules/layout_discovery/layouts/threecol_25_50_25/threecol_25_50_25.css new file mode 100644 index 000000000..1f41f4605 --- /dev/null +++ b/web/core/modules/layout_discovery/layouts/threecol_25_50_25/threecol_25_50_25.css @@ -0,0 +1,26 @@ +/* + * @file + * Provides the layout styles for layout_threecol_25_50_25. + * + * @todo Using display: flex requires https://www.drupal.org/node/2842298 to be + * in before this can be marked as stable. + */ +.layout--threecol-25-50-25 { + display: flex; + flex-wrap: wrap; +} + +.layout--threecol-25-50-25 > .layout__region, +.layout--threecol-25-50-25 > .layout__region--second { + flex: 0 1 100%; +} + +@media screen and (min-width: 40em) { + .layout--threecol-25-50-25 > .layout__region--first, + .layout--threecol-25-50-25 > .layout__region--third { + flex: 0 1 25%; + } + .layout--threecol-25-50-25 > .layout__region--second { + flex: 0 1 50%; + } +}