1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

make moblie Responsive right

This commit is contained in:
krircc 2018-01-07 14:08:18 +08:00
parent dbd274a8bf
commit 0e64cbdf63

View File

@ -69,7 +69,7 @@ ul, ol, li {
margin: auto 2vw; margin: auto 2vw;
} }
/* ----------------------------------------main----------------------------------------*/ /* ----------------------------------------section----------------------------------------*/
section.docs aside ul li a { section.docs aside ul li a {
display: inline-block; display: inline-block;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
@ -190,7 +190,7 @@ footer p {
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
main { section {
margin: 0 auto ; margin: 0 auto ;
padding-top: 1rem; padding-top: 1rem;
width: 94%; width: 94%;
@ -222,7 +222,7 @@ footer p {
font-weight: bold; font-weight: bold;
padding-left: 2vw; padding-left: 2vw;
} }
main { section {
margin: 0 auto; margin: 0 auto;
padding-top: 5rem; padding-top: 5rem;
width: 88%; width: 88%;
@ -279,7 +279,7 @@ footer p {
font-weight: bold; font-weight: bold;
padding-left: 2vw; padding-left: 2vw;
} }
main { section {
margin: 0 auto; margin: 0 auto;
padding-top: 5.5rem; padding-top: 5.5rem;
width: 77%; width: 77%;