-
Notifications
You must be signed in to change notification settings - Fork 0
/
index v2.html
154 lines (105 loc) · 2.54 KB
/
index v2.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
<!DOCTYPE html>
<html>
<head>
<title>My Drive - Google Drive</title>
<link rel="icon" type="image/x-icon" href="Media/drive-icon.png">
<style>
body {
background-color: black;
}
container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
height: 100px;
}
h1 {
color: white;
text-align: center;
}
p {
color: white;
text-align: center;
}
img {
position: relative;
animation-name: slide;
animation-duration: 10s;
display: block;
margin-left: auto;
margin-right: auto;
animation-delay: 2s;
animation-fill-mode: forwards;
}
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
text-align: center;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
</style>
</head>
<body>
<h1>Welcome to the Games Drive!</h1>
<center>
<video src="Media/games-drive-new.mp4" autoplay muted preload="auto" height="220px" width="350px"></video>
</center>
<p>Check the <a href="status.html">Site Status</a> for updates on what I am deving.</p>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="index.html">Home</a>
<a href="main.html">Games</a>
<a href="lightbulb.html">Lightbulb</a>
<a href="practice.html">Page of Random</a>
</div>
<center>
<button
style="cursor:pointer;color: white;background-color: blue;padding: 10px 24px; border: 8px; border-color: red; border- radius: 4px;"
onclick="openNav()">☰ Open Menu</button>
</center>
<script>
function openNav() {
document.getElementById("mySidenav").style.width = "100%";
}
function closeNav() {
document.getElementById("mySidenav").style.width = "0";
}
</script>
<br>
</body>
</html>