Spaces:
Running
Running
BraydenMoore
commited on
Commit
·
4290743
1
Parent(s):
4ff9033
Update templates/index.html
Browse files- templates/index.html +19 -7
templates/index.html
CHANGED
@@ -50,10 +50,17 @@
|
|
50 |
width: 80vw;
|
51 |
}
|
52 |
|
53 |
-
.feed-wrapper
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
flex: 1;
|
|
|
55 |
}
|
56 |
-
|
57 |
.feed-wrapper {
|
58 |
padding: 1%;
|
59 |
border-style: solid;
|
@@ -67,8 +74,8 @@
|
|
67 |
position: absolute;
|
68 |
top: 0;
|
69 |
left: 0;
|
70 |
-
|
71 |
-
|
72 |
object-fit: contain;
|
73 |
}
|
74 |
|
@@ -92,9 +99,14 @@
|
|
92 |
flex-direction: column;
|
93 |
align-items: center;
|
94 |
}
|
95 |
-
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
}
|
100 |
|
|
|
50 |
width: 80vw;
|
51 |
}
|
52 |
|
53 |
+
.feed-wrapper {
|
54 |
+
width: 100%;
|
55 |
+
padding-top: 75%; /* 4:3 Aspect Ratio */
|
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: 1%;
|
66 |
border-style: solid;
|
|
|
74 |
position: absolute;
|
75 |
top: 0;
|
76 |
left: 0;
|
77 |
+
bottom: 0;
|
78 |
+
right: 0;
|
79 |
object-fit: contain;
|
80 |
}
|
81 |
|
|
|
99 |
flex-direction: column;
|
100 |
align-items: center;
|
101 |
}
|
102 |
+
|
103 |
+
.feed, .info {
|
104 |
+
max-width: 100%; /* Allow them to take up the entire width */
|
105 |
+
width: 90%; /* Set width to 90% of the container */
|
106 |
+
}
|
107 |
+
|
108 |
+
.feed-wrapper {
|
109 |
+
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
110 |
}
|
111 |
}
|
112 |
|