load previews correctly with fetch
This commit is contained in:
31
src/css/Preview.css
Normal file
31
src/css/Preview.css
Normal file
@ -0,0 +1,31 @@
|
||||
.previewtitle {
|
||||
height: 10%;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.previewpic {
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.previewimage{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
.videopreview {
|
||||
height: 300px;
|
||||
width: 30%;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
background-color: #7F7F7F;
|
||||
cursor: pointer;
|
||||
opacity: 0.9;
|
||||
border: 10px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.videopreview:hover {
|
||||
opacity: 1;
|
||||
transition: opacity 0.5s;
|
||||
}
|
13
src/css/index.css
Normal file
13
src/css/index.css
Normal file
@ -0,0 +1,13 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||||
monospace;
|
||||
}
|
43
src/css/video.css
Normal file
43
src/css/video.css
Normal file
@ -0,0 +1,43 @@
|
||||
.hideit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.closebutton {
|
||||
color: white;
|
||||
height: 35px;
|
||||
width: 90px;
|
||||
margin-right: 80px;
|
||||
float: right;
|
||||
background-color: #FF0000;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.myvideo {
|
||||
width: 100%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.videoleftbanner{
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #e5e5ff;
|
||||
border-radius: 40px;
|
||||
}
|
||||
.likefield{
|
||||
margin-top: 15px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
height: 30px;
|
||||
background-color: #9e5353;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
.previewcontainer {
|
||||
margin-left: 10%;
|
||||
width: 80%;
|
||||
margin-right: 10%;
|
||||
}
|
Reference in New Issue
Block a user