mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added style for main card, gamemode section
This commit is contained in:
BIN
luckydiamond/src/assets/icons-gamemode/players-icon.png
Normal file
BIN
luckydiamond/src/assets/icons-gamemode/players-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -35,6 +35,12 @@
|
|||||||
<div class="line__content" style="margin: 16px 38px 0px 0px" :id="'maincard-' + mode.id">
|
<div class="line__content" style="margin: 16px 38px 0px 0px" :id="'maincard-' + mode.id">
|
||||||
<h1>{{ mode.title }}</h1>
|
<h1>{{ mode.title }}</h1>
|
||||||
<img src="../assets/icons-gamemode/diamond-icon-main.png">
|
<img src="../assets/icons-gamemode/diamond-icon-main.png">
|
||||||
|
<div class="line__players--main">
|
||||||
|
<h4><span><img src="../assets/icons-gamemode/players-icon.png"></span>{{ mode.players }} player</h4>
|
||||||
|
</div>
|
||||||
|
<div class="line__btn--main">
|
||||||
|
<a href="#">play ></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -226,6 +232,9 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
|
.gamemode__main .line__content img {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
.gamemode__main .line__content h1 {
|
.gamemode__main .line__content h1 {
|
||||||
text-shadow: 6px 12px 9px rgba(0, 0, 0, 0.25);
|
text-shadow: 6px 12px 9px rgba(0, 0, 0, 0.25);
|
||||||
font-family: 'Press Start 2P';
|
font-family: 'Press Start 2P';
|
||||||
@@ -233,4 +242,35 @@ export default {
|
|||||||
color: #FFB400;
|
color: #FFB400;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
.gamemode__main .line__players--main {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.gamemode__main .line__players--main h4 {
|
||||||
|
margin-top: -50px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
font-family: Montserrat;
|
||||||
|
color: #FFB400;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 20px;
|
||||||
|
text-shadow: 1px 5px 6px rgba(0, 0, 0, 0.25);
|
||||||
|
}
|
||||||
|
.gamemode__main .line__btn--main {
|
||||||
|
padding: 20px 0px 20px 0px;
|
||||||
|
}
|
||||||
|
.gamemode__main .line__btn--main a {
|
||||||
|
font-size: 36px;
|
||||||
|
color: #000;
|
||||||
|
font-family: Montserrat;
|
||||||
|
font-weight: 700;
|
||||||
|
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||||
|
padding: 21px 21px;
|
||||||
|
border-radius: 21px;
|
||||||
|
background: #FFB400;
|
||||||
|
box-shadow: 0px 4px 40px 1px #FFB400;
|
||||||
|
text-transform: uppercase;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user