Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / profiles / demo_umami / themes / umami / css / components / blocks / branding / branding.css
diff --git a/web/core/profiles/demo_umami/themes/umami/css/components/blocks/branding/branding.css b/web/core/profiles/demo_umami/themes/umami/css/components/blocks/branding/branding.css
new file mode 100644 (file)
index 0000000..7337752
--- /dev/null
@@ -0,0 +1,34 @@
+/**
+ * @file
+ * This file is used to style the branding block.
+ */
+
+.block-system-branding-block {
+  flex: 0 1 40%;
+  order: 2;
+  text-align: center;
+}
+
+@media screen and (min-width: 48em) {
+  .block-system-branding-block {
+    flex: 0 1 220px;
+    order: 3;
+    margin: 2.5rem 0;
+    text-align: left;
+  }
+}
+.site-logo {
+  display: inline-block;
+  width: 100%;
+  max-width: 205px;
+  background-color: inherit;
+}
+.site-logo:hover {
+  background-color: inherit;
+}
+
+.site-logo svg {
+  width: 100%;
+  max-width: 205px;
+  height: auto;
+}