Skip to content

Commit

Permalink
Merge pull request #39 from Joe-Brady/menu
Browse files Browse the repository at this point in the history
Menu button now static
  • Loading branch information
Joe Brady authored Mar 23, 2017
2 parents 9fbaf57 + 613228e commit 3a6ee5b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
10 changes: 9 additions & 1 deletion dist/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ input {
margin-top: 1rem;
text-align: center; }

nav {
position: relative; }

#logo {
margin: 2rem auto;
font-size: 1.4rem;
Expand All @@ -120,7 +123,8 @@ input {
cursor: pointer;
line-height: 1;
padding: 2rem 1rem;
top: 0; }
top: 50%;
transform: translateY(-50%); }

#menu-button:hover {
color: #dadada; }
Expand Down Expand Up @@ -523,13 +527,17 @@ a.latest-download-button:hover {
@media all and (max-width: 650px) {
main {
padding: 2rem 1rem 5rem 1rem; }
main .intro {
width: 100%; }
a.dl-button {
width: 100%;
margin: 0 auto;
margin-top: 1.2rem; }
a.dl-button .dl-description {
transform: translate(-50%, -3.8rem);
left: 50%; }
.home-links {
display: block; }
#menu-button {
margin-left: 0;
font-size: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/scss/styles-1-large-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ input {

// NAV CSS

nav {
position: relative;
}

#logo {
margin: 2rem auto;
font-size: $headersize;
Expand Down Expand Up @@ -143,7 +147,8 @@ input {
cursor: pointer;
line-height: 1;
padding: 2rem 1rem;
top: 0;
top: 50%;
transform: translateY(-50%);
}

#menu-button:hover {
Expand Down
8 changes: 8 additions & 0 deletions src/scss/styles-6-small.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
padding: 2rem 1rem 5rem 1rem;
}

main .intro {
width: 100%;
}

a.dl-button {
width: 100%;
margin: 0 auto;
Expand All @@ -15,6 +19,10 @@
left: 50%;
}

.home-links {
display: block;
}

#menu-button {
margin-left: 0;
font-size: 1.5rem;
Expand Down

0 comments on commit 3a6ee5b

Please sign in to comment.