Skip to content

Commit

Permalink
Styling updates on mobile. Window refresh on move.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanguard90 committed Dec 5, 2016
1 parent 9ab9b79 commit 600be7d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
9 changes: 9 additions & 0 deletions secondary/js-main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/* Window resize reload start */

window.addEventListener('resize', function () {
"use strict";
window.location.reload();
});

/* Window resize reload end */

/* Button click start */

var buttonClick = document.getElementsByClassName("abcd");
Expand Down
11 changes: 8 additions & 3 deletions secondary/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -999,18 +999,23 @@ header ol li:hover .header-element-11, header ol li:hover .header-element-12, he

.mobile-hamburger {

height: 50px;
min-height: 50px;
}

.hamburger-menu {
position: relative;
padding-right: 3%;
padding-top: 2%;
height: 13%;
padding-top: 0px;
height: 12%;
width: 15%;
float: right;
}

.hamburger-image {

vertical-align: center;
}

.nav {

display: none;
Expand Down

0 comments on commit 600be7d

Please sign in to comment.