1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00
This commit is contained in:
krircc 2018-01-07 18:47:08 +08:00
parent 14f4da6fd0
commit 63fe989b22
2 changed files with 18 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<div id="mnav">
<div id="lnav">
<div id="line"></div>
<h1><a href="/">Actix</a></h1>
<h1><img src="/public/imgs/ACTIX.png"/><a href="/">Actix</a></h1>
<label ><a href="#" id="menu">menu</a></label>
</div>
<div id="rnav">

View File

@ -59,7 +59,7 @@ ul, ol, li {
}
#lnav h1 a {
font-size: 33px;
margin: auto 2vw;
margin: auto 1vw;
font-weight: bold;
}
#lnav label {
@ -181,6 +181,12 @@ footer p {
/* ----------------------------------------mobile----------------------------------------*/
@media only screen and (max-width: 600px) {
#lnav h1 img {
width: 3.3rem;
height: 3.3rem;
vertical-align:middle;
margin-left: 1vw;
}
#rnav {
padding-top: 4rem;
height: 0;
@ -205,10 +211,11 @@ footer p {
#menu {
display: none;
}
#lnav h1 a {
font-size: 33px;
margin: auto 6vw;
font-weight: bold;
#lnav h1 img {
width: 3.3rem;
height: 3.3rem;
vertical-align:middle;
margin-left: 5vw;
}
#rnav {
@ -265,10 +272,11 @@ footer p {
#menu {
display: none;
}
#lnav h1 a {
font-size: 33px;
margin: auto 11vw;
font-weight: bold;
#lnav h1 img {
width: 3.3rem;
height: 3.3rem;
vertical-align:middle;
margin-left: 11vw;
}
#rnav {
position: fixed;