diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 0fc726c4..2723605b 100755 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -203,10 +203,8 @@ body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { overflow: hidden; height: 0px; background-color: #fff; - /* border: 1px solid rgba(0,0,0,.15); - border-radius: .25rem; */ transition:all .25s ease; - left: -50%; + left: -50px; text-align: center; top: 40px; z-index: 1001; @@ -945,8 +943,8 @@ mark { .anchor-box { position: fixed; - top: 35%; - left: 3%; + top: 30%; + left: 25px; display: -webkit-flex; display: flex; flex-direction:column; @@ -1007,6 +1005,20 @@ mark { +@media screen and (max-width: 1450px) { + .anchor-box { + left: 0px; + } +} + + +@media screen and (max-width: 1170px) { + .anchor-box { + left: -40px; + } +} + + @media screen and (max-width: 768px) { .anchor-box { diff --git a/docs/index.html b/docs/index.html index c7da3a59..6a17cd37 100755 --- a/docs/index.html +++ b/docs/index.html @@ -1,481 +1,60 @@ - - - - - - - - - - M5Stack - A series of modular stackable development devices - - - - - - - - - - - - - - - - - - - -
- -
-
- M5Stack Docs
- -
- -
loading...
- - - - - - - - - - - - - - - - - + window.addEventListener('hashchange', function(event) { + var loadingMask = document.getElementById('loading'); + let url = window.location.href.split('#')[1]; + if (url.length < 2 || url == '/zh_CN/' || url == '/en/') { + + }else if(url.indexOf("?id=") < 0 ){ + loadingMask.style.display = 'block'; + } + }) +
M5Stack Docs
loading...
\ No newline at end of file diff --git a/docs/index_source.html b/docs/index_source.html new file mode 100644 index 00000000..6dd7232e --- /dev/null +++ b/docs/index_source.html @@ -0,0 +1,457 @@ + + + + + + + + + + M5Stack - A series of modular stackable development devices + + + + + + + + + + + + + + + + + + + +
+ +
+
+ M5Stack Docs
+ +
+ +
loading...
+ + + + + + + + + + + + + + + + + \ No newline at end of file