Files
DrupalTutorial/themes/honey/css/components/header.css
2024-07-15 12:33:27 +02:00

254 lines
4.2 KiB
CSS

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* Page header styles.
*/
:root {
/*
* This is default Farmers market color scheme. It will be overriden when you change it in theme settings.
*/
/* static colors */
/*
* Typography.
*/ /* 1rem = 16px if font root is 100% ands browser defaults are used. */ /* ~64px */ /* ~48px */ /* ~32px */ /* ~24px */ /* ~20px */ /* 16px */ /* ~14px */ /* ~13px */ /* ~11px */
/**
* Spaces.
*/ /* 4 * 16px = 64px */ /* 3 * 16px = 48px */ /* 2 * 16px = 32px */ /* 1 * 16px = 16px */ /* 0.75 * 16px = 12px */ /* 0.5 * 16px = 8px */ /* 0.25 * 16px = 4px */ /* 120 * 16px = 1920px */ /* 101.25 * 16px = 1620px */
/**
* Common.
*/
/**
* Inputs.
*/
}
.honey-page__header-top {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
max-width: 101.25rem;
margin: 0 auto;
padding: 0;
}
.honey-page__header-top > div {
padding: 1rem 2rem;
}
.honey-page__header-top > div.region-primary-menu {
padding: 0;
}
.honey-page__header-top > div.region-primary-menu > nav {
padding: 1rem 2rem;
}
.block-system-branding-block .block__content {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.site-name > a {
margin-right: 2rem;
margin-left: 2rem;
text-decoration: none;
font-family: "Lobster"
,
cursive
,
sans-serif;
font-size: 2rem;
font-weight: normal;
line-height: 1;
}
@media screen and (min-width: 64rem) {
.site-name > a {
font-size: 5.75rem;
}
}
.site-slogan {
flex-basis: 100%;
flex-shrink: 0;
-webkit-text-decoration: lowercase;
text-decoration: lowercase;
font-weight: bold;
}
.site-logo > svg {
width: 2.625rem;
height: 2.625rem;
}
@media screen and (min-width: 64rem) {
.site-logo > svg {
width: 6.25rem;
height: 6.25rem;
}
}
.honey-page__toggle-button {
padding: 0;
border-radius: 0;
background: none;
line-height: 0;
}
@media screen and (min-width: 64rem) {
.honey-page__toggle-button {
display: none;
}
}
.honey-page__toggle-button svg {
width: 2rem;
height: 1.75rem;
}
.region-primary-menu {
position: absolute;
z-index: 1;
top: 100%;
left: 0;
overflow: hidden;
width: 100%;
max-height: 0;
}
@media screen and (min-width: 64rem) {
.region-primary-menu {
position: relative;
top: auto;
left: auto;
width: auto;
max-height: none;
}
}
.honey-page__toggle-button[aria-expanded=true] + .region-primary-menu {
min-height: 100vh;
max-height: none;
}
.menu--main .menu {
display: flex;
flex-direction: column;
margin: 1rem 2rem;
padding: 0;
list-style: none;
}
@media screen and (min-width: 64rem) {
.menu--main .menu {
flex-direction: row;
margin: 0;
}
}
.menu--main a {
text-decoration: none;
font-family: "Lobster"
,
cursive
,
sans-serif;
font-size: 1.5rem;
}
.menu--main .menu-item {
margin-right: 2rem;
}
.menu--main .menu-item:last-child {
margin-right: 0;
}
.menu--main .menu a:hover {
text-decoration: underline;
}
.honey-page__header-bottom-inner {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 101.25rem;
margin: 0 auto;
padding: 0.5rem 2rem;
}
.honey-breadcrumbs {
display: flex;
margin: 0;
padding: 0;
list-style: none;
}
.honey-breadcrumbs a {
text-decoration: none;
font-family: "Lobster"
,
cursive
,
sans-serif;
font-size: 1.25rem;
}
.honey-breadcrumbs a:hover {
text-decoration: underline;
}
.honey-breadcrumbs__list-item {
display: flex;
align-items: center;
}
.honey-breadcrumbs__icon {
width: 1.5rem;
height: 1.5rem;
margin-right: 0.5rem;
margin-left: 0.5rem;
transform: rotate(90deg);
}
.honey-breadcrumbs__list-item:last-child .honey-breadcrumbs__icon {
display: none;
}
.menu--account .menu {
display: flex;
margin: 0;
padding: 0;
list-style: none;
}
.menu--account a {
text-decoration: none;
font-family: "Lobster"
,
cursive
,
sans-serif;
font-size: 1.25rem;
}
.menu--account a:hover {
text-decoration: underline;
}
.menu--account .menu-item {
margin-right: 1rem;
}
.menu--account .menu-item:last-child {
margin-right: 0;
}