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 d6ba8f3  improve projects section on frontpage
d6ba8f3 is described below

commit d6ba8f3e3afe27ed6e086ac493c39efd1089b1b3
Author: aashnajena <jenaaas...@gmail.com>
AuthorDate: Sun May 24 16:59:05 2020 +0530

    improve projects section on frontpage
---
 antora-ui-camel/src/css/frontpage.css | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/antora-ui-camel/src/css/frontpage.css 
b/antora-ui-camel/src/css/frontpage.css
index 9971da1..c3c2eb0 100644
--- a/antora-ui-camel/src/css/frontpage.css
+++ b/antora-ui-camel/src/css/frontpage.css
@@ -156,7 +156,7 @@ section.frontpage.projects {
 
 section.frontpage.projects .project {
   display: flex;
-  flex: 1 0 33%;
+  flex: 1 0 30%;
   flex-direction: column;
   align-items: center;
   padding: 1rem;
@@ -292,4 +292,10 @@ section.frontpage h2 {
   .box {
     min-width: 51vw;
   }
+
+  @media screen and (min-width: 627px) {
+    section.frontpage.projects .project {
+      flex: 46%;
+    }
+  }
 }

Reply via email to