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 2019/08/15 09:46:06 UTC

[camel-website] branch master updated: CAMEL-13868: remove inline styles from SVG swoosh

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 9b6d1dd  CAMEL-13868: remove inline styles from SVG swoosh
9b6d1dd is described below

commit 9b6d1ddcaeded964ae727df80ab05ff0727c9d12
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Thu Aug 15 11:46:02 2019 +0200

    CAMEL-13868: remove inline styles from SVG swoosh
---
 antora-ui-camel/src/css/frontpage.css | 34 ++++++++++++++++++++++++++++++++++
 layouts/index.html                    | 10 +++++-----
 2 files changed, 39 insertions(+), 5 deletions(-)

diff --git a/antora-ui-camel/src/css/frontpage.css b/antora-ui-camel/src/css/frontpage.css
index eb40ea0..b993941 100644
--- a/antora-ui-camel/src/css/frontpage.css
+++ b/antora-ui-camel/src/css/frontpage.css
@@ -65,6 +65,40 @@ header.frontpage svg {
   z-index: -1;
 }
 
+header.frontpage svg path {
+  fill: none;
+}
+
+header.frontpage svg path:nth-child(1) {
+  stroke: #ffddab;
+  stroke-width: 10;
+  stroke-opacity: 0.6;
+}
+
+header.frontpage svg path:nth-child(2) {
+  stroke: #9d1609;
+  stroke-width: 10;
+  stroke-opacity: 0.3;
+}
+
+header.frontpage svg path:nth-child(3) {
+  stroke: #f1b35b;
+  stroke-width: 15;
+  stroke-opacity: 0.6;
+}
+
+header.frontpage svg path:nth-child(4) {
+  stroke: #641a00;
+  stroke-width: 5;
+  stroke-opacity: 0.3;
+}
+
+header.frontpage svg path:nth-child(5) {
+  stroke: #e26810;
+  stroke-width: 5;
+  stroke-opacity: 0.6;
+}
+
 section.frontpage {
   color: var(--doc-font-color);
   font-size: var(--doc-font-size);
diff --git a/layouts/index.html b/layouts/index.html
index abc65f8..695b831 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,11 +3,11 @@
 <header class="frontpage">
   <h1>Integration you want</h1>
   <svg viewBox="0 0 500 70" preserveAspectRatio="none">
-    <path d="M -10,25 C 130,125 330,0 510,5" style="stroke: #ffddab; stroke-width: 10; stroke-opacity: .6; fill: none;" />
-    <path d="M -10,20 C 130,125 330,0 510,2" style="stroke: #9d1609; stroke-width: 10; stroke-opacity: .3; fill: none;" />
-    <path d="M -10,15 C 150,115 350,0 510,15" style="stroke: #f1b35b; stroke-width: 15; stroke-opacity: .6; fill: none;" />
-    <path d="M -10,11 C 130,125 330,0 510,20" style="stroke: #641a00; stroke-width: 5; stroke-opacity: .3; fill: none;" />
-    <path d="M -10,5 C 130,125 330,0 510,25" style="stroke: #e26810; stroke-width: 5; stroke-opacity: .6; fill: none;" />
+    <path d="M -10,25 C 130,125 330,0 510,5" />
+    <path d="M -10,20 C 130,125 330,0 510,2" />
+    <path d="M -10,15 C 150,115 350,0 510,15" />
+    <path d="M -10,11 C 130,125 330,0 510,20" />
+    <path d="M -10,5 C 130,125 330,0 510,25" />
   </svg>
   <p>Camel is an <mark>open source integration framework</mark> that empowers you to quickly and easily integrate various systems consuming or producing data.
   </p>