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/04/01 12:55:42 UTC

[camel-website] branch master updated: changed alignment of headings under project section (#296)

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 78a0e03  changed alignment of headings under project section (#296)
78a0e03 is described below

commit 78a0e0353cbf95a79cef57539e43a74b45786bd4
Author: Shreya Agarwal <43...@users.noreply.github.com>
AuthorDate: Wed Apr 1 18:25:35 2020 +0530

    changed alignment of headings under project section (#296)
---
 antora-ui-camel/src/css/frontpage.css | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/antora-ui-camel/src/css/frontpage.css b/antora-ui-camel/src/css/frontpage.css
index 5e6587d..00e4906 100644
--- a/antora-ui-camel/src/css/frontpage.css
+++ b/antora-ui-camel/src/css/frontpage.css
@@ -160,8 +160,11 @@ section.frontpage.projects .project {
 }
 
 section.frontpage.projects .project h1 {
-  padding: 1rem 0;
-  flex: 1;
+  white-space: nowrap;
+  padding: 1rem;
+  flex: 1.2;
+  text-align: right;
+  line-height: 0;
 }
 
 section.frontpage.projects .project p {
@@ -264,6 +267,10 @@ section.frontpage h2 {
     min-width: 51vw;
   }
 
+  section.frontpage.projects .project h1 {
+    text-align: center;
+  }
+
   section.frontpage.projects .project {
     flex-direction: column;
   }