Commit 5be0c9ca authored by Hui's avatar Hui
Browse files

Replace mobile.css

parent cd506b7b
@media only screen and (max-width : 800px) { @media only screen and (max-width : 800px) {
.content { .content {
padding-left: 5%; padding-left: 5%;
padding-right: 5%; padding-right: 5%;
} }
nav { nav {
background-color: rgba(16, 16, 16, 0.8); background-color: rgba(16, 16, 16, 0.8);
height: auto; height: auto;
padding: 0; padding: 0;
position: absolute; position: absolute;
right: -40%; right: -40%;
top: 20px; top: 20px;
width: 40%; width: 40%;
margin: 0; margin: 0;
z-index: 1000; z-index: 1000;
transition: right 0.4s; transition: right 0.4s;
} }
nav ul { nav ul {
flex-direction: column; flex-direction: column;
} }
nav li { nav li {
display: block; display: block;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
nav a { nav a {
font-size: 0.8em; font-size: 0.8em;
} }
nav a:hover { nav a:hover {
border-bottom: unset; border-bottom: unset;
padding-bottom: unset; padding-bottom: unset;
} }
.hamburger { .hamburger {
display: none; display: none;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
width: 40px; width: 40px;
height: 40px; height: 40px;
background-color: rgba(16, 16, 16, 0.8); background-color: rgba(16, 16, 16, 0.8);
margin-top: 20px; margin-top: 20px;
padding: 8px; padding: 8px;
transition: margin-right 0.4s; transition: margin-right 0.4s;
} }
.line { .line {
background-color: white; background-color: white;
height: 2px; height: 2px;
} }
.slide-nav { .slide-nav {
right: 0; right: 0;
} }
.slide-hamburger { .slide-hamburger {
margin-right: 40%; margin-right: 40%;
} }
.overflow-visible{ .overflow-visible{
overflow: visible; overflow: visible;
} }
.logo{ .logo{
width: 80px; width: 80px;
height: 80px; height: 80px;
margin-left: 8vw; margin-left: 8vw;
} }
}
@media only screen and (max-width : 400px) {
#projectlogo img{
width: 50px;
}
#projectname {
font-size: 12px;
}
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment