You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
1.6 KiB
107 lines
1.6 KiB
7 years ago
|
.home #content {
|
||
|
width: 100%;
|
||
|
|
||
|
@media #{$breakpoint-extra-large} {
|
||
|
max-width: 1440px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.latest-books {
|
||
7 years ago
|
margin: 4rem 0 8rem;
|
||
7 years ago
|
|
||
7 years ago
|
.slider {
|
||
7 years ago
|
width: 100%;
|
||
|
max-width: 22.9375rem;
|
||
7 years ago
|
margin: 0 auto;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
7 years ago
|
.books {
|
||
7 years ago
|
position: relative;
|
||
7 years ago
|
display: flex;
|
||
7 years ago
|
width: calc(100% - 4rem);
|
||
|
margin: 0 auto;
|
||
7 years ago
|
flex-direction: column;
|
||
|
align-items: center;
|
||
7 years ago
|
padding-left: 0;
|
||
7 years ago
|
z-index: 99;
|
||
7 years ago
|
}
|
||
|
|
||
|
.booknav {
|
||
7 years ago
|
position: absolute;
|
||
7 years ago
|
margin-top: 0;
|
||
7 years ago
|
top: 0;
|
||
7 years ago
|
left: 0;
|
||
7 years ago
|
width: 100%;
|
||
7 years ago
|
max-width: 28.0625rem;
|
||
7 years ago
|
height: 100%;
|
||
7 years ago
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.previous,
|
||
|
.next {
|
||
7 years ago
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
position: absolute;
|
||
|
width: rem(25);
|
||
|
height: 100%;
|
||
7 years ago
|
margin-top: 0;
|
||
7 years ago
|
|
||
|
svg {
|
||
|
width: rem(25);
|
||
|
height: rem(25);
|
||
7 years ago
|
margin-top: 0;
|
||
|
|
||
7 years ago
|
path {
|
||
|
fill: var(--primary, $brand);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.previous {
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
.next {
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
7 years ago
|
@media #{$breakpoint-large} {
|
||
7 years ago
|
.slider {
|
||
|
width: calc(100vw - 5.125rem);
|
||
|
max-width: 75rem;
|
||
|
}
|
||
7 years ago
|
.books {
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
|
||
|
.book {
|
||
|
margin-right: 1rem;
|
||
|
margin-left: 1rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
.booknav {
|
||
|
width: calc(100% + 4rem);
|
||
|
max-width: 100vw;
|
||
|
left: -2rem;
|
||
|
}
|
||
7 years ago
|
|
||
7 years ago
|
.previous,
|
||
|
.next {
|
||
|
width: rem(32);
|
||
|
svg {
|
||
|
width: rem(32);
|
||
|
height: rem(32);
|
||
|
}
|
||
|
}
|
||
7 years ago
|
}
|
||
|
|
||
|
.catalog-link {
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|