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

Display minis in inline-block

This commit is contained in:
Steffo 2018-06-04 17:09:56 +02:00
parent 413b14cf54
commit 0dadd714e6
3 changed files with 73 additions and 68 deletions

View file

@ -38,12 +38,16 @@ input[type="text"], input[type="password"] {
}
.game-panel {
display: inline-block;
}
.game-grid {
display: grid;
max-width: 400px;
position: relative;
border-radius: 10px;
width: 400px;
height: 100px;
border-radius: 10px;
margin: 4px;
position: relative;
}
.osu {

View file

@ -1,7 +1,8 @@
<style>
@import url('https://fonts.googleapis.com/css?family=Exo+2');
</style>
<div class="game-panel osu">
<div class="game-panel">
<div class="game-grid osu">
<div class="background-image"></div>
<div class="background-color"></div>
<div class="player">
@ -34,4 +35,5 @@
<div class="game-score mania">
<span class="number">{{ osu.mania_pp | int }}</span><span class="pp">pp</span>
</div>
</div>
</div>

View file

@ -1,7 +1,5 @@
<style>
@import url('https://fonts.googleapis.com/css?family=Exo+2');
</style>
<div class="game-panel rl">
<div class="game-panel">
<div class="game-grid rl">
<div class="player">
<a href="http://steamcommunity.com/profiles/{{ rl.steam.steam_id }}">
<img src="{{ rl.steam.avatar_url() }}" class="player-image">
@ -12,24 +10,25 @@
DUELLO
</div>
<div class="game-score duel">
<img src="{{ rl.solo_rank_image() }}">
<img src="{{ rl.solo_rank_image() }}" title="{{ rl.single_mmr }} MMR">
</div>
<div class="game-title doubles">
DOPPIO
</div>
<div class="game-score doubles">
<img src="{{ rl.doubles_rank_image() }}">
<img src="{{ rl.doubles_rank_image() }}" title="{{ rl.doubles_mmr }} MMR">
</div>
<div class="game-title standard">
STANDARD
</div>
<div class="game-score standard">
<img src="{{ rl.standard_rank_image() }}">
<img src="{{ rl.standard_rank_image() }}" title="{{ rl.standard_mmr }} MMR">
</div>
<div class="game-title solostd">
SOLO STD
</div>
<div class="game-score solostd">
<img src="{{ rl.solo_std_rank_image() }}">
<img src="{{ rl.solo_std_rank_image() }}" title="{{ rl.solo_std_mmr }} MMR">
</div>
</div>
</div>