diff --git a/docs/assets/css/main-min.css b/docs/assets/css/main-min.css index 74cea07a..f91a2697 100644 --- a/docs/assets/css/main-min.css +++ b/docs/assets/css/main-min.css @@ -254,7 +254,7 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar .mask-btn1 { position: relative; - top: 60px; + top: 50px; left: 30px } @@ -905,7 +905,7 @@ mark { @media screen and (max-width:1580px) { .anchor-box { - left: 30px + left: 20px } } @@ -916,9 +916,15 @@ mark { } } -@media screen and (max-width:1000px) { +@media screen and (max-width:1100px) { .anchor-box { - left: -30px + left: -12px + } +} + +@media screen and (max-width:980px) { + .anchor-box { + left: -34px } } diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 48c0b91d..ad65cad5 100755 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -28,9 +28,8 @@ img { } .markdown-section { - max-width: 80%; + max-width: 75%; margin-top: 50px; - padding: 2rem 10px 2rem 60px; } .markdown-section a { @@ -337,7 +336,7 @@ div.card-img-overlay:hover { } .product_page { - margin-left: 110px; + margin-left: 60px; margin-top: 100px } @@ -828,7 +827,7 @@ mark { .anchor-box { position: fixed; top: 30%; - left: 25px; + left: 50px; display: -webkit-flex; display: flex; flex-direction: column; @@ -906,25 +905,20 @@ mark { @media screen and (max-width:1580px) { .anchor-box { - left: 10px + left: 30px } } -@media screen and (max-width:1445px) { - .anchor-box { - left: -10px - } -} @media screen and (max-width:1260px) { .anchor-box { - left: -35px + left: 0px } } @media screen and (max-width:1000px) { .anchor-box { - left: -60px + left: -30px } } @@ -1169,4 +1163,25 @@ table tr:nth-child(odd) { display: block !important; overflow: scroll; } -} \ No newline at end of file +} + + +.files_download { + display: flex; + flex-direction: row; + justify-content: space-evenly; + flex-wrap: wrap; + margin: 45px; +} + +.files_download .item{ + display: flex; + justify-content: center; + width: 200px; + box-shadow: 4px 4px 7px 0px #cecece; + transition:all .25s ease; +} + +.files_download .item:hover{ + transform:scale(1.2); +} diff --git a/docs/index.html b/docs/index.html index c68e6274..ed3063c8 100755 --- a/docs/index.html +++ b/docs/index.html @@ -389,7 +389,7 @@ }) } }else if((page_url.indexOf(/uiflow/) != -1)||(page_url.indexOf(/arduino/) != -1)||(page_url.indexOf(/quick_start/) != -1)){ - $(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name.toUpperCase()+''); + $(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name+''); } } function anchor_search(purchase_link="none",quickstart_link="none"){