mirror of https://github.com/Damillora/Shian.git
37 lines
670 B
SCSS
37 lines
670 B
SCSS
.game-item {
|
|
padding: 0.25rem 1rem;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
@include transition;
|
|
|
|
@include screen(lg) {
|
|
flex-direction: row;
|
|
}
|
|
&:hover {
|
|
background-color: var(--highlight-bg-color);
|
|
}
|
|
|
|
&__title {
|
|
flex-grow: 1;
|
|
}
|
|
&__caption {
|
|
font-size: $text-2xl;
|
|
@include my(0.25rem);
|
|
}
|
|
|
|
&__content {
|
|
@include my(0.5rem);
|
|
display: block;
|
|
|
|
p {
|
|
@include my(0.25rem);
|
|
text-align: right;
|
|
}
|
|
flex-shrink: 1;
|
|
}
|
|
&__icon {
|
|
padding: 0.5rem;
|
|
vertical-align: middle;
|
|
}
|
|
} |