123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- // Site header
- .site-header {
- padding: 1.5em 1em 1em;
- &.featured-image {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- min-height: 90vh;
- .site-branding-container {
- margin-bottom: auto;
- }
- }
- @include media(tablet) {
- margin: 0;
- padding: 3rem 0 2rem;
- &.featured-image {
- min-height: 100vh;
- margin-bottom: 2rem;
- }
- }
- }
- // Site branding
- .site-branding {
- align-items: flex-start;
- color: $color__text-dark;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- @include media(tablet) {
- margin: 0 $size__site-margins;
- }
- }
- // Site logo
- .site-logo {
- display: inherit;
- margin-right: #{0.7 * $size__spacing-unit};
- .custom-logo-link {
- box-sizing: content-box;
- overflow: hidden;
- .custom-logo {
- display: block;
- width: auto;
- max-height: 64px;
- @include media(tablet) {
- max-height: 90px;
- }
- }
- }
- }
- // Site title
- .site-title,
- .wp-block-a8c-site-title,
- .wp-block-a8c-site-title:focus {
- color: $color__text-main;
- flex: 1 1 auto;
- margin: 0 #{0.7 * $size__spacing-unit} 0 0;
- a {
- color: $color__text-dark;
- &:link,
- &:visited {
- color: $color__text-dark;
- }
- &:hover {
- color: $color__text-hover;
- }
- }
- }
- // Site description
- .site-description,
- .wp-block-a8c-site-description,
- .wp-block-a8c-site-description:focus {
- flex: initial;
- color: $color__text-dark;
- font-size: $font__size-xs;
- font-weight: normal;
- margin: 14px 0 0;
- @include media(tablet) {
- text-align: right;
- }
- }
|