.hero { padding: 10px 0 10px 0; background: url(image_path("bg/bg-hero.png")) 0 -5px repeat; text-align: center; color: $hero-subtitle-color; &.related-to-angularjs { background: url(image_path("bg/bg-hero-angularjs.png")) 0 0 no-repeat; background-size: cover; } @include respond-to(phones) { padding: 30px 0; } .hero-logo { max-width: 140px; width: 100%; margin-bottom: 30px; @include respond-to(tablets-small) { max-width: 120px; } @include respond-to(phones) { max-width: 80px; } &.hero-logo-egghead { max-width: 290px; width: 100%; @include respond-to(tablets-small) { max-width: 200px; } @include respond-to(phones) { max-width: 100px; } } } .avatar { @extend .avatar; width: 140px; margin-bottom: 30px; border: 2px solid black; @include respond-to(tablets-small) { width: 120px; } @include respond-to(phones) { width: 80px; } } .mega { font-weight: 900; font-size: 58px; @include respond-to(tablets-small) { font-size: 36px; font-weight: 600; } @include respond-to(phones) { font-size: 22px; } } .title { color: $hero-title-color; margin-bottom: 15px; font-size: 36px; @include respond-to(tablets-small) { font-size: 28px; } @include respond-to(phones) { margin-top: 0; font-size: 22px; } } .subtitle { font-size: $hero-subtitle-font-size; color: $hero-subtitle-color; line-height: 1.285em; max-width: 980px; margin-bottom: 30px; @include center-block(); @include respond-to(tablets-small) { font-size: $hero-subtitle-font-size-tablets; } @include respond-to(phones) { font-size: $hero-subtitle-font-size-phones; } a { color: $site-color-light-grey; text-decoration: underline; } } .get-pro { margin-bottom: 20px; } .hero-bottom-link { color: #ffffff; i, a { color: #ffffff; } } .line-lesson-author { color: $hero-subtitle-color; font-size: 16px; margin-bottom: 40px; a, a:hover, a:focus { color: $hero-subtitle-color; } } .next-lesson { margin-top: 40px; color: $hero-subtitle-color; @include text-overflow(); text-align: center; i { color: $site-color-blue; margin-left: 5px; bottom: -3px; position: relative; } a { color: $hero-title-color; @include respond-to(phones) { margin-top: 0; } } } } .logo-holder { margin: 30px auto 40px auto; img { height: 100px; width: auto; } @include respond-to(phones) { margin: 0 auto 20px auto; img { height: 35px; } } } .lesson-without-playlist-holder { position: relative; @extend .clearfix; } .lesson-video-container { padding-left: 75px; padding-right: 75px; @include respond-to(tablets-small) { padding-left: 10px; padding-right: 10px; } } .lesson-with-playlist-holder { margin-bottom: 0px; position: relative; @extend .clearfix; .lesson-frame-column-theater { padding-right: 0; margin-bottom: 30px; } .lesson-frame-column { padding-right: 360px; @include respond-to(tablets-large) { padding-right: 300px; } @include respond-to(tablets-small) { padding-right: 0; margin-bottom: 30px; } } .playlist-column-theater { width: 100%; height: 300px; position: relative; margin-bottom: 30px; padding-top: 45px; right: 0; top: 0; background: $lesson-playlist-background; text-align: left; @include respond-to(tablets-small) { width: 100%; } } .playlist-column { padding-top: 50px; position: absolute; height: 100%; width: 360px; right: 0; top: 0; background: $lesson-playlist-background; text-align: left; @include respond-to(tablets-large) { width: 300px; } @include respond-to(tablets-small) { width: 100%; height: 300px; position: relative; margin-bottom: 30px; } } .scrollable-holder { overflow: hidden; height: 100%; display: flex; flex-direction: column; @include respond-to(tablets-large) { padding: 5px; } } .welcome-box { padding: 10px 15px; font-size: 16px; line-height: 22px; @include respond-to(phones) { font-size: 13px; line-height: 18px; } } } .lessons-frame-holder { width: 100%; height: auto; position: relative; //padding-bottom: 56.89%; &.lesson-frame-cannot-show { height: 0; padding-bottom: 50%; } .lessons-frame { width: 100%; height: 100%; //position: absolute; background: none #474747; text-align: center; padding: 5px 5px 5px 5px; &.lesson-blocked { position: absolute; display: flex; justify-content: center; align-items: center; } } .lesson-blocked { background: url(image_path("elements/blocked-bg.jpg")) no-repeat center top /cover; .egghead-logo-small { max-width: 70px; } .title-subtitle-block { margin-bottom: 15px; } .title { font-size: 28px; } .subtitle { font-size: 16px; max-width: 80%; } .section { padding: 30px 20px 20px 20px; } #signup { margin-bottom: 10px; } } } .lesson-action-holder { background-color: #474747; position: relative; width: 100%; height: 100%; padding: 0px 5px 5px 5px; .buttons-holder { background-color: #272525; width: 100%; height: 100%; text-align: left; position: relative; display: flex; align-items: center; a { cursor: pointer; vertical-align: middle; } } } .lesson-controls-container { flex-grow: 1; display: flex; .custom-btn { display: flex; align-items: center; justify-content: center; color: #b7b7b7; margin: 5px; border: none; font-size: 15px; padding: 8px 5px; line-height: 20px; font-weight: 700; &:hover { color: white; } @include respond-to(tablets-large) { font-size: 14px; } @include respond-to(phones) { font-size: 12px; i { font-size: 20px; } } i { color: $site-color-blue; margin-right: 5px; vertical-align: middle; font-size: 18px; } .icon-check { color: $button-red-bg-active } } .add-to-menu { .dropdown-toggle { font-size: 15px; font-weight: 700; display: flex; align-items: center; @include respond-to(tablets-large) { font-size: 14px; } @include respond-to(phones) { font-size: 12px; i { font-size: 20px; } } i { font-size: 18px; } } } .replay-speed-btn { color: white; width: 80px; &:hover { .icon-caret-down { color: $button-grey-bg; } .icon-double-angle-right { color: white; } } @include respond-to(tablets-large) { width: 50px; } .icon-double-angle-right { @include transition(150ms); color: $button-grey-bg-dark-active; margin-right: 5px; vertical-align: top; } } } .lesson-like-container { position: relative; display: flex; text-align: right; margin: 0; padding: 0; width: auto; .toggle-theater-mode-btn { font-size: 20px; color: $button-grey-bg; display: inline-block; vertical-align: middle; margin-right: 20px; &:hover { color: white; } } .lesson-like-btn { color: $button-grey-bg; font-size: 20px; border: none; display: inline-block; margin: 0 5px; &:last-child { margin-right: 0; } &.green { color: $site-color-green; } &.red { color: $site-color-red; } &:hover { &#lesson-like { color: $site-color-green; } &#lesson-dislike { color: $site-color-red; } } } #lesson-like { vertical-align: top; } @include respond-to(phones) { width: 35%; } span { background-color: black; position: relative; text-align: center; text-transform: uppercase; color: $button-grey-bg; margin: 0; font-size: 14px; padding: 15px; display: flex; align-items: center; justify-content: flex-end; &.like-description { padding: 0; margin-right: 5px; display: inline-block; font-weight: 600; cursor: default; } @include respond-to(tablets-large) { padding: 11px 15px; } @include respond-to(tablets-small) { background-color: transparent; } @include respond-to(phones) { background-color: transparent; } } }