grid_view_video_test.html 1.84 KB
Newer Older
Jonas Heinrich's avatar
Jonas Heinrich committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
<html>
<head>
  <link href="https://fonts.googleapis.com/css?family=Montserrat|Open+Sans" rel="stylesheet">
  <style type="text/css">
    body {
      background-color: black;
    }
    .video-grid {
      display: flex;
      flex-direction: column;
      background-color: black;
      width: 80%;
      margin: auto;
    }
    .video-item {
      color: white;
      padding: 10px;
      border-bottom: 1px solid rgb(32, 34, 31);
    }
    .video-item:after { content: ''; clear: both; visibility: hidden; }
    .video-img {
      height: 70px;
      width: 120px;
      background-size: cover;
      float: left;
      margin-right: 15px;
    }
    span.video-title{
      font-family: 'Open Sans', sans-serif;
      font-weight: bold;
      font-size: 1em;
      display: block;
      margin-top: -0.2em;
      letter-spacing: -.01em;
    }
    p.video-description{
      font-family: 'Montserrat', sans-serif;
      margin-top: 0.2em;
      font-size: 0.8em;
      overflow: hidden;
    }
    .video-item:hover {
      background-color: rgb(32, 34, 31);
      cursor: pointer;
    }

  </style>
</head>
<body>

  <section class="video-grid">
    <div class="video-item">
      <div class="video-img" style="background-image: url('../video/video1.png');"></div>
      <span class="video-title">Chapter 28</span>
      <p class="video-description">Molestiae odio amet iste recusandae voluptate officia magni. Sed totam fugit repellat rerum. Consectetur veritatis dolor eveniet.</span>
    </div>
    <div class="video-item">
      <div class="video-img" style="background-image: url('../video/video1.png');"></div>
      <span class="video-title">Chapter 28</span>
      <p class="video-description">Molestiae odio amet iste recusandae voluptate officia magni. Sed totam fugit repellat rerum. Consectetur veritatis dolor eveniet.</span>
    </div>
  </section>

</body>
</html>