added style for main card, gamemode section

This commit is contained in:
Kostya
2023-11-15 22:24:06 +03:00
parent a1c39b7e22
commit 8c312293cb
2 changed files with 40 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -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>