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/11 09:47:58 UTC

[camel-website] branch master updated: add uniform category sizing with inline-block 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


The following commit(s) were added to refs/heads/master by this push:
     new 22c5d4c  add uniform category sizing with inline-block styling
22c5d4c is described below

commit 22c5d4cea6a953e75545cb9e5cd7a2d251330e16
Author: Petra <pe...@gmail.com>
AuthorDate: Tue Mar 10 14:24:47 2020 -0700

    add uniform category sizing with inline-block styling
---
 antora-ui-camel/src/css/blog.css     | 1 +
 antora-ui-camel/src/css/category.css | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/antora-ui-camel/src/css/blog.css b/antora-ui-camel/src/css/blog.css
index 6b1a4b8..097a406 100644
--- a/antora-ui-camel/src/css/blog.css
+++ b/antora-ui-camel/src/css/blog.css
@@ -18,6 +18,7 @@
   list-style: none;
   padding: 0;
   margin-top: 1rem;
+  display: inline-block;
 }
 
 article.blog:first-child {
diff --git a/antora-ui-camel/src/css/category.css b/antora-ui-camel/src/css/category.css
index 8ae225e..231e435 100644
--- a/antora-ui-camel/src/css/category.css
+++ b/antora-ui-camel/src/css/category.css
@@ -18,6 +18,12 @@ a.category {
   text-decoration: none;
 }
 
+li > a.category {
+  display: block;
+  margin: 0.2rem;
+  line-height: 2;
+}
+
 a.category:hover {
   color: var(--color-white);
 }