Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
smooth scroll and more mobile
  • Loading branch information
etl12003 committed Dec 15, 2016
1 parent 4619f01 commit f7c141c
Show file tree
Hide file tree
Showing 6 changed files with 170 additions and 10,907 deletions.
50 changes: 45 additions & 5 deletions css/main.css
Expand Up @@ -98,10 +98,15 @@ textarea {
box-sizing: border-box;
}

header{
display: none;
}


body{
background-color: #dadae6;
font-family: monospace;
padding-left: 14rem
padding-left: 14rem;
}


Expand Down Expand Up @@ -169,8 +174,8 @@ nav li ul li ul li{
main{
padding: 2rem;
max-width: 50rem;
margin-left: auto;
margin-right: auto;
margin-left: 12rem;
padding-top: 4rem;
}

h3{
Expand Down Expand Up @@ -267,13 +272,48 @@ button.color-button{
background-color: green;
}

@media only screen and (max-width: 49em) {
@media only screen and (max-width: 64.5rem) {
nav{
display: none;
bottom: 0;
height: calc(100vh - 3.2rem);
left: -24rem;
transition: left 0.5s ease;
}

nav.show{
left: 0;
z-index: 5;

}

body{
padding: 0;
}
main{

margin-left: auto;
margin-right: auto;
}

header{
display: block;
background-color: #bdbdcc;
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: .5rem;
z-index: 10;
}
button#menu{
background-color: transparent;
background-repeat: no-repeat;
border: none;
font-size: 1.1rem;
}
buton img{
background-color: transparent;
}
}

@media only screen and (max-width: 37em) {
Expand Down
1 change: 1 addition & 0 deletions img/menu.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f7c141c

Please sign in to comment.