Merge pull request #187 from SgtSilvio/improvement/site-logo

Improvement/site logo
This commit is contained in:
Patrick Marsceill
2019-09-09 15:10:55 -04:00
committed by GitHub
6 changed files with 49 additions and 12 deletions

View File

@@ -125,12 +125,12 @@
.site-header {
display: flex;
min-height: $header-height;
align-items: center;
@include mq(md) {
z-index: 101;
height: $header-height;
min-height: $header-height;
max-height: $header-height;
border-bottom: $border $border-color;
}
@@ -142,10 +142,26 @@
display: flex;
height: 100%;
align-items: center;
padding-top: $gutter-spacing-sm;
padding-bottom: $gutter-spacing-sm;
padding-top: $sp-3;
padding-bottom: $sp-3;
color: $body-heading-color;
@include fs-6;
@include mq(md) {
padding-top: $sp-2;
padding-bottom: $sp-2;
}
}
@if variable-exists(logo) {
.site-logo {
width: 100%;
height: 100%;
background-image: url($logo);
background-position: left center;
background-repeat: no-repeat;
background-size: contain;
}
}
.menu-button {