From 264713b3003cc8f08b498c2933bab20ab8f656a4 Mon Sep 17 00:00:00 2001
From: Christophe Chaudier <christophe@lydra.fr>
Date: Fri, 12 Nov 2021 12:24:46 +0100
Subject: [PATCH] refactor: move index custom CSS on a better place

---
 src/css/custom.css         | 16 ----------------
 src/pages/index.module.css | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/src/css/custom.css b/src/css/custom.css
index 280b22a..b9e2e5c 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -82,22 +82,6 @@ p {
   z-index: 1; 
  } 
 
-/************ Header style ***********/
-header {
-  height: 500px;
-  clip-path: polygon(
-    0 0,
-    100% 0,
-    100% calc(100% - 6vw),0 100%)
-}
-
-.hero__subtitle {
-  width: 90%;
-  text-align: center;
-  margin: auto;
-  padding-bottom: 20px;
-}
-
 /************ main elements style***********/
 .section-promises {
   padding: 4rem 0;
diff --git a/src/pages/index.module.css b/src/pages/index.module.css
index 81802d3..156031a 100644
--- a/src/pages/index.module.css
+++ b/src/pages/index.module.css
@@ -5,6 +5,15 @@
  * and scoped locally.
  */
 
+/************ Header style ***********/
+
+.hero__subtitle {
+  width: 90%;
+  text-align: center;
+  margin: auto;
+  padding-bottom: 20px;
+}
+
 .heroBanner {
   padding: 4rem 0; 
   text-align: center;
@@ -14,6 +23,11 @@
   align-items: center;
   justify-content: center; 
   background-color: var(--ifm-color-light-green);
+  height: 500px;
+  clip-path: polygon(
+    0 0,
+    100% 0,
+    100% calc(100% - 6vw),0 100%)
 }
 
 .container {
-- 
GitLab