Shian/src/sass/components/_mediaitem.scss

24 lines
341 B
SCSS
Raw Normal View History

2021-04-14 05:11:10 +00:00
.media-item {
padding: 0.25rem 1rem;
width: 100%;
@include transition;
&:hover {
background-color: var(--highlight-bg-color);
}
2021-04-14 05:11:10 +00:00
&__caption {
font-size: $text-2xl;
@include my(0.25rem);
}
2021-04-14 05:11:10 +00:00
&__content {
width: 100%;
@include my(0.5rem);
display: block;
}
&__text {
@include my(0.25rem);
}
}