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:
parent
d6474a2f97
commit
e2f189ecb0
5 changed files with 36 additions and 22 deletions
|
@ -353,23 +353,31 @@ input[type="text"], input[type="password"] {
|
||||||
|
|
||||||
.ow {
|
.ow {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
font-family: "Big Noodle Too", sans-serif;
|
font-family: "FuturaNo2D", sans-serif;
|
||||||
font-style: italic;
|
background-color: #371b00;
|
||||||
background-color: #ffffff;
|
|
||||||
border: 2px solid #ff9c00;
|
border: 2px solid #ff9c00;
|
||||||
grid-row-gap: 5px;
|
grid-row-gap: 5px;
|
||||||
grid-template-columns: 25% 75%;
|
grid-template-columns: 25% 75%;
|
||||||
color: #ff9c00;
|
color: #ffffff;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
.player {
|
.player {
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
grid-column-start: 1;
|
grid-column-start: 1;
|
||||||
grid-column-end: 3;
|
grid-column-end: 3;
|
||||||
|
|
||||||
.player-name {
|
.player-image {
|
||||||
font-size: x-large;
|
border-radius: 2px;
|
||||||
color: #ff9c00;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.player-name {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-title {
|
||||||
|
color: #ff9c00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-score.level {
|
.game-score.level {
|
||||||
|
@ -388,12 +396,18 @@ input[type="text"], input[type="password"] {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: 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;
|
vertical-align: middle;
|
||||||
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.icon {
|
.ranked.text {
|
||||||
height: 60px;
|
font-size: x-large;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Royal Games
|
Login
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Royal Games
|
Pagina principale
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: Big Noodle Too;
|
font-family: FuturaNo2D;
|
||||||
src: url("https://d3hmvhl7ru3t12.cloudfront.net/fonts/big-noodle-too-oblique-0762bcfb7ce452ecfa21830ab40ee34f9bf2e6fbcecb649c8995bd59fdf93a74a8345855c3890ec3901ac7ca442040112f37f387c98a57ced5af61d92ee8e06c.woff") format("woff");
|
src: url("https://d3hmvhl7ru3t12.cloudfront.net/fonts/FuturaNo2D-DemiBold-6bcaf79a95daaac7cb0a86449fa6c6f0d6dd222878eef52c61f7ed10037631c8b6ca8442408276e82b04d1a4bf6db3e18bca760ac182a81d08cbf7924e1dfb4b.woff") format("woff");
|
||||||
font-style: italic;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="game-panel">
|
<div class="game-panel">
|
||||||
|
@ -22,11 +22,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="rank">
|
<div class="rank">
|
||||||
{% if ow.rank is none %}
|
{% if ow.rank is none %}
|
||||||
<div class="icon"></div>
|
<div class="icon unranked"></div>
|
||||||
<span class="text">Non classificato</span>
|
<span class="text unranked">Non classificato</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img class="icon" src="{{ ow.rank_url() }}">
|
<img class="icon ranked" src="{{ ow.rank_url() }}">
|
||||||
<span class="text">{{ ow.rank }}</span>
|
<span class="text ranked">{{ ow.rank }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block pagetitle %}
|
{% block pagetitle %}
|
||||||
Royal Games
|
Crea una password
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1>
|
<h1>
|
||||||
Set a password
|
Crea una password
|
||||||
</h1>
|
</h1>
|
||||||
<form action="{{ url_for('page_password') }}" method="POST">
|
<form action="{{ url_for('page_password') }}" method="POST">
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in a new issue