75 lines
1.4 KiB
CSS
Executable File
75 lines
1.4 KiB
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;
|
|
}
|
|
#holder h1 {
|
|
font-size: 14px;
|
|
margin: 15px;
|
|
width: 100%;
|
|
text-align: right;
|
|
height: 70%;
|
|
}
|
|
#holder {
|
|
width: 70%;
|
|
height: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
}
|
|
#star {
|
|
width: 10%;
|
|
justify-self: right;
|
|
margin-left: auto;
|
|
margin-right: 15px;
|
|
transition-duration: 0.25s;
|
|
}
|
|
#star:hover {
|
|
transform: scale(1.1);
|
|
filter: drop-shadow(0 0 5px var(--color-1))
|
|
}
|
|
#games, #starredgames {
|
|
width: 90vw;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
height: 100%;
|
|
gap: 0px;
|
|
}
|
|
|
|
#noResults, #loadingMsg {
|
|
font-size: 24px;
|
|
color: var(--color-1);
|
|
}
|
|
#starredHeader, #allHeader {
|
|
font-size: 32px;
|
|
color: var(--color-1);
|
|
}
|
|
#noResults, #starredHeader, #allHeader {
|
|
display: none;
|
|
}
|
|
body {
|
|
justify-content: flex-start;
|
|
} |