From e79a7137822e59aa7bddfdcc7b46587c39b52d36 Mon Sep 17 00:00:00 2001 From: shaoxiang <1026025056@qq.com> Date: Sat, 12 Oct 2019 15:33:27 +0800 Subject: [PATCH] change product_page some css style --- docs/assets/css/main.css | 12 ++++-- docs/index.html | 2 +- docs/index.md | 90 +++++++++++++++++++++------------------- docs/zh_CN/README.md | 89 +++++++++++++++++++-------------------- 4 files changed, 102 insertions(+), 91 deletions(-) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index dc8ea680..aca590ca 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -285,16 +285,22 @@ div.card-img-overlay:hover { .pc-navigation { position:fixed; top:20%; - left:5%; + left:4%; } +.pc-navigation button { + font-weight: bold; + height: 53px; +} + + .mb-navigation { display: none; } .product_page { - margin-left:125px; - margin-top:55px; + margin-left:110px; + margin-top:100px; } .search{ diff --git a/docs/index.html b/docs/index.html index 745d4276..82c84c56 100644 --- a/docs/index.html +++ b/docs/index.html @@ -273,7 +273,7 @@ function page_move(divId) { var t = $("#" + divId).offset().top; $('html, body').animate({ - scrollTop: (t - 50) + scrollTop: (t - 100) }, 500); } page_loading(); diff --git a/docs/index.md b/docs/index.md index 86fdf9be..df4ab245 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@
-
+
@@ -25,7 +25,7 @@
-
+ @@ -80,7 +80,7 @@
-**M5Core** +**M5Core/Kit** - - - - - - - - - - - -**M5GO/FACES Kit** - - +**M5Stick** + + + + + + + + + + + + + + + + + + + +
@@ -999,7 +1002,7 @@ @@ -1163,14 +1166,14 @@
@@ -1194,6 +1197,7 @@ $("#core .mask a").eq(4).attr("href", "#en/quick_start/m5stickc/m5stickc_quick_start"); $("#core .mask a").eq(5).attr("href", "#en/quick_start/m5stickv/m5stickv_quick_start"); $("#unit .mask a").attr("href", "#en/quick_start/m5camera/m5camera_quick_start"); + $(".product_page strong").parent('p').css("margin-bottom","0px"); }); diff --git a/docs/zh_CN/README.md b/docs/zh_CN/README.md index ec088349..9d2cf969 100644 --- a/docs/zh_CN/README.md +++ b/docs/zh_CN/README.md @@ -1,5 +1,5 @@
-
+
@@ -23,7 +23,7 @@

-
+ @@ -84,7 +84,7 @@
-**M5Core** +**M5Core/Kit** - - - - - - - - - - - -**M5GO/FACES Kit** - - + + +**M5Stick** + + + + + + + + + + + + + + +
@@ -1002,7 +1002,7 @@ @@ -1147,7 +1147,7 @@
-**Aluminium Profil** +**Aluminium-Profil** @@ -1198,6 +1198,7 @@ $("#core .mask a").eq(4).attr("href", "#zh_CN/quick_start/m5stickc/m5stickc_quick_start"); $("#core .mask a").eq(5).attr("href", "#zh_CN/quick_start/m5stickv/m5stickv_quick_start"); $("#unit .mask a").attr("href", "#zh_CN/quick_start/m5camera/m5camera_quick_start"); + $(".product_page strong").parent('p').css("margin-bottom","0px"); });