panweitong 3 years ago
parent
commit
a0e4a29439
2 changed files with 3 additions and 2 deletions
  1. 1 0
      python/index.css
  2. 2 2
      python/index.html

+ 1 - 0
python/index.css

@@ -790,6 +790,7 @@ ul, li {
     text-overflow: ellipsis;
     white-space: nowrap;
     font-size: 14px;
+    font-family: "微软雅黑";
 }
 
 .Hardware2 li:hover,.Hardware4 li:hover {

+ 2 - 2
python/index.html

@@ -164,7 +164,7 @@
         <nav id="nav_" class="nav-fixed arduino_teal" style="overflow:hidden;background-color: #3454D2;">
             <div id="nav_shadow" class="shadowbox" style="display:none;"></div>
             <div class="nav-wrapper"
-                style="min-width: 1200px; padding:0px 10px;display: flex;justify-content: space-between;position:static;">
+                style="min-width: 1200px;font-family: '微软雅黑';padding:0px 10px;display: flex;justify-content: space-between;position:static;">
                 <a id="logo-container" class="brand-logo" style="display: none;">
                     <span style="font-size:28px;font-family:'GT Walsheim Pro Trial Bold';"
                         class="app_title translatable_title">CocoBlockly X</span>
@@ -1179,7 +1179,7 @@
 
                                     <div class="row">
                                         <div class="col s6" style="float: right;">
-                                            <div style="float: right;margin-top: 15px;">
+                                            <div style="float: right;">
                                                 <div style="display: inline-block;vertical-align: middle;">
                                                     <img id="runSuccess" src="./images/success.png"
                                                         style="display: none;" />