-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.html
117 lines (112 loc) · 3.82 KB
/
help.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
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Help</title>
<link rel="icon" href="./img/icons/favicon.ico">
<style>
html {
height: 100%;
margin: 0;
}
body {
height: 100%;
margin: 0;
padding: 0;
background-image: url('./img/bg-2.jpg');
background-repeat: repeat repeat;
}
a {
color: whitesmoke;
margin-left: 20px;
text-decoration:none;
}
a:hover {
cursor: pointer;
text-decoration: underline;
color: #daa520;
}
.nav-wrapper {
min-height: 50px;
}
#nav {
font-family: 'Didact Gothic', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 20px;
background-color: #222222;
border-bottom: #93742A;
border-width: 5px;
text-align: center;
vertical-align: text-bottom;
line-height: 2;
min-height: 40px;
}
#mainWrapper {
display: flex;
align-items: start;
justify-content: center;
height: 100%;
width: 100%;
}
.content {
color: whitesmoke;
font-family: 'Didact Gothic', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
margin: 20px;
}
</style>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Odibee+Sans&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap" rel="stylesheet">
</head>
<body>
<div class="nav-wrapper" >
<div id="nav">
<a href="index.html">Eroica</a>
<a href="urworld.html">Ur World</a>
<a href="progress.html">Progress</a>
<a href="help.html">Help</a>
<a href="about.html">About</a>
</div>
</div>
<div id="mainWrapper">
<div id="help" style="color: whitesmoke; font-family: 'Century Gothic', 'Helvetica', sans-serif;max-width: 800px">
<h1 class="content" style="font-size: 20px">
Help
</h1>
<div class="content">
<p style="max-width: 520px">
If you have a problem with video showing fullscreen (likely with the safari browser)
uncheck this checkbox and we wont try to show it that way.
</p>
<p>
<input id="showVideoFullScreenChk"
onclick=window.toggleVideoFullScreen()
type="checkbox"/>
<label>
Show Video Fullscreen
</label>
</p>
</div>
</div>
</div>
<script>
window.addEventListener("load", function (){
// initialize whether to show video fullscreen but allow a local setting to override it
let showVideoFullScreen = false
let videoFullScreenLocal = localStorage.getItem('showVideoFullScreen')
if (videoFullScreenLocal === "true") {
showVideoFullScreen = true
}
document.getElementById("showVideoFullScreenChk").checked = showVideoFullScreen
})
window.toggleVideoFullScreen = function() {
let chk = document.getElementById("showVideoFullScreenChk").checked
localStorage.setItem('showVideoFullScreen', chk)
}
</script>
</body>
</html>