mobile menu fixes
This commit is contained in:
parent
7f1d17ee09
commit
eee51de682
3 changed files with 62 additions and 15 deletions
|
|
@ -59,7 +59,7 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
.home header nav .icon.icon-menu.open {
|
||||
right: calc(33.3333333333% + 1rem);
|
||||
right: 200px;
|
||||
}
|
||||
.home header nav .front-menu {
|
||||
display: flex;
|
||||
|
|
@ -72,9 +72,10 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
transition: right 200ms ease;
|
||||
background-color: #d7b94c;
|
||||
}
|
||||
.home header nav .front-menu.open {
|
||||
right: 1rem;
|
||||
right: 0;
|
||||
}
|
||||
@media screen and (min-width: 600px) {
|
||||
.home header nav .front-menu {
|
||||
|
|
@ -82,19 +83,29 @@
|
|||
position: relative;
|
||||
top: unset;
|
||||
right: unset;
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
.home header nav .front-menu {
|
||||
list-style: none;
|
||||
}
|
||||
.home header nav .front-menu li {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
.home header nav .front-menu li a {
|
||||
display: block;
|
||||
font-family: AtomicAge-Regular;
|
||||
color: #d7b94c;
|
||||
color: #FBFCFF;
|
||||
font-size: 1.5rem;
|
||||
text-decoration: none;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.home header nav .front-menu li a {
|
||||
color: #d7b94c;
|
||||
}
|
||||
}
|
||||
.home header nav .front-menu li a:hover {
|
||||
border-bottom: 2px solid #d7b94c;
|
||||
padding-bottom: 0;
|
||||
|
|
@ -119,9 +130,14 @@
|
|||
display: flex;
|
||||
min-height: 100vh;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.home #root.v1 .top {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
.home #root.v1 .top .computer {
|
||||
display: block;
|
||||
max-width: 800px;
|
||||
|
|
@ -132,10 +148,16 @@
|
|||
border: 2rem solid #a6a695;
|
||||
padding: 1rem 1rem;
|
||||
box-shadow: 0 0 5px 10px rgba(29, 31, 32, 0.45);
|
||||
margin-top: 5rem;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.home #root.v1 .top .computer {
|
||||
margin-top: -2rem;
|
||||
}
|
||||
}
|
||||
.home #root.v1 .top .computer .heading {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-size: 0.85rem;
|
||||
font-family: Montserrat-Light;
|
||||
color: #d7b94c;
|
||||
position: relative;
|
||||
|
|
@ -178,7 +200,7 @@
|
|||
opacity: 0;
|
||||
animation: showText 0.1s forwards;
|
||||
animation-delay: 1s;
|
||||
font-size: 1rem;
|
||||
font-size: 0.95rem;
|
||||
color: #d7b94c;
|
||||
}
|
||||
@media screen and (min-width: 600px) {
|
||||
|
|
@ -221,7 +243,7 @@
|
|||
}
|
||||
}
|
||||
.home #root.v1 .top .computer #outro .menu a {
|
||||
font-size: 1rem;
|
||||
font-size: 0.95rem;
|
||||
color: #d7b94c;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue