Day 289

Part two of four of the mixer.com clone
#CodingPhase #TheCodingWay #365CodingPhaseChallenge

**********

@import url("reset.css");
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700&display=swap");

html,
body {
  background: #253141;
  font-family: "Montserrat", sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 30px;
  .left-menu {
    display: flex;
    .logo {
      font-size: 2rem;
      font-weight: 700;
      color: #fff;
    }
    .menu {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 50px;
      a {
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-weight: 500;
        padding: 0 25px;
        &:hover {
          // font-weight: 600;
          color: #fff;
        }
      }
    }
  }
  .right-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    .language {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      padding-right: 60px;
      font-weight: 500;
      &:hover {
        // font-weight: 600;
        color: #fff;
      }
    }
    .signin {
      background: #0375d5;
      border-radius: 5px;
      padding: 10px 20px;
      font-size: 0.8rem;
      color: #fff;
      font-weight: 700;
    }
  }
}

#featured {
  padding: 10px 0;
  .title {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
  }
  .container {
    width: 1400px;
    margin: 0 auto;
    .videos-section {
      display: grid;
      grid-template-columns: 1fr 2fr 620px 2fr 1fr;
      grid-gap: 10px;
      .video {
        display: flex;
        justify-content: center;
        align-items: center;
        .image {
          width: 100%;
          height: 300px;
          background: url("https://i.ytimg.com/vi/yq1d_NHtwOI/maxresdefault.jpg");
          background-position: center;
          background-size: cover;
          background-repeat: no-repeat;
        }
      }
      .video:nth-child(1) .image,
      .video:nth-child(5) .image {
        position: relative;
        .arrow {
          height: 100%;
          position: absolute;
          background: rgba(0, 0, 0, 0.4);
          display: flex;
          justify-content: center;
          align-items: center;
          width: 50%;
          .fa {
            font-size: 4rem;
            color: #00b4f0;
          }
        }
      }
      .video:nth-child(5) .image {
        .arrow {
          right: 0;
        }
      }
      .center {
        width: 100%;
        height: 349px;
        .image {
          width: 100%;
          height: 100%;
          background: url("https://i.ytimg.com/vi/GT6ushVNkGY/maxresdefault.jpg");
          transform: scale(1.02);
          background-position: center;
          background-size: cover;
          background-repeat: no-repeat;
          border: 2px solid #00b4f0;
        }
      }
      .circles-section {
      }
    }
  }
}

Comments

Popular posts from this blog

Day 184

Day 2

Day 188