Skip to content

Commit 4035a95

Browse files
committed
responsive design fixes on navigation and search input
1 parent fe665a4 commit 4035a95

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/css/search.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
.search-input-landing {
43-
padding-right: 4rem !important;
43+
padding-right: 4rem;
4444
background-color: var(--color-smoke-70);
4545
box-shadow: rgba(0, 0, 0, 0.24) 1px 3px 8px;
4646
}
@@ -108,7 +108,7 @@
108108

109109
.search-input-landing {
110110
width: 800px;
111-
padding: 2 2.25em;
111+
padding: 2 1.25em;
112112
}
113113

114114
.sections-page .search-result-dropdown-menu {

src/css/sections-header.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ html.is-clipped--navbar {
306306
}
307307

308308
.sections-navbar-mobile {
309-
/* background: var(--navbar-menu-background);
310-
box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1); */
311309
position: fixed;
312310
top: 8rem;
313311
max-height: var(--body-min-height);
@@ -451,6 +449,12 @@ html.is-clipped--navbar {
451449
}
452450
}
453451

452+
@media screen and (min-width: 1024px) and (max-width: 1440px) {
453+
.sections-navbar-menu {
454+
margin-left: -16rem;
455+
}
456+
}
457+
454458
@media screen and (max-width: 700px) {
455459
.sections-header {
456460
display: none;

src/css/sections.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
}
319319

320320
.get-started-button {
321-
padding: 0.25rem 1rem;
322-
font-size: 0.25rem;
321+
padding: 0.5rem 2rem;
322+
font-size: 0.5rem;
323323
}
324324
}

0 commit comments

Comments
 (0)