Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'src/styles/utility';
- .root {
- margin-left: calc(-50vw + 50%);
- margin-bottom: 115px;
- padding-bottom: 20px;
- position: relative;
- width: 100vw;
- &:before {
- @include base-transition();
- background-color: $black;
- content: '';
- display: block;
- height: 370px;
- left: 0;
- position: absolute;
- top: 133px;
- width: 100%;
- z-index: 0;
- @media (max-width: $xl) {
- height: 370px;
- }
- @media (max-width: $md) {
- height: 450px;
- top: 102px;
- }
- @media (max-width: 460px) {
- height: 468px;
- }
- }
- @media (max-width: $md) {
- margin-bottom: 75px;
- }
- @media (max-width: $sm) {
- margin-bottom: 73px;
- }
- }
- .inner {
- @include container();
- }
- .header {
- align-items: center;
- display: flex;
- margin-bottom: 48px;
- padding: 10px 0;
- position: relative;
- @media (max-width: $lg) {
- padding: 0 0;
- }
- h1 {
- @include reset-webkit-margin();
- @include base-transition();
- color: $black;
- display: inline-block;
- font-size: 5.6875rem;
- font-weight: 700;
- position: relative;
- text-transform: uppercase;
- margin-top: 0;
- &:after {
- background-color: $green;
- bottom: -7px;
- content: '';
- height: 8px;
- left: 0;
- position: absolute;
- width: 100%;
- }
- @media (max-width: $sm) {
- font-size: 4rem;
- }
- }
- }
- .hidden {
- display: none;
- }
- .shown {
- display: block;
- }
- .videos {
- display: flex;
- justify-content: space-between;
- margin-top: 56px;
- position: relative;
- .video {
- flex-basis: 49%;
- img {
- height: 320px;
- }
- }
- }
- .main {
- display: flex;
- justify-content: space-between;
- position: relative;
- }
- .mainVideo {
- margin-top: -146px;
- }
- .description {
- border-bottom: 1px #fff dashed;
- color: #fff;
- display: flex;
- flex-basis: 30%;
- flex-direction: column;
- font-size: 2rem;
- font-weight: 700;
- justify-content: center;
- line-height: 140%;
- }
- .duration {
- color: $green;
- display: block;
- font-size: 2rem;
- font-weight: 700;
- }
- .video {
- flex-basis: 65%;
- position: relative;
- img {
- @include base-transition();
- box-shadow: 4px 4px 0 0 $black;
- display: block;
- height: 440px;
- object-fit: cover;
- position: relative;
- width: 100%;
- &:hover {
- box-shadow: 0 0 0 0 $black;
- transform: translate(2px, 2px);
- }
- }
- }
- .videoInfo {
- color: $black;
- font-size: 1.125rem;
- font-weight: 600;
- span {
- color: $green;
- }
- }
- .play {
- @include reset-btn();
- left: 50%;
- position: absolute;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: 10;
- }
Advertisement
Add Comment
Please, Sign In to add comment