1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Add overwatch mini

This commit is contained in:
Steffo 2018-06-07 15:31:32 +02:00
parent d6474a2f97
commit e2f189ecb0
5 changed files with 36 additions and 22 deletions

View file

@ -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;
}
}
}

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block pagetitle %}
Royal Games
Login
{% endblock %}
{% block body %}

View file

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block pagetitle %}
Royal Games
Pagina principale
{% endblock %}
{% block body %}

View file

@ -1,9 +1,9 @@
<style>
@font-face {
font-family: Big Noodle Too;
src: url("https://d3hmvhl7ru3t12.cloudfront.net/fonts/big-noodle-too-oblique-0762bcfb7ce452ecfa21830ab40ee34f9bf2e6fbcecb649c8995bd59fdf93a74a8345855c3890ec3901ac7ca442040112f37f387c98a57ced5af61d92ee8e06c.woff") format("woff");
font-style: italic;
font-weight: 400;
font-family: FuturaNo2D;
src: url("https://d3hmvhl7ru3t12.cloudfront.net/fonts/FuturaNo2D-DemiBold-6bcaf79a95daaac7cb0a86449fa6c6f0d6dd222878eef52c61f7ed10037631c8b6ca8442408276e82b04d1a4bf6db3e18bca760ac182a81d08cbf7924e1dfb4b.woff") format("woff");
font-style: normal;
font-weight: 600;
}
</style>
<div class="game-panel">
@ -22,11 +22,11 @@
</div>
<div class="rank">
{% if ow.rank is none %}
<div class="icon"></div>
<span class="text">Non classificato</span>
<div class="icon unranked"></div>
<span class="text unranked">Non classificato</span>
{% else %}
<img class="icon" src="{{ ow.rank_url() }}">
<span class="text">{{ ow.rank }}</span>
<img class="icon ranked" src="{{ ow.rank_url() }}">
<span class="text ranked">{{ ow.rank }}</span>
{% endif %}
</div>
</div>

View file

@ -1,12 +1,12 @@
{% extends 'base.html' %}
{% block pagetitle %}
Royal Games
Crea una password
{% endblock %}
{% block body %}
<h1>
Set a password
Crea una password
</h1>
<form action="{{ url_for('page_password') }}" method="POST">
<label>