Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'src/styles/utility';
- .root {
- display: flex;
- justify-content: space-between;
- margin-bottom: 48px;
- @media (max-width: $xl) {
- flex-direction: column;
- }
- }
- .title {
- @include reset-webkit-margin();
- @include base-font();
- border-bottom: 1px #fff dashed;
- color: #fff;
- display: flex;
- flex-basis: 30%;
- flex-direction: column;
- font-size: 1.875rem;
- font-weight: 700;
- justify-content: center;
- line-height: 1.2;
- padding: 15px 10px;
- padding-top: 0;
- position: relative;
- @media (max-width: $xl) {
- margin-bottom: 32px;
- }
- }
- .duration {
- color: #6e31c4;
- margin: 5px 0;
- }
- .videoWrapper {
- @include base-transition();
- background-color: $black;
- box-shadow: 4px 4px 0 0 $black;
- margin-top: -160px;
- position: relative;
- width: 50%;
- &:hover {
- box-shadow: 0 0 0 0 $black;
- transform: translate(2px, 2px);
- }
- @media (max-width: $xl) {
- margin-top: initial;
- width: 100vw;
- position: relative;
- left: 50%;
- margin-left: -50vw;
- }
- }
- .video {
- height: 0;
- overflow: hidden;
- padding-bottom: 56.25%;
- position: relative;
- iframe,
- object,
- embed {
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- }
- }
- .videoAdminDashboard {
- height: 480px;
- width: 640px;
- }
- @-moz-document url-prefix() {
- .videoWrapper {
- margin-top: -200px;
- @media (max-width: $xl) {
- margin-top: 0;
- }
- }
- .title {
- @media (max-width: $xl) {
- margin-top: -65px;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment