Update room previewer styling

This commit is contained in:
Bill 2021-04-29 04:06:05 -04:00
parent aa2fb1b11c
commit 656470f15d

View File

@ -1,7 +1,22 @@
.room-preview-image { .room-preview-image {
position: relative;
background-color: $light; background-color: $light;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
image-rendering: auto; image-rendering: auto;
border-radius: $border-radius;
height: 100%; height: 100%;
&::after {
position: absolute;
content: '';
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: $border-radius;
border-bottom: 2px solid white;
border-right: 2px solid white;
box-shadow: -2px -2px rgba(0, 0, 0, .4), inset 3px 3px rgba(0, 0, 0, .2);
}
} }