/** * Site header */ .site-header { min-height: $spacing-unit * 1.865; position: relative; } .site-title { @include relative-font-size(1.625); font-family: Virgil; font-weight: 300; text-align: center; letter-spacing: -1px; margin-bottom: 0; font-size: 64px; padding: 24px; @include media-query($on-palm) { font-size: 46px; } } #pink-theme { background-color: #f0b3e7; } #green-theme { background-color: #b1d18a; } #yellow-theme { background-color: #dbc66e; } #blue-theme { background-color: #aac7ff; } #cyan-theme { background-color: #81d5cd; } .site-nav { line-height: $base-line-height * $base-font-size * 2.25; .nav-trigger { display: none; } .menu-icon { display: none; } .trigger { display: none; justify-content: center; border-radius: 999px; } .page-link { color: var(--md-sys-color-on-surface); min-width: 60px; text-align: center; border-radius: 999px; padding: 0 20px 0 20px; &:not(:last-child) { margin-right: 20px; } } @include media-query($on-palm) { position: absolute; top: 12px; left: 12px; background-color: var(--md-sys-color-surface-container); backdrop-filter: blur(8px); border-radius: 8px; text-align: right; padding-bottom: 3px; padding-left: 2px; padding-right: 2px; label[for="nav-trigger"] { display: block; 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; > svg { fill: $grey-color-dark; } } 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; } } } /** * Site footer */ .site-footer { padding: $spacing-unit 0; @include media-query($on-palm) { padding-bottom: 100px; } } .footer-heading { @include relative-font-size(1.125); margin-bottom: $spacing-unit / 2; } .contact-list, .social-media-list { list-style: none; margin-left: 0; } .footer-col-wrapper { @include relative-font-size(0.9375); color: $grey-color; margin-left: -$spacing-unit / 2; @extend %clearfix; } .footer-col { float: left; margin-bottom: $spacing-unit / 2; padding-left: $spacing-unit / 2; } .footer-col-1 { width: -webkit-calc(35% - (#{$spacing-unit} / 2)); width: calc(35% - (#{$spacing-unit} / 2)); } .footer-col-2 { width: -webkit-calc(20% - (#{$spacing-unit} / 2)); width: calc(20% - (#{$spacing-unit} / 2)); } .footer-col-3 { width: -webkit-calc(45% - (#{$spacing-unit} / 2)); width: calc(45% - (#{$spacing-unit} / 2)); } @include media-query($on-laptop) { .footer-col-1, .footer-col-2 { width: -webkit-calc(50% - (#{$spacing-unit} / 2)); width: calc(50% - (#{$spacing-unit} / 2)); } .footer-col-3 { width: -webkit-calc(100% - (#{$spacing-unit} / 2)); width: calc(100% - (#{$spacing-unit} / 2)); } } @include media-query($on-palm) { .footer-col { float: none; width: -webkit-calc(100% - (#{$spacing-unit} / 2)); width: calc(100% - (#{$spacing-unit} / 2)); } } /** * Page content */ .page-content { padding: $spacing-unit 0; flex: 1; } .page-heading { @include relative-font-size(2); } .post-meta { font-size: $small-font-size; color: $grey-color; } .post-image { height: 200px; width: 100%; } .featured-image { height: 300px; width: 100%; object-fit: contain; } .post-excerpt { font-size: $small-font-size; color: $grey-color; } .post-link { display: block; @include relative-font-size(1.5); } /** * Posts */ .post-header { margin-bottom: $spacing-unit; } .post-title { @include relative-font-size(2.625); letter-spacing: -1px; line-height: 1; margin: 24px; @include media-query($on-laptop) { @include relative-font-size(2.25); } } .post-content { margin-bottom: $spacing-unit; h2 { @include relative-font-size(2); @include media-query($on-laptop) { @include relative-font-size(1.75); } } h3 { @include relative-font-size(1.625); @include media-query($on-laptop) { @include relative-font-size(1.375); } } h4 { @include relative-font-size(1.25); @include media-query($on-laptop) { @include relative-font-size(1.125); } } }