clone of olivero for island lives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

220 lines
4.1 KiB

12 months ago
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Site branding in header.
*/
12 months ago
/*
* Media query breakpoints.
* Processed by postcss/postcss-custom-media.
*/
/* Navigation related breakpoints */
/* Grid related breakpoints */
/* Grid shifts from 6 to 14 columns. */
/* Width of the entire grid maxes out. */
[dir="ltr"] .site-branding {
margin-left: calc(var(--container-padding)*-1);
margin-right: var(--sp)
}
[dir="rtl"] .site-branding {
margin-right: calc(var(--container-padding)*-1);
margin-left: var(--sp)
}
[dir="ltr"] .site-branding {
padding-left: var(--container-padding)
}
[dir="rtl"] .site-branding {
padding-right: var(--container-padding)
}
[dir="ltr"] .site-branding {
padding-right: var(--container-padding)
}
[dir="rtl"] .site-branding {
padding-left: var(--container-padding)
}
12 months ago
.site-branding {
display: flex;
flex-shrink: 1;
align-items: flex-end;
12 months ago
min-width: calc(var(--grid-col-width)*2 + var(--grid-gap)*2 + var(--container-padding)); /* Span minimum of 2 column widths. */
min-height: var(--sp3); /* Negative margin to break out of .container element. */
padding-top: 0;
padding-bottom: var(--sp0-5);
background-image: linear-gradient(160deg, var(--color--primary-50) 0%, var(--color--primary-40) 78.66%)
12 months ago
}
@media (min-width: 31.25rem) {
12 months ago
.site-branding {
min-height: var(--sp4)
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 43.75rem) {
12 months ago
.site-branding {
min-width: calc(var(--grid-col-width)*4 + var(--grid-gap)*4 + var(--container-padding)); /* Span minimum of 4 column widths. */
12 months ago
min-height: var(--sp6);
12 months ago
padding-bottom: var(--sp)
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 62.5rem) {
12 months ago
.site-branding {
min-width: calc(var(--grid-col-width)*2 + var(--grid-gap)*2 + var(--container-padding)) /* Span minimum of 2 column widths. */
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 75rem) {
12 months ago
[dir="ltr"] .site-branding {
margin-left: calc(var(--container-padding)*-1)
12 months ago
}
12 months ago
[dir="rtl"] .site-branding {
margin-right: calc(var(--container-padding)*-1)
}
.site-branding {
min-height: var(--site-header-height-wide);
padding-top: 0;
padding-bottom: 0
12 months ago
}
12 months ago
}
12 months ago
[dir="rtl"] .site-branding {
background-image: linear-gradient(-160deg, var(--color--primary-50) 0%, var(--color--primary-40) 78.66%);
}
.site-branding--bg-gray {
background: var(--color--gray-100);
}
.site-branding--bg-white {
background: var(--color--white);
}
.site-branding__inner {
display: flex;
12 months ago
align-items: center
12 months ago
}
.site-branding__inner a {
12 months ago
text-decoration: none;
}
12 months ago
@media (min-width: 75rem) {
12 months ago
[dir="ltr"] .site-branding__inner {
padding-left: 0
}
[dir="rtl"] .site-branding__inner {
padding-right: 0
}
[dir="ltr"] .site-branding__inner {
padding-right: 0
}
[dir="rtl"] .site-branding__inner {
padding-left: 0
12 months ago
}
12 months ago
.site-branding__inner {
height: var(--header-height-wide-when-fixed);
padding-top: var(--sp0-5);
padding-bottom: var(--sp0-5)
12 months ago
}
12 months ago
}
12 months ago
.site-branding__logo {
flex-shrink: 0;
12 months ago
max-width: 100%
12 months ago
}
.site-branding__logo img {
12 months ago
width: auto;
max-width: 100%;
max-height: var(--sp2)
}
12 months ago
@media (min-width: 31.25rem) {
12 months ago
.site-branding__logo img {
max-height: var(--sp3)
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 43.75rem) {
12 months ago
.site-branding__logo img {
max-height: var(--sp4)
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 75rem) {
12 months ago
.site-branding__logo img {
max-height: calc(var(--header-height-wide-when-fixed) - var(--sp))
12 months ago
}
12 months ago
}
12 months ago
.site-branding__text {
color: var(--color--white);
font-size: 1.125rem;
12 months ago
font-weight: bold
12 months ago
}
.site-branding__text a {
12 months ago
color: inherit;
}
12 months ago
@media (min-width: 43.75rem) {
12 months ago
.site-branding__text {
12 months ago
font-size: 1.75rem;
12 months ago
line-height: 1.75rem
12 months ago
}
12 months ago
}
12 months ago
@media (min-width: 75rem) {
12 months ago
.site-branding__text {
12 months ago
letter-spacing: 0.02em;
font-size: 2rem;
12 months ago
line-height: var(--sp2)
12 months ago
}
12 months ago
}
12 months ago
.site-branding--bg-gray .site-branding__text,
.site-branding--bg-white .site-branding__text {
color: var(--color--primary-50);
}
12 months ago
[dir="ltr"] .site-branding__logo + .site-branding__text {
margin-left: 0.75rem
}
[dir="rtl"] .site-branding__logo + .site-branding__text {
margin-right: 0.75rem
12 months ago
}