-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuide.html
More file actions
187 lines (170 loc) · 5.76 KB
/
Copy pathGuide.html
File metadata and controls
187 lines (170 loc) · 5.76 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guide's Data Sheet</title>
<link rel="stylesheet" href="style.css">
<style>
/* Style the dropdown button */
.dropbtn-left {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
width: 100%;
text-align: left;
}
/* The container <div> - needed to position the dropdown content */
.dropdown-left {
position: fixed;
left: 0;
top: 50px;
width: 200px;
z-index: 1;
}
/* Dropdown Content (hidden by default) */
.dropdown-content-left {
display: none;
position: relative;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content-left .toc-link {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content-left .toc-link:hover {
background-color: #f1f1f1;
}
/* Show the dropdown menu on hover */
.dropdown-left:hover .dropdown-content-left {
display: block;
}
/* Style the submenu button */
.submenu-btn-left {
background-color: #f9f9f9;
color: black;
padding: 12px 16px;
font-size: 16px;
border: none;
cursor: pointer;
display: block;
width: 100%;
text-align: left;
}
/* The container <div> - needed to position the submenu content */
.dropdown-submenu-left {
position: relative;
}
/* Submenu Content (hidden by default) */
.submenu-content-left {
display: none;
position: absolute;
left: 100%;
top: 0;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the submenu */
.submenu-content-left .toc-link {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of submenu links on hover */
.submenu-content-left .toc-link:hover {
background-color: #f1f1f1;
}
/* Show the submenu on hover */
.dropdown-submenu-left:hover .submenu-content-left {
display: block;
}
</style>
</head>
<body>
<header>
<h3 class="title">Q4 History Comp Review D&D</h3>
<p class="author">By: Teresa Jiang, Ashley Huang, Amy Chen, Benjamin Dai, Jacky Zeng</p>
<br>
<p class="author"><font size = "1">Special Thanks for the following Contributors: Morax Cheng, Bryant Wong, Carson Zhang</font></p>
</header>
<section class="toc">
<div class="dropdown dropdown-left">
<button class="dropbtn dropbtn-left">Table of Contents</button>
<div class="dropdown-content dropdown-content-left">
<a class="toc-link" href="chapter1.html">Chapter 1: Guidance from the Night – the year of 1597 </a>
<a class="toc-link" href="chapter2.html">Chapter 2: Road to the Shogunate</a>
<a class="toc-link" href="chapter3.html">Chapter 3: The Hidden Ones</a>
<a class="toc-link" href="chapter4.html">Chapter 4: The Battle of Seikigahara</a>
<a class="toc-link" href="FinalDungeon.html">Final Dungeon</a>
<a class="toc-link" href="Arsenal1.html">Arsenal 1</a>
<a class="toc-link" href="appendix.html">Appendix (Map, Player's handout, etc.)</a>
<div class="dropdown-submenu dropdown-submenu-left">
<button class="submenu-btn submenu-btn-left">NPC Datasheet</button>
<div class="submenu-content submenu-content-left">
<a class="toc-link" href="Ashigaru(No firearm).html">Ashigaru (No Firearm)</a>
<a class="toc-link" href="Ashigaru(Firearm).html">Ashigaru (Firearm)</a>
<a class="toc-link" href="TokugawaIeyasu.html">Tokugawa Ieyasu</a>
<a class="toc-link" href="ToyotomiHideyoshi.html">Toyotomi Hideyoshi</a>
<a class="toc-link" href="Guide.html">Guide</a>
<a class="toc-link" href="LightCavalry.html">Light Cavalry</a>
<a class="toc-link" href="HeavyCavalry.html">Heavy Cavalry</a>
<a class="toc-link" href="ToyotomiHideyori.html">Toyotomi Hideyori</a>
<a class="toc-link" href="Samurai.html">Samurai</a>
</div>
</div>
</div>
</div>
</section>
<main>
<section class="datasheet">
<h1>Guide's Data Sheet</h1>
<img src="Datasheet/Guide.png" alt="Guide's Data Sheet" class="datasheet-img">
</section>
</main>
<script src="script.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var submenuBtn = document.querySelector('.submenu-btn-left');
var submenuContent = document.querySelector('.submenu-content-left');
submenuBtn.addEventListener('click', function(e) {
e.stopPropagation();
submenuContent.style.display = submenuContent.style.display === 'block' ? 'none' : 'block';
});
// Close the dropdown if the user clicks outside of it
window.onclick = function(event) {
if (!event.target.matches('.submenu-btn-left')) {
if (submenuContent.style.display === 'block') {
submenuContent.style.display = 'none';
}
}
};
});
</script>
</body>
</html>
<!--
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h3 class="title">Q4 History Comp Review D&D</h3>
<p class="author">By: Teresa Jiang, Ashley Huang, Amy Chen, Benjamin Dai, Jacky Zeng</p>
<h1>Guide's Data Sheet</h1>
<img src="Datasheet/Guide.png">
</body>
</html>
-->