hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhavanisu...@apache.org
Subject [incubator-hudi] branch asf-site updated: [HUDI-579] Add border to table on hudi website (#1283)
Date Tue, 28 Jan 2020 18:14:44 GMT
This is an automated email from the ASF dual-hosted git repository.

bhavanisudha pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4670c02  [HUDI-579] Add border to table on hudi website (#1283)
4670c02 is described below

commit 4670c026010b61d5bd591119902a19d64d2b8889
Author: lamber-ken <lamberken@163.com>
AuthorDate: Wed Jan 29 02:14:36 2020 +0800

    [HUDI-579] Add border to table on hudi website (#1283)
    
    * [HUDI-579] Add border to table on hudi website
    
    * Revert update
---
 docs/_docs/0.5.0/3_2_docs_versions.cn.md |  4 ++--
 docs/_docs/0.5.0/3_2_docs_versions.md    |  4 ++--
 docs/_docs/3_2_docs_versions.cn.md       |  5 +++--
 docs/_docs/3_2_docs_versions.md          |  4 ++--
 docs/_sass/hudi_style/_page.scss         | 16 ++++++++++++++--
 docs/_sass/hudi_style/_tables.scss       |  5 ++---
 docs/_sass/hudi_style/skins/_hudi.scss   |  8 ++++++++
 7 files changed, 33 insertions(+), 13 deletions(-)

diff --git a/docs/_docs/0.5.0/3_2_docs_versions.cn.md b/docs/_docs/0.5.0/3_2_docs_versions.cn.md
index 25436b0..7f2398a 100644
--- a/docs/_docs/0.5.0/3_2_docs_versions.cn.md
+++ b/docs/_docs/0.5.0/3_2_docs_versions.cn.md
@@ -7,11 +7,11 @@ last_modified_at: 2019-12-30T15:59:57-04:00
 language: cn
 ---
 
-<table>
+<table class="docversions">
     <tbody>
       {% for d in site.previous_docs %}
         <tr>
-            <th class="docversions">{{ d.version }}</th>
+            <th>{{ d.version }}</th>
             <td><a href="{{ d.en }}">英文版</a></td>
             <td><a href="{{ d.cn }}">中文版</a></td>
         </tr>
diff --git a/docs/_docs/0.5.0/3_2_docs_versions.md b/docs/_docs/0.5.0/3_2_docs_versions.md
index 3d390b2..5a4d33a 100644
--- a/docs/_docs/0.5.0/3_2_docs_versions.md
+++ b/docs/_docs/0.5.0/3_2_docs_versions.md
@@ -6,11 +6,11 @@ permalink: /docs/0.5.0-docs-versions.html
 last_modified_at: 2019-12-30T15:59:57-04:00
 ---
 
-<table>
+<table class="docversions">
     <tbody>
       {% for d in site.previous_docs %}
         <tr>
-            <th class="docversions">{{ d.version }}</th>
+            <th>{{ d.version }}</th>
             <td><a href="{{ d.en }}">English Version</a></td>
             <td><a href="{{ d.cn }}">Chinese Version</a></td>
         </tr>
diff --git a/docs/_docs/3_2_docs_versions.cn.md b/docs/_docs/3_2_docs_versions.cn.md
index b1ce89d..0d6a1aa 100644
--- a/docs/_docs/3_2_docs_versions.cn.md
+++ b/docs/_docs/3_2_docs_versions.cn.md
@@ -6,14 +6,15 @@ last_modified_at: 2019-12-30T15:59:57-04:00
 language: cn
 ---
 
-<table>
+<table class="docversions">
     <tbody>
       {% for d in site.previous_docs %}
         <tr>
-            <th class="docversions">{{ d.version }}</th>
+            <th>{{ d.version }}</th>
             <td><a href="{{ d.en }}">英文版</a></td>
             <td><a href="{{ d.cn }}">中文版</a></td>
         </tr>
       {% endfor %}
     </tbody>
 </table>
+
diff --git a/docs/_docs/3_2_docs_versions.md b/docs/_docs/3_2_docs_versions.md
index ac6663f..9ce3b26 100644
--- a/docs/_docs/3_2_docs_versions.md
+++ b/docs/_docs/3_2_docs_versions.md
@@ -5,11 +5,11 @@ permalink: /docs/docs-versions.html
 last_modified_at: 2019-12-30T15:59:57-04:00
 ---
 
-<table>
+<table class="docversions">
     <tbody>
       {% for d in site.previous_docs %}
         <tr>
-            <th class="docversions">{{ d.version }}</th>
+            <th>{{ d.version }}</th>
             <td><a href="{{ d.en }}">English Version</a></td>
             <td><a href="{{ d.cn }}">Chinese Version</a></td>
         </tr>
diff --git a/docs/_sass/hudi_style/_page.scss b/docs/_sass/hudi_style/_page.scss
index 3449dd4..43edff3 100644
--- a/docs/_sass/hudi_style/_page.scss
+++ b/docs/_sass/hudi_style/_page.scss
@@ -159,9 +159,21 @@ body {
 
   .docversions {
     display: block;
-    margin-top: 8px;
-    margin-right: 3px;
+
+    th {
+        display: block;
+        margin-top: 8px;
+        margin-right: 3px;
+    }
+
+    td {
+        border-top: 0px;
+        border-right: 0px;
+        border-left: 0px;
+    }
+
   }
+
 }
 
 .page__hero {
diff --git a/docs/_sass/hudi_style/_tables.scss b/docs/_sass/hudi_style/_tables.scss
index c270a77..e40b16b 100644
--- a/docs/_sass/hudi_style/_tables.scss
+++ b/docs/_sass/hudi_style/_tables.scss
@@ -3,7 +3,6 @@
    ========================================================================== */
 
 table {
-  display: block;
   margin-bottom: 1em;
   width: 100%;
   font-family: $global-font-family;
@@ -18,7 +17,7 @@ table {
 
 thead {
   background-color: $border-color;
-  border-bottom: 2px solid mix(#000, $border-color, 25%);
+  border: 2px solid #ceeef7;
 }
 
 th {
@@ -29,7 +28,7 @@ th {
 
 td {
   padding: 0.5em;
-  border-bottom: 1px solid mix(#000, $border-color, 25%);
+  border: 1px solid #ceeef7;
 }
 
 tr,
diff --git a/docs/_sass/hudi_style/skins/_hudi.scss b/docs/_sass/hudi_style/skins/_hudi.scss
index 756fc03..96c8d5f 100644
--- a/docs/_sass/hudi_style/skins/_hudi.scss
+++ b/docs/_sass/hudi_style/skins/_hudi.scss
@@ -81,6 +81,14 @@ table {
     font-size: 18px;
     margin: 0.75em;
   }
+
+  // landing page feature table
+  table td {
+    border-top: 0px;
+    border-right: 0px;
+    border-left: 0px;
+    border-bottom: 1px solid #ceeef7;
+  }
 }
 
 .home-power-items {


Mime
View raw message