48 lines
983 B
CSS
Executable File
48 lines
983 B
CSS
Executable File
game {
|
|
width: 20vw;
|
|
height: 10vh;
|
|
background-color: color-mix(in srgb, var(--color-2) 40%, #00000000 60%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
border-radius: 20px;
|
|
margin: 15px;
|
|
transition-duration: 0.25s;
|
|
backdrop-filter: blur(2px);
|
|
box-shadow: 0 0 10px var(--color-2);
|
|
}
|
|
game:hover {
|
|
transform: scale(1.1);
|
|
filter:brightness(1.15);
|
|
}
|
|
game img {
|
|
height: 80%;
|
|
border-radius: 15px;
|
|
aspect-ratio: 1 / 1;
|
|
margin: 10px;
|
|
justify-self: left;
|
|
margin-right: auto;
|
|
}
|
|
game h1 {
|
|
font-size: 14px;
|
|
margin: 15px;
|
|
max-width: 50%;
|
|
}
|
|
#games {
|
|
width: 90vw;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
min-height: calc(100vh - (18px * 2 + 5px * 2 + 20px * 2));
|
|
gap: 0px;
|
|
}
|
|
|
|
#noResults {
|
|
display: none;
|
|
font-size: 28px;
|
|
color: var(--color-1);
|
|
text-shadow: var(--color-1) 0 0 10px;
|
|
} |