X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fprofiles%2Fdemo_umami%2Fthemes%2Fumami%2Fcss%2Fcomponents%2Fblocks%2Fbranding%2Fbranding.css;fp=web%2Fcore%2Fprofiles%2Fdemo_umami%2Fthemes%2Fumami%2Fcss%2Fcomponents%2Fblocks%2Fbranding%2Fbranding.css;h=73377524330f651a4b430b428a295fe2396a0a4d;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 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 index 000000000..733775243 --- /dev/null +++ b/web/core/profiles/demo_umami/themes/umami/css/components/blocks/branding/branding.css @@ -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; +}