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.
264 lines
4.2 KiB
264 lines
4.2 KiB
.home { |
|
.block { |
|
height: 445px; |
|
background-color: $white; |
|
|
|
h3 { |
|
font-size: em(30); |
|
font-weight: 600; |
|
letter-spacing: 2px; |
|
line-height: (36/30); |
|
color: $brand-primary; |
|
margin: 0; |
|
|
|
&::before { |
|
content: ""; |
|
display: block; |
|
margin: 0 auto 1em; |
|
width: 46px; |
|
height: 5px; |
|
background-color: $brand-secondary; |
|
} |
|
} |
|
|
|
.widget p { |
|
font-size: em(16); |
|
line-height: (32/16); |
|
} |
|
|
|
&.latest-books { |
|
box-shadow: unset; |
|
height: auto; |
|
padding-bottom: 50px; |
|
|
|
h3 { |
|
margin-top: 70px; |
|
} |
|
|
|
.inside { |
|
padding: 0; |
|
} |
|
|
|
.navigation { |
|
a { |
|
color: $brand-secondary; |
|
|
|
&.slick-disabled { |
|
opacity: 0; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.books { |
|
.book, |
|
.slick-slide { |
|
width: 100vw; |
|
height: 386px; |
|
margin: 45px 0 0; |
|
padding: 0 29.5px; |
|
border: solid 2px $brand-secondary; |
|
background-color: $brand-secondary; |
|
|
|
a { |
|
font-family: $font-family-sans-serif; |
|
color: $white; |
|
text-decoration: none; |
|
} |
|
|
|
.subject { |
|
height: 91px; |
|
margin-top: 24px; |
|
font-size: em(24); |
|
} |
|
|
|
.title { |
|
height: 329px - 115px; |
|
font-size: em(30); |
|
font-weight: 500; |
|
} |
|
|
|
.read-more { |
|
font-size: em(18); |
|
} |
|
} |
|
} |
|
} |
|
|
|
.one-two { |
|
width: 100%; |
|
display: flex; |
|
flex-direction: column; |
|
|
|
.block-2 { |
|
background: $brand-secondary; |
|
|
|
p, |
|
h3 { |
|
color: $white; |
|
} |
|
|
|
h3::before { |
|
background-color: $white; |
|
} |
|
} |
|
} |
|
|
|
.main > .block-2, |
|
.one-two + .block { |
|
background: transparent; |
|
border: solid 2px $brand-primary; |
|
// margin-bottom: 401px; |
|
|
|
&::after { |
|
position: absolute; |
|
left: 0; |
|
top: 1840px; |
|
content: ""; |
|
display: block; |
|
display: none; |
|
width: 100vw; |
|
height: 600px; |
|
z-index: -1; |
|
background: url('../images/banner-two.jpg'); |
|
background-position: center; |
|
background-repeat: no-repeat; |
|
background-size: cover; |
|
} |
|
} |
|
} |
|
|
|
@media (min-width: $medium) { |
|
.home { |
|
.wrap { |
|
margin-top: -366px; |
|
} |
|
|
|
.block { |
|
width: 775px; |
|
margin-bottom: 119px; |
|
box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09); |
|
|
|
h3 { |
|
font-size: em(48); |
|
line-height: (56/48); |
|
|
|
&::before { |
|
width: 74px; |
|
} |
|
} |
|
|
|
p { |
|
font-size: em(18); |
|
line-height: (32/18); |
|
} |
|
|
|
.inside { |
|
width: 595px; |
|
} |
|
} |
|
|
|
.one-two { |
|
align-items: center; |
|
} |
|
|
|
.main > .block-2, |
|
.one-two + .block { |
|
border: solid 2px $brand-primary; |
|
box-shadow: unset; |
|
|
|
&::after { |
|
top: 2020px; |
|
} |
|
} |
|
|
|
.block.latest-books { |
|
width: 100%; |
|
|
|
.inside { |
|
width: 100%; |
|
} |
|
|
|
.books { |
|
flex-direction: row; |
|
justify-content: space-between; |
|
} |
|
|
|
.book, |
|
.slick-slide { |
|
width: 300px; |
|
margin-right: 30px; |
|
|
|
&:last-child { |
|
margin-right: 0; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
@media (min-width: $large) { |
|
.home { |
|
.block { |
|
width: 1115px; |
|
height: 494px; |
|
} |
|
|
|
.main > .block-2, |
|
.one-two + .block { |
|
&::after { |
|
top: 2150px; |
|
} |
|
} |
|
|
|
.block.latest-books { |
|
width: 1200px; |
|
margin-bottom: 0; |
|
|
|
.inside { |
|
width: 100%; |
|
} |
|
|
|
.book, |
|
.slick-slide { |
|
width: 367px; |
|
margin-right: 50px; |
|
|
|
&:last-child { |
|
margin-right: 0; |
|
} |
|
} |
|
} |
|
} |
|
} |
|
|
|
@media (min-width: $extra-large) { |
|
.home { |
|
.block { |
|
width: 1115px; |
|
box-shadow: -3px 5px 4px 2px rgba(135, 135, 135, 0.09); |
|
} |
|
|
|
.one-two { |
|
flex-direction: row; |
|
justify-content: space-between; |
|
width: 1615px; |
|
|
|
.block { |
|
border-radius: 4px; |
|
width: 775px; |
|
|
|
.inside { |
|
width: 595px; |
|
} |
|
} |
|
} |
|
|
|
.main > .block-2, |
|
.one-two + .block { |
|
&::after { |
|
top: 1550px; |
|
} |
|
} |
|
} |
|
}
|
|
|