From 2ac17aca3b582bac9b0cf579292b19bf1c0071ff Mon Sep 17 00:00:00 2001 From: robertoccu Date: Mon, 14 Jan 2019 20:01:34 +0100 Subject: [PATCH 1/5] Mock webpage for stats --- .../resources/static/css/landing-page.css | 32 ++++++- demo/src/main/resources/static/index.html | 4 +- demo/src/main/resources/static/stats.html | 94 +++++++++++++++++++ 3 files changed, 125 insertions(+), 5 deletions(-) create mode 100644 demo/src/main/resources/static/stats.html diff --git a/demo/src/main/resources/static/css/landing-page.css b/demo/src/main/resources/static/css/landing-page.css index 0e9ab57e..5ad2e003 100644 --- a/demo/src/main/resources/static/css/landing-page.css +++ b/demo/src/main/resources/static/css/landing-page.css @@ -4,8 +4,14 @@ * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE) */ -body { +html,body +{ font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; + width: 100%; + height: 100%; + margin: 0px; + padding: 0px; + overflow-x: hidden; } h1, @@ -18,6 +24,8 @@ h6 { font-weight: 700; } + + header.masthead { position: relative; background-color: #294028; @@ -178,6 +186,24 @@ header.masthead h1 { footer.footer { - padding-top: 4rem; - padding-bottom: 4rem; + padding-top: 1rem; + padding-bottom: 1rem; +} + +.stats { + position: relative; + background-color: #366344; + background-size: cover; + padding-top: 7rem; + padding-bottom: 0rem; +} + +.stats .overlay { + position: absolute; + background-color: #212529; + height: 100%; + width: 100%; + top: 0; + left: 0; + opacity: 0.3; } diff --git a/demo/src/main/resources/static/index.html b/demo/src/main/resources/static/index.html index 6ba5147b..c83ceaeb 100755 --- a/demo/src/main/resources/static/index.html +++ b/demo/src/main/resources/static/index.html @@ -28,10 +28,10 @@ - + -