mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added template for first line in gamemode section
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
.line__footer {
|
.line__footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: end;
|
align-items: center;
|
||||||
padding-top: 12%;
|
padding-top: 12%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,22 +145,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.line__btn--main a span {
|
.line__btn--main a span {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.gamemode__firstline {
|
.gamemode__firstline {
|
||||||
background: #EF4444;
|
background: #EF4444;
|
||||||
filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
|
filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
margin: 0 0 18px 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.line__img {
|
||||||
|
float: right;
|
||||||
|
margin: 10px 66px 10px 47px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.
|
|
||||||
|
|
||||||
.line__btn {
|
.line__btn {
|
||||||
border-radius: 21px;
|
border-radius: 21px;
|
||||||
@@ -176,4 +181,25 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.line__btn--elm {
|
||||||
|
color: #000;
|
||||||
|
font-size: 38px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.linecontent-2 {
|
||||||
|
display: flex;
|
||||||
|
padding: 6px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.linecontent-2 h1 {
|
||||||
|
font-size: 91px;
|
||||||
|
color: #FFF;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
||||||
|
font-family: Montserrat Alternates;
|
||||||
|
font-weight: 700;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
/* /GameMode */
|
/* /GameMode */
|
||||||
BIN
luckydiamond/src/assets/icons-gamemodes/case-icon.png
Normal file
BIN
luckydiamond/src/assets/icons-gamemodes/case-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.6 KiB |
@@ -27,7 +27,7 @@
|
|||||||
v-for="mode in mainGameMode"
|
v-for="mode in mainGameMode"
|
||||||
:key="mode.id"
|
:key="mode.id"
|
||||||
>
|
>
|
||||||
<div class="line__content" style="margin: 16px 38px 0px 0px" :id="'maincard-' + mode.id">
|
<div class="line__content">
|
||||||
<h3>{{ mode.title }}</h3>
|
<h3>{{ mode.title }}</h3>
|
||||||
<div class="line__footer">
|
<div class="line__footer">
|
||||||
<img src="../assets/icons-gamemodes/bomb-icon.svg">
|
<img src="../assets/icons-gamemodes/bomb-icon.svg">
|
||||||
@@ -45,10 +45,14 @@
|
|||||||
v-for="mode in firstlineGameMode"
|
v-for="mode in firstlineGameMode"
|
||||||
:key="mode.id"
|
:key="mode.id"
|
||||||
>
|
>
|
||||||
.line__
|
<div class="line__img">
|
||||||
|
<img src="@/assets/icons-gamemodes/case-icon.png">
|
||||||
|
</div>
|
||||||
<div :class="'linecontent-' + mode.id">
|
<div :class="'linecontent-' + mode.id">
|
||||||
|
<div class="container">
|
||||||
<h1>{{ mode.title }}</h1>
|
<h1>{{ mode.title }}</h1>
|
||||||
<a href="#" class="line__btn">play</a>
|
<a href="#" class="line__btn">play <span class="line__btn--elm">></span></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user