-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.html
62 lines (44 loc) · 2.52 KB
/
1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="1.css">
<script type="text/javascript" src="https://theysaidso.com/gadgets/v3/theysaidso.js"></script>
</head>
<body>
<header>
<div class="clock" data-gr-c-s-loaded="true">
<span id="clocktext" class="clocktext">0:00 </span>
<span id="clocktextampm" class="clocktextampm">am</span>
<script>
"use strict";
var textElem = document.getElementById("clocktext");
var ampmElem = document.getElementById("clocktextampm");
var targetWidth = 0.4; // Proportion of full screen width
var curFontSize = 5; // Do not change
function updateClock() {
var d = new Date();
var s = "";
s += ((d.getHours() + 11) % 12 + 1) + ":";
s += (10 > d.getMinutes() ? "0" : "") + d.getMinutes() + "\u00A0";
//s += d.getHours() >= 12 ? "pm" : "am";
textElem.textContent = s;
textElem.style.fontSize = 125 + "px";
ampmElem.textContent = d.getHours() >= 12 ? "pm" : "am";
ampmElem.style.fontSize = 40 + "px";
setTimeout(updateClock, 60000 - d.getTime() % 60000 + 100);
}
updateClock();
</script>
</div> <!-- clock -->
<!-- <div id="quote_div" class="tso_simple_borders center_bottom q-t" >
<!-- <button onclick="quoteChange()" id="btn1">quotechange</button>
</div> -->
<div class="center_bottom myquotestyle">
<p id="quotep">‟ <span id="#spn"><script id="sc1">TheySaidSo.render({ qod_category: 'life'});</script></span> <span id="quoteclosespan">”</span></p>
</div>
<!-- <div class="quote_div2 center_bottom">
<span id="spn">" Everything will get better with time. Give time some time. "</span>
</div> -->
</header>
</body>
</html>