Skip to content

Commit d68beac

Browse files
committed
Makes top-menu always available
1 parent 6961e50 commit d68beac

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

javascript/site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $(document).ready(function() {
7474
function fixHeader() {
7575
headerFixed = true;
7676
headerChildren.hide(0);
77-
header.removeClass('first-glance').addClass('fixed');
77+
//header.removeClass('first-glance').addClass('fixed');
7878
headerChildren.show(200);
7979
}
8080

style/home/base.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('/images/full-bleed/lab-1-1600.jpg');
44
background-position: center center;
55
background-size: cover;
6-
height: 100%;
6+
height: 90%;
77
position: relative;
88
}
99

@@ -23,7 +23,7 @@
2323
}
2424

2525
nav {
26-
display: none;
26+
display: block;
2727
}
2828

2929
#chevron {
@@ -159,10 +159,6 @@
159159
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url('/images/full-bleed/lab-1-899.jpg');
160160
background-position: center center !important;
161161
background-size: cover;
162-
163-
nav {
164-
display: block;
165-
}
166162
}
167163

168164
>header, #home>footer {

style/sitewide/header.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ body {
140140
}
141141
}
142142

143+
/*
144+
For archival purpose, adjusting top-menu to always show, which was default behavior at 999px and below previously.
145+
143146
@media (max-width: 1299px) {
144147
body {
145148
>header {
@@ -190,9 +193,9 @@ body {
190193
}
191194
}
192195
}
193-
}
196+
}*/
194197

195-
@media (max-width: 999px) {
198+
//@media (max-width: 999px) {
196199
body {
197200
main {
198201
box-shadow: inherit;
@@ -286,7 +289,7 @@ body {
286289
}
287290
}
288291
}
289-
}
292+
//}
290293

291294
@media (max-width: 639px) {
292295
body {

0 commit comments

Comments
 (0)