-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (77 loc) · 1.77 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>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Is It Pausa Lunga Yet?</title>
<script type="text/javascript">
function iify() {
now = new Date();
hour = now.getHours();
time = now.getMinutes();
if (hour == 11 && time >= 10 && time < 25) return "YES";
if (hour == 16 && time >= 10 && time < 25) return "YES";
return "NO";
}
</script>
<style type="text/css" media="screen">
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: Verdana, Geneva, sans-serif;
}
#outer {
position: absolute;
display: table;
width: 100%;
height: 99%;
margin: 0 auto;
}
#upper {
display: table-row;
width: 100%;
height: 85%;
}
#lower {
display: table-row;
width: 100%;
height: 15%;
max-height: 90px;
}
#content {
position: relative;
display: table-cell;
vertical-align: middle;
text-align: center;
}
#footer {
position: relative;
display: table-cell;
vertical-align: bottom;
text-align: center;
}
.big {
font-size: 36pt;
}
</style>
</head>
<body bgcolor="#ffffff">
<div id="outer">
<div id="upper">
<div id="content">
<span class="big"
><script>
document.write(iify());
</script></span
>
</div>
</div>
<div id="lower">
<div id="footer"></div>
</div>
</div>
</body>
</html>