diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 651eacf82b6..4a1bd4a6cf2 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -1,5 +1,47 @@ @charset "UTF-8"; +$primary-color: #049cdb; + +.site-header { + position: relative; +} + +.search-container { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: white; + padding-top: 19px; + padding-right: 15%; + + .search { + max-width: 500px; + width: 100%; + border-bottom: 2px solid $primary-color; + float: right; + + .algolia-autocomplete { + width: calc(100% - 58px); + margin: 0 10px; + } + + input { + border: 0; + width: 100%; + } + } +} + +@media only screen and (max-width: $menu-collapse) { + .search-container { + z-index: 20; + padding-right: 5px; + padding-left: 5px; + } +} + .hero { background-color: #038FC7; padding-bottom: 0; diff --git a/sass/oscailte/base/_navigation.scss b/sass/oscailte/base/_navigation.scss index 6478e6aec4f..24f68005e6c 100644 --- a/sass/oscailte/base/_navigation.scss +++ b/sass/oscailte/base/_navigation.scss @@ -81,17 +81,23 @@ header .grid { font-weight: normal; font-size: 14px; line-height: 1; + + &.show-search { + padding-left: 0; + padding-right: 0; + } } .menu > li > a:hover, .menu > li > a:focus{ background: $site-background; box-shadow: inset 0px 5px $navigation-color; color: $navigation-color; - padding: 40px 12px 24px; + padding-top: 40px; + padding-bottom: 24px; } -.toggle{ - z-index: 20; +.toggle{ + z-index: 20; } @media only screen and (max-width: $menu-collapse){ diff --git a/source/_includes/custom/header.html b/source/_includes/custom/header.html index 15f04816fdc..d0b387b1c1c 100644 --- a/source/_includes/custom/header.html +++ b/source/_includes/custom/header.html @@ -9,4 +9,12 @@ + +
diff --git a/source/_includes/custom/navigation.html b/source/_includes/custom/navigation.html index d6188c1408e..1179c86bef7 100644 --- a/source/_includes/custom/navigation.html +++ b/source/_includes/custom/navigation.html @@ -16,4 +16,5 @@