feat: fix & improve games styling
This commit is contained in:
parent
5eeb4ded1c
commit
9a92e5c932
|
|
@ -1,11 +1,10 @@
|
||||||
---
|
---
|
||||||
|
title: The Guild
|
||||||
picture: games/the-guild.png
|
picture: games/the-guild.png
|
||||||
picture_alt: in-game screenshot of a cow-boy riding in wilderness
|
picture_alt: in-game screenshot of a cow-boy riding in wilderness
|
||||||
website: https://the-guild.frog-collective.org
|
website: https://the-guild.frog-collective.org
|
||||||
---
|
---
|
||||||
|
|
||||||
### The Guild
|
|
||||||
|
|
||||||
Saddle up, partner! Welcome to "Frontier Fortune: Prospector's Quest" where the
|
Saddle up, partner! Welcome to "Frontier Fortune: Prospector's Quest" where the
|
||||||
dusty trails of the Old West lead to riches beyond your wildest dreams. In this
|
dusty trails of the Old West lead to riches beyond your wildest dreams. In this
|
||||||
thrilling adventure, you step into the boots of a rugged prospector, venturing
|
thrilling adventure, you step into the boots of a rugged prospector, venturing
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: The Guild
|
||||||
picture: games/the-guild.png
|
picture: games/the-guild.png
|
||||||
picture_alt: Image de jeux avec un cowboy
|
picture_alt: Image de jeux avec un cowboy
|
||||||
website: https://the-guild.frog-collective.org
|
website: https://the-guild.frog-collective.org
|
||||||
---
|
---
|
||||||
|
|
||||||
### The Guild
|
Saddle up, partner! Welcome to "Frontier Fortune: Prospector's Quest" where the dusty trails of the Old West lead to riches beyond your wildest dreams. In this thrilling adventure, you step into the boots of a rugged prospector, venturing into uncharted territories to uncover precious resources for a greedy guild hungry for wealth and power.
|
||||||
|
|
||||||
En selle, partenaire etcetera.
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ body {
|
||||||
box-shadow: var(--elevation-medium);
|
box-shadow: var(--elevation-medium);
|
||||||
padding: var(--space-large) var(--space-xlarge);
|
padding: var(--space-large) var(--space-xlarge);
|
||||||
border-radius: var(--border-radius-medium);
|
border-radius: var(--border-radius-medium);
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
@media($mobile-breakpoint) {
|
@media($mobile-breakpoint) {
|
||||||
padding: var(--space-medium) var(--space-large);
|
padding: var(--space-medium) var(--space-large);
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ h1 {
|
||||||
|
|
||||||
font-family: 'Knewave';
|
font-family: 'Knewave';
|
||||||
font-size: var(--fz-1);
|
font-size: var(--fz-1);
|
||||||
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -38,6 +39,7 @@ h2 {
|
||||||
margin: 0 0 var(--space-medium) 0;
|
margin: 0 0 var(--space-medium) 0;
|
||||||
|
|
||||||
font-size: var(--fz-2);
|
font-size: var(--fz-2);
|
||||||
|
font-weight: bold;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -45,18 +47,18 @@ h3 {
|
||||||
margin: 0 0 var(--space-small) 0;
|
margin: 0 0 var(--space-small) 0;
|
||||||
|
|
||||||
font-size: var(--fz-3);
|
font-size: var(--fz-3);
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
margin: 0 0 var(--space-small) 0;
|
margin: 0 0 var(--space-small) 0;
|
||||||
|
|
||||||
font-size: var(--fz-4);
|
font-size: var(--fz-4);
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 var(--space-small) 0;
|
margin: 0 0 var(--space-small) 0;
|
||||||
|
|
||||||
margin-bottom: var(--space-medium);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ($mobile-breakpoint) {
|
@media ($mobile-breakpoint) {
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
// Put the logo up this number of pixel when scrolling
|
// Put the logo up this number of pixel when scrolling
|
||||||
--mobile-dock-logo-offset: -52px;
|
--mobile-dock-logo-offset: -52px;
|
||||||
|
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
margin-bottom: var(--space-xlarge);
|
margin-bottom: var(--space-xlarge);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
@media ($mobile-breakpoint) {
|
@media ($mobile-breakpoint) {
|
||||||
margin-bottom: var(--space-large);
|
margin-bottom: var(--space-large);
|
||||||
|
|
@ -14,6 +13,7 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 110px;
|
margin-top: 110px;
|
||||||
|
align-self: center;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@
|
||||||
>
|
>
|
||||||
</img>
|
</img>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="game--title">
|
||||||
|
{{ game.meta.title }}
|
||||||
|
</div>
|
||||||
<div class="game--description">
|
<div class="game--description">
|
||||||
{{ game }}
|
{{ game }}
|
||||||
<a class="game--more-button" href="{{ game.meta.website }}">Learn More</a>
|
<a class="game--more-button" href="{{ game.meta.website }}">Learn More</a>
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
.game {
|
.game {
|
||||||
|
@extend %card;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
background: var(--color-on-dark);
|
||||||
&::after {
|
padding: 0;
|
||||||
content: "";
|
|
||||||
background: center / cover no-repeat url("/img/game-footer.png");
|
|
||||||
height: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&--picture-wrapper {
|
&--picture-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -14,25 +12,26 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--title {
|
||||||
|
@extend h2;
|
||||||
|
margin: 0;
|
||||||
|
padding: var(--space-small);
|
||||||
|
background: var(--color-dark-gradient);
|
||||||
|
color: var(--color-on-dark);
|
||||||
|
}
|
||||||
|
|
||||||
&--description {
|
&--description {
|
||||||
padding: var(--space-large);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
padding: var(--space-large) var(--space-xlarge);
|
||||||
background: var(--primary);
|
|
||||||
color: var(--dark);
|
@media($mobile-breakpoint) {
|
||||||
|
padding: var(--space-medium) var(--space-medium);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--more-button {
|
&--more-button {
|
||||||
background: var(--dark);
|
@extend %button;
|
||||||
color: var(--primary);
|
align-self: end;
|
||||||
padding: var(--space-small) var(--space-medium);
|
|
||||||
text-decoration: none;
|
|
||||||
font-family: Knewave;
|
|
||||||
font-size: var(--fz-4);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue