You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by do...@apache.org on 2019/04/04 06:39:45 UTC

[incubator-iotdb-website] branch master updated: update new logo

This is an automated email from the ASF dual-hosted git repository.

dope pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb-website.git


The following commit(s) were added to refs/heads/master by this push:
     new b8acb82  update new logo
b8acb82 is described below

commit b8acb824bae115f2034586569538768710b44f60
Author: XuYi <xu...@126.com>
AuthorDate: Thu Apr 4 14:39:33 2019 +0800

    update new logo
---
 src/assets/img/logo-orange.png | Bin 0 -> 1768 bytes
 src/assets/img/logo.png        | Bin 332877 -> 0 bytes
 src/components/NavBar.vue      |  25 ++++++++++++++++++-------
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/src/assets/img/logo-orange.png b/src/assets/img/logo-orange.png
new file mode 100644
index 0000000..c0a4baf
Binary files /dev/null and b/src/assets/img/logo-orange.png differ
diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png
deleted file mode 100644
index 4b55a68..0000000
Binary files a/src/assets/img/logo.png and /dev/null differ
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index a5241db..739e1ac 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -13,7 +13,7 @@
           </button>
           <!--<a class="navbar-brand" href="#/">IoTDB</a>-->
           <router-link to="/" class="nav-link">
-            <img src="../assets/img/logo.png" class="logo-class">
+            <img src="../assets/img/logo-orange.png" class="logo-class">
           </router-link>
 
         </div>
@@ -146,7 +146,8 @@
 
   .logo-class{
     max-width: 100px;
-    padding-top: 2px;
+    padding-top: 5px;
+    margin-right: 15px;
   }
 
   @media (min-width: 200px) {
@@ -154,7 +155,7 @@
       margin-bottom: 90px;
     }
     .logo-class{
-      margin-left: 0px;
+      margin-left: 10px;
     }
   }
 
@@ -162,8 +163,11 @@
     .header {
       margin-bottom: 190px;
     }
+    #home-page{
+      margin-left: -15px;
+    }
     .logo-class{
-      margin-left: -8px;
+      margin-left: -2px;
     }
   }
 
@@ -171,8 +175,11 @@
     .header {
       margin-bottom: 140px;
     }
+  }
+
+  @media (min-width: 1170px) {
     .logo-class{
-      margin-left: -8px;
+      margin-left: -110px;
     }
   }
 
@@ -181,9 +188,13 @@
       margin-bottom: 90px;
     }
     .logo-class{
-      margin-left: -11px;
+      margin-left: 0px;
     }
   }
 
-
+  @media (min-width: 1360px) {
+    .logo-class{
+      margin-left: -110px;
+    }
+  }
 </style>