diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 05675ca3..dfa196fb 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -300,12 +300,8 @@ div.card-img-overlay:hover { left: 10px; transform: rotate(-45deg); } - body[data-page="index.md"] article.markdown-section { - max-width: 80%; - margin-top: 0px; - } - body[data-page="zh_CN/README.md"] article.markdown-section { - max-width: 80%; + .markdown-section { + max-width: 100%; margin-top: 0px; } .markdown-section { @@ -313,12 +309,13 @@ div.card-img-overlay:hover { margin-top: 50px; } .banner div.card-img-overlay h4 { - font-size: 2em; + font-size: 1.3em; color: #fff; text-align: center; } .banner { margin-left: 0px; + width: 130px; } .back_top { position: fixed; diff --git a/docs/index.html b/docs/index.html index fd180bd0..f9230b52 100644 --- a/docs/index.html +++ b/docs/index.html @@ -34,7 +34,7 @@ var loadingMask = document.getElementById('loading'); let url = window.location.href.split('#')[1]; if (url.length < 2 || url == '/zh_CN/' || url == '/en/') { - pass; + }else{ loadingMask.style.display = 'block'; } @@ -43,7 +43,7 @@ - + @@ -54,7 +54,6 @@