-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (92 loc) · 3.56 KB
/
index.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!doctype HTML>
<html>
<head>
<title>smypf.com</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
color: #444444;
background: #fffff8;
margin: 10px 20px;
font-size: 14px;
}
header {
display: flex;
}
header h1 {
font-size: 14px;
font-weight: normal;
}
header h1 a {
text-decoration: none;
color: #444;
}
header .time {
position: relative;
top: -5px;
}
header hr {
flex-grow: 1;
height: 0px;
position: relative;
top: 9px;
margin-left: 10px;
margin-right: 10px;
}
ul li {
margin-bottom: 5px;
}
section {
line-height: 1.5;
width: 60vw;
margin: 0 auto;
min-width: 320px;
max-width: 666px;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
const date = new Date();
let hours = date.getHours().toString();
let minutes = date.getMinutes().toString();
let seconds = date.getSeconds().toString();
if(hours.length === 1) hours = "0" + hours;
if(minutes.length === 1) minutes = "0" + minutes;
if(seconds.length === 1) seconds = "0" + seconds;
const time = `${hours}:${minutes}:${seconds}`
document.querySelector(".time").innerText = time;
});
</script>
</head>
<body>
<header>
<h1><a href="/" title="smypf.com">~</a></h1>
<hr />
<p class="time"></p>
</header>
<section>
<p>After squatting on this domain for a decade I'm finally using it.</p>
<p>I doubt it will be anything special but that doesn't mean it's worthless.</p>
<p>What I've done (so far):</p>
<ul>
<li>Added a "How To" and updated stylings and some functionality on the <a href="/typing.html">Typing Practice page</a> - 2 Apr 2022</li>
<li>Updated <a href="/anxieties.html">the anxieties page</a> as the rules I set down for myself weren't realistic - 1 Apr 2022</li>
<li>Created a <a href="/counter.html">counter</a> - 1 Apr 2022</li>
<li>Shorter hiatus</li>
<li>Updated the <a href="/dumbbell-workouts.html">Dumbbell Workout</a> to work better on mobile - 19 Mar 2022</li>
<li>Long hiatus</li>
<li><a href="/typing.html">Simple typing practice</a> - 26 Feb 2022</li>
<li>Nothing happened here - 25 Feb 2022</li>
<li><a href="/dumbbell-workouts.html">Dumbbell Workout</a> - 24 Feb 2022</li>
<li>A new puppy joined our family. I didn't have time to do anything - 23 Feb 2022</li>
<li><a href="/resume.html">Résumé</a> - 22 Feb 2022</li>
<li><a href="/anxieties.html">Anxieties</a> - 21 Feb 2022</li>
<li>Updated the header to my liking - 21 Feb 2022</li>
<li>Fixed up the HTTPS setting - 21 Feb 2022s</li>
<li><a href="/">Created this website and put it online</a> - 20 Feb 2022</li>
</ul>
</section>
</body>
</html>