BraydenMoore
commited on
Commit
•
37cd3ac
1
Parent(s):
4290743
Update templates/index.html
Browse files- templates/index.html +26 -39
templates/index.html
CHANGED
@@ -50,33 +50,24 @@
|
|
50 |
width: 80vw;
|
51 |
}
|
52 |
|
53 |
-
.feed-wrapper {
|
54 |
-
|
55 |
-
|
56 |
-
position: relative; /* If you want text inside of the container to be aligned to the bottom */
|
57 |
}
|
58 |
|
59 |
-
.feed, .info {
|
60 |
-
flex: 1;
|
61 |
-
max-width: 50%; /* Limit each to half the container's width */
|
62 |
-
}
|
63 |
-
|
64 |
.feed-wrapper {
|
65 |
-
padding:
|
66 |
-
|
67 |
-
border
|
68 |
-
border-color: yellow;
|
69 |
-
margin-right: 3%;
|
70 |
-
position: relative;
|
71 |
}
|
72 |
-
|
73 |
.feed {
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
}
|
81 |
|
82 |
.map-div {
|
@@ -95,19 +86,15 @@
|
|
95 |
}
|
96 |
|
97 |
@media only screen and (max-width: 768px) {
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
.feed-wrapper {
|
109 |
-
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
110 |
-
}
|
111 |
}
|
112 |
|
113 |
</style>
|
@@ -116,10 +103,10 @@
|
|
116 |
<body style="background-color: black;">
|
117 |
<div class="outer-container">
|
118 |
<h1 style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50; margin-bottom: 3%;"> a random unsecured camera</h1>
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
|
124 |
<div class="info" style="display: flex; flex-direction: column; align-items: flex-start;">
|
125 |
|
|
|
50 |
width: 80vw;
|
51 |
}
|
52 |
|
53 |
+
.feed-wrapper, .info {
|
54 |
+
flex: 1;
|
55 |
+
max-width: 50%;
|
|
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
|
|
58 |
.feed-wrapper {
|
59 |
+
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
60 |
+
position: relative;
|
61 |
+
border: 1px solid yellow;
|
|
|
|
|
|
|
62 |
}
|
63 |
+
|
64 |
.feed {
|
65 |
+
position: absolute;
|
66 |
+
top: 0;
|
67 |
+
left: 0;
|
68 |
+
width: 100%;
|
69 |
+
height: 100%;
|
70 |
+
object-fit: contain;
|
71 |
}
|
72 |
|
73 |
.map-div {
|
|
|
86 |
}
|
87 |
|
88 |
@media only screen and (max-width: 768px) {
|
89 |
+
.flex-container {
|
90 |
+
flex-direction: column;
|
91 |
+
align-items: center;
|
92 |
+
}
|
93 |
+
|
94 |
+
.feed-wrapper, .info {
|
95 |
+
max-width: 100%;
|
96 |
+
width: 90%;
|
97 |
+
}
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
</style>
|
|
|
103 |
<body style="background-color: black;">
|
104 |
<div class="outer-container">
|
105 |
<h1 style="color:rgb(83, 83, 83); font-family: 'Helvetica'; font-weight: 50; margin-bottom: 3%;"> a random unsecured camera</h1>
|
106 |
+
<div class="flex-container">
|
107 |
+
<div class="feed-wrapper">
|
108 |
+
<img id="feed" class="feed" src="{{ url_for('proxy', url=url) }}" />
|
109 |
+
</div>
|
110 |
|
111 |
<div class="info" style="display: flex; flex-direction: column; align-items: flex-start;">
|
112 |
|