-
Notifications
You must be signed in to change notification settings - Fork 1
/
How-to-play.html
204 lines (200 loc) · 5.36 KB
/
How-to-play.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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html>
<head>
<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=Darumadrop+One&display=swap"
rel="stylesheet"
/>
<title>Test slide how to play</title>
<style>
* {
padding: 0;
margin: 0;
}
body {
background-image: url(pic/bg1.png);
background-size: cover;
background-repeat: no-repeat;
height: 100vh;
font-family: "Darumadrop One", cursive;
}
.title {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 50px;
display: flex;
font-size: 75px;
-webkit-text-stroke-width: 2px;
-webkit-text-stroke-color: black;
}
.main {
position: absolute;
top: 20%;
left: 50%;
transform: translateX(-50%);
height: 500px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-size: 36px;
}
.slider {
width: 800px;
height: 500px;
border-radius: 10px;
overflow: hidden;
}
.slides {
width: 500%;
height: 500px;
display: flex;
}
.slides input {
display: none;
}
.slide {
width: 20%;
transition: 2s;
}
.slide img {
width: 800px;
}
.navigation-manual {
position: absolute;
width: 800px;
margin-top: -40px;
display: flex;
justify-content: center;
}
.manual-btn {
border: 2px solid brown;
padding: 5px;
border-radius: 10px;
cursor: pointer;
transition: 1s;
}
.manual-btn:not(:last-child) {
margin-right: 40px;
}
.manual-btn:hover {
background-color: salmon;
}
#radio1:checked ~ .first {
margin-left: 0;
}
#radio2:checked ~ .first {
margin-left: -20%;
}
#radio3:checked ~ .first {
margin-left: -40%;
}
#radio4:checked ~ .first {
margin-left: -60%;
}
.back {
position: absolute;
bottom: 30px;
left: 35px;
}
.back img {
width: 100px;
}
.back :hover {
filter: invert(50%);
}
/*Jane*/
.mute img{
width: 80px;
}
.mute{
position: absolute;
bottom: 45px;
right: 80px;
}
/*------*/
</style>
</head>
<body>
<div class="title">
<div style="color: #3980bf">H</div>
<div style="color: #fdf354">O</div>
<div style="color: #d33844">W</div>
<div> </div>
<div style="color: #ebaaba">T</div>
<div style="color: #49a256">O</div>
<div> </div>
<div style="color: #d33844">P</div>
<div style="color: #3980bf">L</div>
<div style="color: #ebaaba">A</div>
<div style="color: #fdf354">Y</div>
</div>
<div class="main">
<div class="slider">
<div class="slides">
<!--radio buttons start-->
<input type="radio" name="radio-btn" id="radio1" />
<input type="radio" name="radio-btn" id="radio2" />
<input type="radio" name="radio-btn" id="radio3" />
<input type="radio" name="radio-btn" id="radio4" />
<!--radio buttons end-->
<!--slide image start-->
<div class="slide first">
<div class="content-slide">
<div>
Each block must contain all 9 characters without repetition
</div>
<img src="pic/Slide/Slide1.JPG" />
</div>
</div>
<div class="slide">
<div class="content-slide">
<div>
Complete the puzzle by filling it with these 9 characters
</div>
<img src="pic/Slide/Slide2.JPG" />
</div>
</div>
<div class="slide">
<div class="content-slide">
<div>
Each column must contain all 9 characters without repetition
</div>
<img src="pic/Slide/Slide3.JPG" />
</div>
</div>
<div class="slide">
<div class="content-slide">
<div>
Each row must contain all 9 characters without repetition
</div>
<img src="pic/Slide/Slide4.JPG" />
</div>
</div>
<!--slide image end-->
</div>
<!--manual navigation start-->
<div class="navigation-manual">
<label for="radio1" class="manual-btn"></label>
<label for="radio2" class="manual-btn"></label>
<label for="radio3" class="manual-btn"></label>
<label for="radio4" class="manual-btn"></label>
</div>
<!--manual navigation end-->
</div>
</div>
<a href="Home.html">
<div class="back" onclick="" id="backButton"><img src="pic/back.png" /></div>
</a>
<!--Jane-->
<div class="mute" onclick="" id="muteButton"><img id="soundImage" src="pic/sound_on.png"></div>
<!--Jane-->
<!--Jane-->
<script src="Sudoku.js"></script>
<script> Sudoku.createaudio() </script>
<!--Jane-->
</body>
</html>