From 716087c4c5cc9928842615ed72c3d09817390dbe Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Tue, 4 Jun 2019 15:06:20 +0200 Subject: [PATCH] Improve styling of landing page --- themes/Loopp/static/css/style.css | 21 ++++++++++++------ themes/Loopp/templates/landing_page.html | 27 +++++++++++++----------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/themes/Loopp/static/css/style.css b/themes/Loopp/static/css/style.css index 324c19a..22f12f1 100644 --- a/themes/Loopp/static/css/style.css +++ b/themes/Loopp/static/css/style.css @@ -39,27 +39,34 @@ a.pure-button-primary { font-size: 120%; } -.splash { +.lp-box { background: #000000; border: 2px solid #ff9900; + text-align: center; + padding: 50px; } -.splash-head { +.lp-box-head { border: 0; letter-spacing: 1em; margin-left: 1em; + color: #fff; } -.splash-head { - border-radius: 0px; -} - -.splash-container { +.lp-box-wrapper { background-color: black; background-image: url("../images/header.png"); background-repeat: repeat-x; background-position-y: 100px; background-position-x: 0px; + padding-top: 17vh; + z-index: 1; + overflow: hidden; + width: 100%; + height: 88%; + top: 0; + left: 0; + position: fixed !important; } .ribbon, .home-menu { diff --git a/themes/Loopp/templates/landing_page.html b/themes/Loopp/templates/landing_page.html index d517dc5..fe1f435 100644 --- a/themes/Loopp/templates/landing_page.html +++ b/themes/Loopp/templates/landing_page.html @@ -1,18 +1,21 @@ {% extends "base.html" %} {% block content %} -
-
-

{{ SPLASH_HEADING }}

-

- {{ SPLASH_SUBHEADING }} -

-

- - - {{ SPLASH_BUTTON_TEXT }} - -

+
+
+
+
+

{{ SPLASH_HEADING }}

+

+ {{ SPLASH_SUBHEADING }} +

+

+ + + {{ SPLASH_BUTTON_TEXT }} + +

+