Skip to content

Commit

Permalink
Merge pull request #6 from tomwalsh-home/compliment-doesnt-move
Browse files Browse the repository at this point in the history
  • Loading branch information
sbimochan authored Oct 5, 2020
2 parents aead8a0 + 83020d5 commit ba8bca8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="spinner.css" type="text/css" media="all">
</head>
<body>
<div>
<div class="video-window-wrapper">
<div class="spinner">
<div class="sk-cube-grid">
<div class="sk-cube sk-cube1"></div>
Expand All @@ -27,7 +27,7 @@
<video id="video">Video stream not available.</video>
</div>
<div id="subtitle">
</div>
</div>
</div>
</body>
<script src="script.js"></script>
Expand Down
9 changes: 9 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,22 @@ body {
background: #1D1F20;
}

.video-window-wrapper {
position: relative;
}

#subtitle {
color: #eee;
font-family: 'Raleway';
display: flex;
align-items: center;
justify-content: center;
padding-top: 20px;
position: absolute;
bottom: -65px;
left: 50%;
width: 100%;
transform: translateX(-50%);
}

#camera {
Expand Down

0 comments on commit ba8bca8

Please sign in to comment.