You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/03/09 17:48:24 UTC

[camel-website] 01/05: blog table styling

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

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

commit 41ddc8ed57c3c863c4d4c792e77be53b6f53e75c
Author: aashnajena <je...@gmail.com>
AuthorDate: Mon Mar 9 17:04:42 2020 +0530

    blog table styling
---
 antora-ui-camel/src/css/blog.css | 19 +++++++++++++++++++
 config.toml                      | 12 ++++++------
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/antora-ui-camel/src/css/blog.css b/antora-ui-camel/src/css/blog.css
index 2252d57..14d523e 100644
--- a/antora-ui-camel/src/css/blog.css
+++ b/antora-ui-camel/src/css/blog.css
@@ -99,6 +99,25 @@ article.blog p {
   white-space: pre-wrap;
 }
 
+.blog .post .post-content table {
+  width: 100%;
+  text-align: center;
+  margin-bottom: 1rem;
+}
+
+.blog .post .post-content tr:nth-child(even) {
+  background: #f4f5f7;
+}
+
+.blog .post .post-content td {
+  padding: 0.5rem;
+}
+
+.blog .post .post-content th {
+  padding: 0.7rem;
+  background: #e1e4e9;
+}
+
 @media screen and (min-width: 1024px) {
   .blog {
     max-width: var(--static-max-width--desktop);
diff --git a/config.toml b/config.toml
index d35c294..210086b 100644
--- a/config.toml
+++ b/config.toml
@@ -88,42 +88,42 @@ timeout = 300000
 [[menu.main]]
     name = "Camel K"
     parent = "docs"
-    weight = 5
+    weight = 4
     identifier = "camel-k"
     url = "/camel-k/latest/"
 
 [[menu.main]]
     name = "Camel Quarkus"
     parent = "docs"
-    weight = 6
+    weight = 5
     identifier = "camel-quarkus"
     url = "/camel-quarkus/latest/"
 
 [[menu.main]]
     name = "Camel Kafka Connector"
     parent = "docs"
-    weight = 7
+    weight = 6
     identifier = "camel-kafka-connector"
     url = "/camel-kafka-connector/latest/"
 
 [[menu.main]]
     name = "Enterprise Integration Patterns"
     parent = "docs"
-    weight = 8
+    weight = 7
     identifier = "eip"
     url = "/manual/latest/enterprise-integration-patterns.html"
 
 [[menu.main]]
     name = "Camel 2.x to 3.0 Migration Guide"
     parent = "docs"
-    weight = 9
+    weight = 8
     identifier = "camel-3-migration-guide"
     url = "/manual/latest/camel-3-migration-guide.html"
 
 [[menu.main]]
     name = "Camel 3.x Upgrade Guide"
     parent = "docs"
-    weight = 10
+    weight = 9
     identifier = "camel-3x-upgrade-guide"
     url = "/manual/latest/camel-3x-upgrade-guide.html"