From 1f01938a8c7da558473bace79eae975908229897 Mon Sep 17 00:00:00 2001 From: b3yond Date: Sat, 17 Feb 2018 12:30:06 +0100 Subject: [PATCH] This time I really fixed the css. almost. --- static/bot.html | 2 +- static/css/style.css | 14 +++++++++++--- static/index.html | 2 +- static/register.html | 6 ++++-- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/static/bot.html b/static/bot.html index e8c363d..6de2ce1 100644 --- a/static/bot.html +++ b/static/bot.html @@ -2,7 +2,7 @@ Ticketfrei - +

Ticketfrei

diff --git a/static/css/style.css b/static/css/style.css index f3ea143..d448559 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,9 +1,12 @@ body { + background-image: url(../img/wallpaper.png); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5em; background-position: center top; margin: 0; + display: flex; + flex-direction: column; } .area { @@ -11,9 +14,13 @@ body { max-width: 600px; margin-left: auto; margin-right: auto; - text-align: center; + flex: 1 0 auto; +/* min-height: 100%; - position: relative; + height: auto !important; + height: 600px; + text-align: center; +*/ } .text { @@ -63,8 +70,9 @@ input[type=text], input[type=password] { .footer { padding: 2em; - position: absolute; bottom: 0; text-align: center; width: 540px; + height: 30px; + flex-shrink: 0; } \ No newline at end of file diff --git a/static/index.html b/static/index.html index 9c9a15d..86aceaa 100644 --- a/static/index.html +++ b/static/index.html @@ -2,7 +2,7 @@ Ticketfrei - +

Ticketfrei

diff --git a/static/register.html b/static/register.html index efa9142..932b544 100644 --- a/static/register.html +++ b/static/register.html @@ -2,7 +2,7 @@ Ticketfrei - +

Ticketfrei

@@ -23,9 +23,11 @@
- +
+ + \ No newline at end of file