From 79b0c9fcfd585aa855a3eed42a1560120226b309 Mon Sep 17 00:00:00 2001
From: Julien Schmidt <js@stusta.net>
Date: Sun, 22 Apr 2018 19:18:16 +0200
Subject: [PATCH] hero header style fixes

---
 static/css/main.css | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css
index 6bcd7c3..b8b6906 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -355,20 +355,35 @@ header {
     background-blend-mode: soft-light;
 }
 
+header h1,
+header .subtitle,
+#stats {
+    color: #FFF;
+    text-shadow: 0px 0px 1px rgba(0,0,0,0.8);
+}
+
 header h1 {
     margin: 0 auto 15px auto;
     padding: 50px 0;
-    text-shadow: 0px 0px 1px rgba(0,0,0,0.8);
 }
 
 .big-hero header {
     background-position-y: 54px;
     background-size: auto 350px;
     background-attachment: fixed;
+    height: 300px;
 }
 
 .big-hero header h1 {
-    padding: 125px 0;
+    padding: 100px 0 0;
+    font-size: 2.8em;
+}
+
+header .subtitle {
+    display: inline-block;
+    width: 350px;
+    font-size: 1.1em;
+    line-height: 1.4em;
 }
 
 
@@ -403,11 +418,9 @@ header h1 {
 .blue header h1 { color: white; }
 
 #stats {
-    color: #FFF;
     position: absolute;
-    top: 50px;
+    top: 35px;
     right: 20px;
-    text-shadow: 0px 0px 1px rgba(0,0,0,0.8);
 }
 
 #stats div {
-- 
GitLab