-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
78 lines (73 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>time</title>
<meta charset="utf-8" />
<meta name="description" content="moon and seasons clocks" />
<meta name="keywords" content="aqoleg, time, clock, moon, season" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#FFFF00" />
<link rel="icon" href="icon.png" />
<style>
html, body {
margin: 0px;
padding: 0px;
}
div {
overflow: hidden;
font-family: monospace, sans-serif;
}
.row {
margin: auto;
max-width: calc(50vh - 32px);
}
.row object {
display: block;
margin: 4px;
}
#footer {
margin-top: 16px;
text-align: center;
}
a {
color: black;
text-decoration: none;
outline: 0;
}
a:focus {
text-decoration: underline;
}
@media (orientation: landscape) {
#main {
margin: auto;
max-width: calc(200vh - 128px);
}
.row {
float: left;
width: 50%;
max-width: 100vw;
}
}
@media (hover: hover) {
a:hover {
text-decoration: underline;
}
}
</style>
</head>
<body>
<div id="main">
<div class="row">
<object id="moon" type="image/svg+xml" data="moon.svg"></object>
</div>
<div class="row">
<object id="seasons" type="image/svg+xml" data="seasons.svg"></object>
</div>
</div>
<div id="footer">
<a target="_blank" rel="noopener" href="more.html">more...</a>
</div>
<script src="astronomy.js"></script>
<script src="index.js"></script>
</body>
</html>