- Change strategy for content fetching - Add a route per page instead of using __layout for all - Change the behaviors of the posters section (add a carousel on small screens) - Change Poster buttons styling and make interactions only for desktop
61 lines
1.2 KiB
SCSS
61 lines
1.2 KiB
SCSS
.notification-cart {
|
|
display: flex;
|
|
background-color: #fff;
|
|
color: $color-gray;
|
|
border-radius: 6px;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
|
|
// Left Image
|
|
&__left {
|
|
margin-right: 20px;
|
|
width: 100px;
|
|
height: 150px;
|
|
|
|
@include bp (sm) {
|
|
margin-right: 24px;
|
|
width: 58px;
|
|
height: 88px;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
// Details
|
|
&__right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-right: 24px;
|
|
justify-content: center;
|
|
|
|
// Poster Title
|
|
h3 {
|
|
font-family: $font-serif;
|
|
color: $color-secondary;
|
|
font-size: rem(20px);
|
|
|
|
@include bp (sm) {
|
|
font-size: rem(18px);
|
|
}
|
|
}
|
|
// Text
|
|
p {
|
|
font-size: rem(12px);
|
|
line-height: 1.4;
|
|
max-width: 124px;
|
|
margin: 4px 0;
|
|
|
|
@include bp (sm) {
|
|
font-size: rem(13px);
|
|
max-width: none;
|
|
}
|
|
}
|
|
}
|
|
} |