/** * Site header */ .site-header { border-bottom: 3px dashed $grey-color-light; border-bottom: 3px dashed rgba(254, 168, 106, 0.6); border-bottom: 3px dashed rgba(8,76,207,.6); border-bottom: unset !important; min-height: calc(var(--spacing-unit) * 1.865); // Positioning context for the mobile navigation icon position: relative; } .site-title { @include relative-font-size(1.625); font-weight: 300; line-height: $base-line-height * $base-font-size * 2.25; letter-spacing: -1px; margin-bottom: 0; float: left; } .site-nav { float: right; line-height: $base-line-height * $base-font-size * 2.25; .nav-trigger { display: none; } .menu-icon { display: none; } .page-link { color: $text-color; line-height: $base-line-height; // Gaps between nav items, but not on the last one &:not(:last-child) { margin-right: 20px; } } @include media-query($on-palm) { position: absolute; top: 9px; right: 0; background-color: $background-color; border: 1px solid rgba(254, 168, 106, 0.6); border-radius: 5px; text-align: right; label[for="nav-trigger"] { display: block; float: right; width: 36px; height: 36px; z-index: 2; cursor: pointer; } .menu-icon { display: block; float: right; width: 36px; height: 26px; line-height: 0; padding-top: 10px; text-align: center; -webkit-user-select: none; user-select: none; > svg { fill: $grey-color-dark; fill: var(--brand-color); } } input ~ .trigger { clear: both; display: none; } input:checked ~ .trigger { display: block; padding-bottom: 5px; } .page-link { display: block; padding: 5px 10px; &:not(:last-child) { margin-right: 0; } margin-left: 20px; } } }