From e2f189ecb0101159c52f34f065f26f8700bd344a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 7 Jun 2018 15:31:32 +0200 Subject: [PATCH] Add overwatch mini --- static/nryg.less | 34 ++++++++++++++++++++++++---------- templates/login.html | 2 +- templates/main.html | 2 +- templates/minis/ow.html | 16 ++++++++-------- templates/password.html | 4 ++-- 5 files changed, 36 insertions(+), 22 deletions(-) diff --git a/static/nryg.less b/static/nryg.less index 9dbad4e1..aa769f86 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -353,23 +353,31 @@ input[type="text"], input[type="password"] { .ow { padding: 15px; - font-family: "Big Noodle Too", sans-serif; - font-style: italic; - background-color: #ffffff; + font-family: "FuturaNo2D", sans-serif; + background-color: #371b00; border: 2px solid #ff9c00; grid-row-gap: 5px; grid-template-columns: 25% 75%; - color: #ff9c00; + color: #ffffff; + text-transform: uppercase; .player { grid-row: 1; grid-column-start: 1; grid-column-end: 3; - .player-name { - font-size: x-large; - color: #ff9c00; + .player-image { + border-radius: 2px; + vertical-align: middle; } + + .player-name { + color: #ffffff; + } + } + + .game-title { + color: #ff9c00; } .game-score.level { @@ -388,12 +396,18 @@ input[type="text"], input[type="password"] { margin-top: auto; margin-bottom: auto; - img { + .icon { + background-color: rgba(0, 0, 0, 0.1); + border-radius: 8px; + height: 60px; + width: 60px; + display: inline-block; vertical-align: middle; + margin-right: 8px; } - img.icon { - height: 60px; + .ranked.text { + font-size: x-large; } } } diff --git a/templates/login.html b/templates/login.html index 4e424b6c..582e9f2d 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% block pagetitle %} - Royal Games + Login {% endblock %} {% block body %} diff --git a/templates/main.html b/templates/main.html index f8530a83..65a1ca01 100644 --- a/templates/main.html +++ b/templates/main.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% block pagetitle %} - Royal Games + Pagina principale {% endblock %} {% block body %} diff --git a/templates/minis/ow.html b/templates/minis/ow.html index 6e9da9ee..6a9eb96e 100644 --- a/templates/minis/ow.html +++ b/templates/minis/ow.html @@ -1,9 +1,9 @@
@@ -22,11 +22,11 @@
{% if ow.rank is none %} -
- Non classificato +
+ Non classificato {% else %} - - {{ ow.rank }} + + {{ ow.rank }} {% endif %}
diff --git a/templates/password.html b/templates/password.html index 9e5a9a4e..73a6092b 100644 --- a/templates/password.html +++ b/templates/password.html @@ -1,12 +1,12 @@ {% extends 'base.html' %} {% block pagetitle %} - Royal Games + Crea una password {% endblock %} {% block body %}

- Set a password + Crea una password