Skip to content
Snippets Groups Projects
Unverified Commit 68169dd1 authored by Patrick Marsceill's avatar Patrick Marsceill
Browse files

Nav, footer, and search mobile cleanup

parent dc182d19
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,8 @@
}
.navigation,
.site-title {
.site-title,
.site-footer {
@include container;
......@@ -114,8 +115,21 @@
}
}
body {
position: relative;
padding-bottom: $sp-10;
@include mq(md) {
position: static;
padding-bottom: 0;
}
}
.site-footer {
position: absolute;
bottom: $sp-3;
@include mq(md) {
margin-top: $sp-10;
right: 0;
}
}
......@@ -20,6 +20,7 @@
.navigation-list {
padding: 0;
margin-top: $sp-4;
margin-bottom: 0;
list-style: none;
@include mq(md) {
......@@ -53,8 +54,12 @@
}
.navigation-list-item {
@include fs-3;
@include fs-4;
margin: 0;
@include mq(md) {
@include fs-3;
}
}
.navigation-list-link {
......
......@@ -3,15 +3,27 @@
//
.search {
position: relative;
z-index: 99;
display: none;
flex-grow: 1;
padding-bottom: $gutter-spacing / 2;
background-color: $white;
padding: $sp-2;
margin-bottom: $sp-3;
@include mq(md) {
position: relative;
z-index: 99;
display: block;
flex-grow: 1;
padding-top: $sp-1;
padding-bottom: $gutter-spacing / 2;
padding-right: 0;
padding-bottom: $sp-4;
padding-left: 0;
margin-bottom: 0;
background-color: transparent;
}
&.nav-open {
display: block;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment