Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +13 -9
templates/index.html
CHANGED
@@ -12,6 +12,10 @@
|
|
12 |
<link rel="icon" type="image/png" href="https://i.ibb.co/gvKPXJD/eye.gif">
|
13 |
<title>{{ page_title|safe }}</title>
|
14 |
<style>
|
|
|
|
|
|
|
|
|
15 |
button {
|
16 |
cursor: pointer;
|
17 |
}
|
@@ -48,7 +52,7 @@
|
|
48 |
margin-bottom: 0px;
|
49 |
margin-top: 0px !important;
|
50 |
border-bottom: 2px solid yellow;
|
51 |
-
color:
|
52 |
font-family: 'Helvetica'; font-weight: 50;
|
53 |
}
|
54 |
.pulse {
|
@@ -139,17 +143,17 @@
|
|
139 |
background-color: transparent;
|
140 |
border-radius: 5px;
|
141 |
text-decoration: none;
|
142 |
-
color:
|
143 |
transition: 0.5s ease;
|
144 |
}
|
145 |
.hoverButton {
|
146 |
-
color:
|
147 |
}
|
148 |
.tag {
|
149 |
font-family: 'Helvetica';
|
150 |
font-weight: 50;
|
151 |
margin: auto;
|
152 |
-
color:
|
153 |
}
|
154 |
|
155 |
#share {
|
@@ -232,7 +236,7 @@
|
|
232 |
</a>
|
233 |
<!--<a class="abortButton" href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">-->
|
234 |
<a class="abortButton" href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">
|
235 |
-
<button class="hoverButton" style="border-radius: 5px; border: 2px solid
|
236 |
refresh
|
237 |
</button>
|
238 |
</a>
|
@@ -241,7 +245,7 @@
|
|
241 |
<p id="copied" class="tag" style="visibility: hidden;">copied</p>
|
242 |
</div>
|
243 |
|
244 |
-
<p id="info-text" style="color:
|
245 |
|
246 |
time: <span id="time"></span><br>
|
247 |
|
@@ -251,7 +255,7 @@
|
|
251 |
lat, lon: {{ loc }}
|
252 |
</span>
|
253 |
|
254 |
-
<span id="show-more">more <i style="margin-bottom:20px; color:
|
255 |
|
256 |
<span class="tag"><br>a brayden moore website<br></span>
|
257 |
thanks for visiting<br>
|
@@ -471,10 +475,10 @@
|
|
471 |
if (additionalInfo.style.height === '0px') {
|
472 |
const scrollHeight = additionalInfo.scrollHeight;
|
473 |
additionalInfo.style.height = `${scrollHeight}px`;
|
474 |
-
showMore.innerHTML = 'less <i style="margin-bottom:20px; color:
|
475 |
} else {
|
476 |
additionalInfo.style.height = '0';
|
477 |
-
showMore.innerHTML = 'more <i style="margin-bottom:20px; color:
|
478 |
}
|
479 |
});
|
480 |
});
|
|
|
12 |
<link rel="icon" type="image/png" href="https://i.ibb.co/gvKPXJD/eye.gif">
|
13 |
<title>{{ page_title|safe }}</title>
|
14 |
<style>
|
15 |
+
:root {
|
16 |
+
--text-color: rgb(63,63,63);
|
17 |
+
}
|
18 |
+
|
19 |
button {
|
20 |
cursor: pointer;
|
21 |
}
|
|
|
52 |
margin-bottom: 0px;
|
53 |
margin-top: 0px !important;
|
54 |
border-bottom: 2px solid yellow;
|
55 |
+
color:rgbvar(--text-color);
|
56 |
font-family: 'Helvetica'; font-weight: 50;
|
57 |
}
|
58 |
.pulse {
|
|
|
143 |
background-color: transparent;
|
144 |
border-radius: 5px;
|
145 |
text-decoration: none;
|
146 |
+
color:rgbvar(--text-color);
|
147 |
transition: 0.5s ease;
|
148 |
}
|
149 |
.hoverButton {
|
150 |
+
color: var(--text-color);
|
151 |
}
|
152 |
.tag {
|
153 |
font-family: 'Helvetica';
|
154 |
font-weight: 50;
|
155 |
margin: auto;
|
156 |
+
color:var(--text-color);
|
157 |
}
|
158 |
|
159 |
#share {
|
|
|
236 |
</a>
|
237 |
<!--<a class="abortButton" href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">-->
|
238 |
<a class="abortButton" href="?new=false&id={{ id }}" id="refreshSameFeedButton" style="display: inline-block;">
|
239 |
+
<button class="hoverButton" style="border-radius: 5px; border: 2px solid rgbvar(--text-color); background-color: transparent; padding: 10px;">
|
240 |
refresh
|
241 |
</button>
|
242 |
</a>
|
|
|
245 |
<p id="copied" class="tag" style="visibility: hidden;">copied</p>
|
246 |
</div>
|
247 |
|
248 |
+
<p id="info-text" style="color:rgbvar(--text-color); font-family: 'Helvetica'; font-weight: 50;">
|
249 |
|
250 |
time: <span id="time"></span><br>
|
251 |
|
|
|
255 |
lat, lon: {{ loc }}
|
256 |
</span>
|
257 |
|
258 |
+
<span id="show-more">more <i style="margin-bottom:20px; color:rgbvar(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i></span>
|
259 |
|
260 |
<span class="tag"><br>a brayden moore website<br></span>
|
261 |
thanks for visiting<br>
|
|
|
475 |
if (additionalInfo.style.height === '0px') {
|
476 |
const scrollHeight = additionalInfo.scrollHeight;
|
477 |
additionalInfo.style.height = `${scrollHeight}px`;
|
478 |
+
showMore.innerHTML = 'less <i style="margin-bottom:20px; color:rgbvar(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>';
|
479 |
} else {
|
480 |
additionalInfo.style.height = '0';
|
481 |
+
showMore.innerHTML = 'more <i style="margin-bottom:20px; color:rgbvar(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>';
|
482 |
}
|
483 |
});
|
484 |
});
|