From 4abe9bd675dd7347842f14ad88c717281cce594d Mon Sep 17 00:00:00 2001 From: root Date: Sun, 28 Jan 2018 23:29:05 +0100 Subject: [PATCH] Reskin page tranchage --- static/style.css | 69 ++++++++++++--------------- templates/banned.html | 3 +- templates/home.html | 2 +- templates/play.html | 107 ++++++++++++++---------------------------- 4 files changed, 66 insertions(+), 115 deletions(-) diff --git a/static/style.css b/static/style.css index 8605183..5cc01c3 100755 --- a/static/style.css +++ b/static/style.css @@ -22,8 +22,8 @@ a { #banner { width: 75%; - max-width: 1000px; - margin: 32px; + max-width: 550px; + margin-top: 32px; } #card { @@ -63,23 +63,37 @@ a { padding: 0 16px; } -#play { +.button { width: 132px; height: 54px; font-size: 20px; margin: 16px auto; border-radius: 3px; - background-color: #9ce898; font-weight: bold; transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.2s; } -#play:hover { - background-color: #7fd87b; +.button:hover { box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); } +#play { + background-color: #9ce898; +} + +#play:hover { + background-color: #7fd87b; +} + +#tchak { + background-color: #e89898; +} + +#tchak:hover { + background-color: #d87b7b; +} + .title { font-size: 24px; } @@ -112,41 +126,16 @@ li.ok { color: #1D1; } -p#play { - text-align: center; - font-size: 1.5em; - font-weight: bold; - margin-top: 1.6em; - margin-bottom: 2em; -} - -p#play a { - font-weight: bold; - color: white; - background: #2E2; - padding: .5em 2em; - border: 1px solid #191; - border-radius: 10px; -} - -p#play a:hover { - background: #191; -} - -form#select { - width: 100%; - margin: 1em auto; - background: #FFCC00; - border-radius: 1em; - border: 1px solid #C70; - padding: 1em 0em; - text-align: center; +ul.flashes { + margin: -16px 16px 16px 16px; + list-style-type: none; + background-color: #1A2A3A; + padding: 8px; + border-radius: 3px; + color: #FAFAFA; + font-size: 18px; } ul.flashes li { - background: #2E2; - border: 1px solid #191; - border-radius: .6em; - margin-bottom: 1em; - padding: .4em .7em; + text-align: center; } \ No newline at end of file diff --git a/templates/banned.html b/templates/banned.html index b025075..7494b15 100755 --- a/templates/banned.html +++ b/templates/banned.html @@ -1,4 +1,5 @@ -{% extends "layout_banned.html" %} +{% extends "layout.html" %} {% block content %} + {% block content %}

Tu es tranché

diff --git a/templates/home.html b/templates/home.html index 1bc024d..89f3a36 100755 --- a/templates/home.html +++ b/templates/home.html @@ -6,7 +6,7 @@

Toi aussi abuse des pouvoirs du Rézo avec les Metzthernets !
-
+
JOUER
diff --git a/templates/play.html b/templates/play.html index 2c83e06..edcab72 100755 --- a/templates/play.html +++ b/templates/play.html @@ -1,5 +1,39 @@ {% extends "layout.html" %} {% block content %} + +
Trancher un joueur
+
+ Ta cible sera notifiée quelle que soit l'issue de ta tentative. Question + chance, c'est 50-50. +
+ +
+ +
+ +
Écris le nom de ta victime :
+ +
+
Choisis-la :
+ +
+ + +
+ +
+ + + +
+ -

Trancher un joueur

-

- Ta cible sera notifiée quelle que soit l'issue de ta tentative. Question - chance, c'est 50-50. -

-
- - - - - -
-

-« retour à l'accueil -

- -
- {% endblock %}