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/08/18 20:39:11 UTC

[camel-website] branch pr/fix-underline created (now 2cbd5d8)

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

zregvart pushed a change to branch pr/fix-underline
in repository https://gitbox.apache.org/repos/asf/camel-website.git.


      at 2cbd5d8  fix: remove underline for logos

This branch includes the following new commits:

     new 2cbd5d8  fix: remove underline for logos

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-website] 01/01: fix: remove underline for logos

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2cbd5d85bea3279e9b9f8a91f8d786d414bb01be
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Tue Aug 18 22:38:50 2020 +0200

    fix: remove underline for logos
    
    Rebased from #461 by @AemieJ
---
 antora-ui-camel/src/css/blog.css      |  2 ++
 antora-ui-camel/src/css/category.css  | 10 +++++++++-
 antora-ui-camel/src/css/docs.css      |  5 +++++
 antora-ui-camel/src/css/frontpage.css |  1 +
 4 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/antora-ui-camel/src/css/blog.css b/antora-ui-camel/src/css/blog.css
index 460cec2..e9e0930 100644
--- a/antora-ui-camel/src/css/blog.css
+++ b/antora-ui-camel/src/css/blog.css
@@ -42,6 +42,7 @@ article.blog p {
 .blog a.continue {
   font-weight: bold;
   text-decoration: none;
+  background: none;
 }
 
 .blog header h1 {
@@ -81,6 +82,7 @@ article.blog p {
 .blog a.arrow {
   font-size: 1rem;
   text-decoration: none;
+  background: none;
 }
 
 .blog a.arrow.prev::after {
diff --git a/antora-ui-camel/src/css/category.css b/antora-ui-camel/src/css/category.css
index dadcbc0..e421eee 100644
--- a/antora-ui-camel/src/css/category.css
+++ b/antora-ui-camel/src/css/category.css
@@ -8,7 +8,6 @@ a.category:first-child {
 }
 
 a.category {
-  background-color: var(--color-camel-orange);
   border-radius: 0.2rem;
   margin-left: 1px;
   color: var(--color-white);
@@ -24,6 +23,15 @@ li > a.category {
   line-height: 2;
 }
 
+a.category,
+li > a.category {
+  background-color: var(--color-camel-orange);
+  background-image: none;
+  background-position: 0;
+  background-repeat: no-repeat;
+  background-size: 0;
+}
+
 a.category:hover {
   color: var(--color-white);
 }
diff --git a/antora-ui-camel/src/css/docs.css b/antora-ui-camel/src/css/docs.css
index c91fb2a..ea9f1e4 100644
--- a/antora-ui-camel/src/css/docs.css
+++ b/antora-ui-camel/src/css/docs.css
@@ -56,6 +56,11 @@
   border-radius: 10px;
 }
 
+.section > a,
+.camel-project > a {
+  background: none;
+}
+
 .section a > img,
 .camel-project a > img {
   display: inline-block;
diff --git a/antora-ui-camel/src/css/frontpage.css b/antora-ui-camel/src/css/frontpage.css
index 3fd7a1a..4def659 100644
--- a/antora-ui-camel/src/css/frontpage.css
+++ b/antora-ui-camel/src/css/frontpage.css
@@ -149,6 +149,7 @@ li.blog-post .content p {
 li.blog-post .content a {
   font-weight: bold;
   white-space: nowrap;
+  background: none;
 }
 
 li.blog-post {