-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (95 loc) · 3.33 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
<!DOCTYPE html>
<html lang="da">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/general.css">
<link rel="stylesheet" href="styles/index.css">
<script src="scripts/general.js"></script>
<script src="scripts/jquery-3.7.1.min.js"></script>
<title>Katastrofe spil</title>
<meta charset="UTF-8">
<link rel="icon" type="image/x-icon" href="img/star.svg">
<meta name="description" content="et brætspil som lærer børn hvordan man er sikker online">
<meta name="keywords" content="Brætspil, internet sikkerhed, ON, red barnet">
<meta name="author" content="Cornelius Rosenaa">
</head>
<body>
<div style="overflow-x: hidden;">
<script>
LoadNavBar = function () {
// loading a different nav bar depending on phone type
if (
navigator.userAgent.match(/Android/i) ||
navigator.userAgent.match(/webOS/i) ||
navigator.userAgent.match(/iPhone/i) ||
navigator.userAgent.match(/iPad/i) ||
navigator.userAgent.match(/iPod/i) ||
navigator.userAgent.match(/BlackBerry/i) ||
navigator.userAgent.match(/Windows Phone/i) ||
Math.min(window.screen.width, window.screen.height) < 768 ||
(navigator.userAgent.indexOf("Mobi") > -1)
) {
document.documentElement.classList.toggle("mobile", true);
}
// nav bar for touch-screen (mobile) devices
else {
document.documentElement.classList.toggle("mobile", false);
}
};
window.onresize = function () {
LoadNavBar()
};
LoadNavBar()
</script>
<!--end of mobile code-->
<h1 class="header">KATASTROFE</h1>
<div class="cardContainer">
<a href="about.html" class="card">
<p class="cardText"><b></b></p>
<img class="cardIcon" src="img/about.svg" alt="">
</a>
<a href='play.html' class="card">
<p class="cardText"><b></b></p>
<img class="cardIcon" src="img/play.svg" alt="">
</a>
<a href="rules.html" class="card">
<p class="cardText"><b></b></p>
<img class="cardIcon" src="img/rules.svg" alt="">
</a>
</div>
<section class="TextBody">
<p><b>Katastrofe</b> er et brætspil som lærer børn hvordan man er sikker online!</p>
<p>Spillet er simplet hen om at rulle en terning, bevæge sig over et <b>(semi)</b>lineært bræt, trække kort
og
svare sociale situationer der er på dem.</p>
</section>
<div id="boxContainer">
<img src="3d/Embellage.png" id="box">
</div>
<!--
<div class="TextBody">
<p><b>Q/A</b></p>
<details>
<summary>
Spørgsmål 1
</summary>
<p>Svar 1</p>
</details>
<details>
<summary>
Spørgsmål 2
</summary>
<p>Svar 2</p>
</details>
<details>
<summary>
Spørgsmål 3
</summary>
<p>Svar 3</p>
</details>
</div>
-->
</div>
</body>
</html>