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:
parent
413b14cf54
commit
0dadd714e6
3 changed files with 73 additions and 68 deletions
|
@ -38,12 +38,16 @@ input[type="text"], input[type="password"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-panel {
|
.game-panel {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
max-width: 400px;
|
width: 400px;
|
||||||
position: relative;
|
|
||||||
border-radius: 10px;
|
|
||||||
height: 100px;
|
height: 100px;
|
||||||
|
border-radius: 10px;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.osu {
|
.osu {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.googleapis.com/css?family=Exo+2');
|
@import url('https://fonts.googleapis.com/css?family=Exo+2');
|
||||||
</style>
|
</style>
|
||||||
<div class="game-panel osu">
|
<div class="game-panel">
|
||||||
|
<div class="game-grid osu">
|
||||||
<div class="background-image"></div>
|
<div class="background-image"></div>
|
||||||
<div class="background-color"></div>
|
<div class="background-color"></div>
|
||||||
<div class="player">
|
<div class="player">
|
||||||
|
@ -35,3 +36,4 @@
|
||||||
<span class="number">{{ osu.mania_pp | int }}</span><span class="pp">pp</span>
|
<span class="number">{{ osu.mania_pp | int }}</span><span class="pp">pp</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
|
@ -1,7 +1,5 @@
|
||||||
<style>
|
<div class="game-panel">
|
||||||
@import url('https://fonts.googleapis.com/css?family=Exo+2');
|
<div class="game-grid rl">
|
||||||
</style>
|
|
||||||
<div class="game-panel rl">
|
|
||||||
<div class="player">
|
<div class="player">
|
||||||
<a href="http://steamcommunity.com/profiles/{{ rl.steam.steam_id }}">
|
<a href="http://steamcommunity.com/profiles/{{ rl.steam.steam_id }}">
|
||||||
<img src="{{ rl.steam.avatar_url() }}" class="player-image">
|
<img src="{{ rl.steam.avatar_url() }}" class="player-image">
|
||||||
|
@ -12,24 +10,25 @@
|
||||||
DUELLO
|
DUELLO
|
||||||
</div>
|
</div>
|
||||||
<div class="game-score duel">
|
<div class="game-score duel">
|
||||||
<img src="{{ rl.solo_rank_image() }}">
|
<img src="{{ rl.solo_rank_image() }}" title="{{ rl.single_mmr }} MMR">
|
||||||
</div>
|
</div>
|
||||||
<div class="game-title doubles">
|
<div class="game-title doubles">
|
||||||
DOPPIO
|
DOPPIO
|
||||||
</div>
|
</div>
|
||||||
<div class="game-score doubles">
|
<div class="game-score doubles">
|
||||||
<img src="{{ rl.doubles_rank_image() }}">
|
<img src="{{ rl.doubles_rank_image() }}" title="{{ rl.doubles_mmr }} MMR">
|
||||||
</div>
|
</div>
|
||||||
<div class="game-title standard">
|
<div class="game-title standard">
|
||||||
STANDARD
|
STANDARD
|
||||||
</div>
|
</div>
|
||||||
<div class="game-score standard">
|
<div class="game-score standard">
|
||||||
<img src="{{ rl.standard_rank_image() }}">
|
<img src="{{ rl.standard_rank_image() }}" title="{{ rl.standard_mmr }} MMR">
|
||||||
</div>
|
</div>
|
||||||
<div class="game-title solostd">
|
<div class="game-title solostd">
|
||||||
SOLO STD
|
SOLO STD
|
||||||
</div>
|
</div>
|
||||||
<div class="game-score solostd">
|
<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>
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue