278 lines
6.8 KiB
SCSS
Executable File
278 lines
6.8 KiB
SCSS
Executable File
.hero {
|
|
margin-top: 50px;
|
|
}
|
|
// banner start
|
|
.banner {
|
|
margin: 80px 0;
|
|
&__inner {
|
|
width: 100%;
|
|
height: auto;
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
// banner end
|
|
// main start
|
|
.main {
|
|
&__inner {
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
&__content {
|
|
width: calc(70% - 25px);
|
|
margin-right: 25px;
|
|
}
|
|
&__body {
|
|
&-row {
|
|
margin: 0 -20px 80px -20px;
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
}
|
|
&-column {
|
|
width: calc(50% - 40px);
|
|
margin: 0 20px;
|
|
a.progressive {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
outline: none;
|
|
height: 300px;
|
|
}
|
|
a.progressive:not(.replace) {
|
|
cursor: default;
|
|
}
|
|
a.progressive img {
|
|
@include fullImage;
|
|
}
|
|
a.progressive img.preview {
|
|
filter: blur(2vw);
|
|
transform: scale(1.05);
|
|
}
|
|
a.progressive img.reveal {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
will-change: transform, opacity;
|
|
animation: reveal 1s ease-out;
|
|
}
|
|
}
|
|
&-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 80px;
|
|
position: relative;
|
|
&::after {
|
|
background: $text-color-grey;
|
|
height: 1px;
|
|
top: 100%;
|
|
width: 100%;
|
|
left: 0;
|
|
content: "";
|
|
position: absolute;
|
|
}
|
|
&-title {
|
|
font-size: $h3-size;
|
|
line-height: $h3-height;
|
|
font-weight: 700;
|
|
color: $text-light-black;
|
|
}
|
|
&-link {
|
|
font-size: $h5-size;
|
|
line-height: $h5-height;
|
|
font-weight: 400;
|
|
color: $text-color-grey;
|
|
}
|
|
}
|
|
&-card {
|
|
margin: -100px 30px 0 30px;
|
|
}
|
|
&-title {
|
|
font-size: $h3-size;
|
|
line-height: $h3-height;
|
|
font-weight: 700;
|
|
color: $text-light-black;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
&::after {
|
|
background: $text-color-grey;
|
|
height: 2px;
|
|
top: 100%;
|
|
left: 0;
|
|
content: "";
|
|
position: absolute;
|
|
}
|
|
}
|
|
}
|
|
&__banner {
|
|
width: 100%;
|
|
height: auto;
|
|
margin-bottom: 80px;
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
&__sidebar {
|
|
margin-left: 25px;
|
|
width: calc(30% - 25px);
|
|
&-title {
|
|
font-size: $h4-size;
|
|
line-height: $h4-height;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
margin-bottom: 80px;
|
|
color: $text-light-black;
|
|
}
|
|
a.progressive {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
outline: none;
|
|
margin-bottom: 80px;
|
|
&:not(.replace) {
|
|
cursor: default;
|
|
}
|
|
& img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
& img.preview {
|
|
filter: blur(2vw);
|
|
transform: scale(1.05);
|
|
}
|
|
& img.reveal {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
will-change: transform, opacity;
|
|
animation: reveal 1s ease-out;
|
|
}
|
|
}
|
|
&-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin: -30px -5px 80px -5px;
|
|
&-link {
|
|
padding: 3px 7px;
|
|
border-right: 5px;
|
|
background: #f7f7f6;
|
|
font-size: $h5-size;
|
|
line-height: $h5-height;
|
|
color: $text-light-black;
|
|
margin: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// main end
|
|
// event start
|
|
.event {
|
|
margin-bottom: 80px;
|
|
&__header {
|
|
margin-bottom: 80px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
&::after {
|
|
background: $text-color-grey;
|
|
height: 1px;
|
|
width: 100%;
|
|
top: 100%;
|
|
left: 0;
|
|
content: "";
|
|
position: absolute;
|
|
}
|
|
&-title {
|
|
font-size: $h3-size;
|
|
line-height: $h3-height;
|
|
font-weight: 700;
|
|
color: $text-light-black;
|
|
}
|
|
&-link {
|
|
font-size: $h5-size;
|
|
line-height: $h5-height;
|
|
font-weight: 400;
|
|
color: $text-color-grey;
|
|
}
|
|
}
|
|
&__body {
|
|
&-row {
|
|
display: flex;
|
|
align-items: stretch;
|
|
margin: 0 -20px;
|
|
}
|
|
&-image {
|
|
width: calc(40% - 40px);
|
|
margin: 0 20px;
|
|
a.progressive {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
outline: none;
|
|
height: 400px;
|
|
}
|
|
a.progressive:not(.replace) {
|
|
cursor: default;
|
|
}
|
|
a.progressive img {
|
|
@include fullImage;
|
|
}
|
|
a.progressive img.preview {
|
|
filter: blur(2vw);
|
|
transform: scale(1.05);
|
|
}
|
|
a.progressive img.reveal {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
will-change: transform, opacity;
|
|
animation: reveal 1s ease-out;
|
|
}
|
|
}
|
|
&-card {
|
|
margin: -100px 30px 0 30px;
|
|
}
|
|
&-column {
|
|
width: calc(30% - 40px);
|
|
margin: 0 20px;
|
|
.card {
|
|
padding: 25px 0;
|
|
border-bottom: 1px solid $text-color-grey;
|
|
&:nth-last-child(1) {
|
|
border-bottom: none;
|
|
padding: 25px 0 0 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// event end
|
|
// partner start
|
|
.partner {
|
|
margin-bottom: 80px;
|
|
&__title {
|
|
font-size: $h3-size;
|
|
line-height: $h3-height;
|
|
font-weight: 700;
|
|
color: $text-light-black;
|
|
margin-bottom: 80px;
|
|
}
|
|
}
|
|
// partner end
|
|
/* progressive image CSS */
|
|
|
|
@keyframes reveal {
|
|
0% {
|
|
transform: scale(1.05);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
}
|