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.

168 lines
3.4 KiB

1 year 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.
*/
.site-branding {
display: flex;
flex-shrink: 1;
align-items: flex-end;
1 year ago
min-width: calc(
(2 * var(--grid-col-width)) + (2 * var(--grid-gap)) +
var(--container-padding)
); /* Span minimum of 2 column widths. */
1 year ago
min-height: var(--sp3);
margin-inline: calc(-1 * var(--container-padding)) var(--sp); /* Negative margin to break out of .container element. */
padding-block: 0 var(--sp0-5);
padding-inline-start: var(--container-padding);
padding-inline-end: var(--container-padding);
1 year ago
background-image: linear-gradient(
160deg,
var(--color--primary-50) 0%,
var(--color--primary-40) 78.66%
);
1 year ago
}
@media (min-width: 31.25rem) {
1 year ago
.site-branding {
min-height: var(--sp4);
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.site-branding {
1 year ago
min-width: calc(
(4 * var(--grid-col-width)) + (4 * var(--grid-gap)) +
var(--container-padding)
); /* Span minimum of 4 column widths. */
1 year ago
min-height: var(--sp6);
1 year ago
padding-block-end: var(--sp);
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.site-branding {
1 year ago
min-width: calc(
(2 * var(--grid-col-width)) + (2 * var(--grid-gap)) +
var(--container-padding)
); /* Span minimum of 2 column widths. */
1 year ago
}
1 year ago
}
1 year ago
12 months ago
@media ((((min-width: 60rem)))) {
1 year ago
.site-branding {
1 year ago
min-height: var(--site-header-height-wide);
1 year ago
margin-inline-start: calc(-1 * var(--container-padding));
padding-block: 0;
1 year ago
}
1 year ago
}
1 year ago
1 year ago
[dir='rtl'] .site-branding {
background-image: linear-gradient(
-160deg,
var(--color--primary-50) 0%,
var(--color--primary-40) 78.66%
);
1 year ago
}
.site-branding--bg-gray {
background: var(--color--gray-100);
}
.site-branding--bg-white {
background: var(--color--white);
}
.site-branding__inner {
display: flex;
1 year ago
align-items: center;
1 year ago
}
.site-branding__inner a {
1 year ago
-webkit-text-decoration: none;
text-decoration: none;
}
1 year ago
12 months ago
@media ((((min-width: 60rem)))) {
1 year ago
.site-branding__inner {
1 year ago
height: var(--header-height-wide-when-fixed);
1 year ago
padding-block: var(--sp0-5);
padding-inline-start: 0;
padding-inline-end: 0;
1 year ago
}
1 year ago
}
1 year ago
.site-branding__logo {
flex-shrink: 0;
1 year ago
max-width: 100%;
1 year ago
}
.site-branding__logo img {
1 year ago
width: auto;
max-width: 100%;
max-height: var(--sp2);
}
1 year ago
@media (min-width: 31.25rem) {
1 year ago
.site-branding__logo img {
max-height: var(--sp3);
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.site-branding__logo img {
max-height: var(--sp4);
1 year ago
}
1 year ago
}
1 year ago
12 months ago
@media ((((min-width: 60rem)))) {
1 year ago
.site-branding__logo img {
max-height: calc(var(--header-height-wide-when-fixed) - var(--sp));
1 year ago
width: 160px;
border-right: 2px solid #fff;
padding-right: 13px;
1 year ago
}
1 year ago
}
1 year ago
.site-branding__text {
color: var(--color--white);
font-size: 1.125rem;
1 year ago
/*font-weight: bold;*/
font-family: var(--font-serif);
1 year ago
}
.site-branding__text a {
1 year ago
color: inherit;
}
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.site-branding__text {
1 year ago
font-size: 1.75rem;
1 year ago
line-height: 1.75rem;
1 year ago
}
1 year ago
}
1 year ago
12 months ago
@media ((((min-width: 60rem)))) {
1 year ago
.site-branding__text {
1 year ago
letter-spacing: 0.02em;
font-size: 2rem;
1 year ago
line-height: var(--sp2);
1 year ago
}
1 year ago
}
1 year ago
.site-branding--bg-gray .site-branding__text,
.site-branding--bg-white .site-branding__text {
color: var(--color--primary-50);
}
1 year ago
.site-branding__logo + .site-branding__text {
margin-inline-start: 0.75rem;
1 year ago
}