3 * This file is used to style the banner block.
6 .block-type-banner-block {
10 .block-type-banner-block .summary {
14 .block-type-banner-block .field--name-field-title {
15 font-family: 'Scope One', Georgia, serif;
21 .block-type-banner-block .field--name-field-summary {
22 margin-bottom: 1.28em;
25 .block-type-banner-block .field--name-field-content-link a {
26 display: inline-block;
27 padding: 0.5em 1.5em 0.4em;
30 background-color: #d93760;
34 text-decoration: none;
35 font-family: 'Scope One', Georgia, serif;
39 transition: background-color 0.5s ease;
42 .block-type-banner-block .field--name-field-content-link a:focus,
43 .block-type-banner-block .field--name-field-content-link a:hover {
44 background-color: #00836d;
46 outline: 2px solid currentColor;
51 @media screen and (min-width: 48rem) { /* 768px */
52 .block-type-banner-block {
53 background-color: #464646;
54 background-size: cover;
55 background-position: left center;
56 background-repeat: no-repeat;
60 .block-type-banner-block .block-inner {
69 .block-type-banner-block .summary {
75 .block-type-banner-block .field--name-field-banner-image {
77 * We need to ensure that the alt text on the image is accessible to
78 * screenreaders, so, when on large screens, let's give this the same CSS
79 * as the .visually-hidden class has.
81 position: absolute !important;
82 clip: rect(1px, 1px, 1px, 1px);