-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (99 loc) · 3.4 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
100
101
<!DOCTYPE html>
<html lang="en">
<title>JS Games</title>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@import url('https://fonts.cdnfonts.com/css/roboto');
</style>
<style>
body {
font-family: Roboto, 'Courier New', Courier, monospace;
color: #ffffff;
background-color: rgb(37,37,38);
}
nav {
height: 4rem;
}
.title, .description {
text-align: center;
margin: 0;
}
.description {
color: rgb(170,170,170);
font-family: 'Roboto Thin';
}
.card-deck {
width: 64rem;
margin: 2rem auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2rem;
}
.card-deck a {
box-sizing: border-box;
text-decoration: none;
border: 1px solid rgb(65,65,65);
border-radius: .5rem;
width: 20rem;
height: 12rem;
padding: 1rem;
overflow: hidden;
text-align: center;
}
.card-deck a:hover {
border-color: rgb(170,170,170);;
}
.card-deck a:hover h4 {
color: #ffffff;
}
.card-deck a img {
max-width: 100%;
max-height: 9rem;
}
.card-deck a h4 {
color: rgb(170,170,170);
font-family: 'Roboto Thin';
margin: 0;
}
</style>
</head>
<body>
<nav></nav>
<h1 class="title">Games</h1>
<h4 class="description">Collection of simple games created in vanilla JavaScript</h4>
<div class="container">
<div class="card-deck">
<a href="js_snake/index.html">
<img src="img/snake.png" title="snake" />
<h4>Snake</h4>
</a>
<a href="js_pong/index.html">
<img src="img/pong.png" title="pong" />
<h4>Pong</h4>
</a>
<a href="js_flappybird/index.html">
<img src="img/flappybird.png" title="flappybird" />
<h4>FlappyBird</h4>
</a>
<a href="js_tetris/index.html">
<img src="img/tetris.png" title="tetris" />
<h4>Tetris</h4>
</a>
<a href="js_asteroids/index.html">
<img src="img/asteroid.png" title="asteroid" />
<h4>Asteroids</h4>
</a>
<a href="js_fool/index.html">
<img src="img/fool.png" title="fool" />
<h4>Fool</h4>
</a>
<!--<a href="roll-n-draw/index.html">
<img src="img/roll-n-draw.png" />
<h4>Roll 'n Draw</h4>
</a>-->
</div>
</div>
</body>
</html>