Version 1
[yaffs-website] / web / core / modules / layout_discovery / layouts / threecol_25_50_25 / threecol_25_50_25.css
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 (file)
index 0000000..1f41f46
--- /dev/null
@@ -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%;
+  }
+}