1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +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="mnav">
<div id="lnav"> <div id="lnav">
<div id="line"></div> <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> <label ><a href="#" id="menu">menu</a></label>
</div> </div>
<div id="rnav"> <div id="rnav">

View File

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