-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (116 loc) · 2.53 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Deiniol.ca Index</title>
<link rel="stylesheet" href="styles/retro.css" />
<link
rel="icon"
type="image/png"
href="./tiny_gardens/assets/graphics/ui/uCREDITS.png"
/>
<style>
.hasShadow {
text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000,
2px 2px 0 #000;
}
.tileLink {
position: relative;
display: inline-block;
width: 15%;
max-width: 400px;
}
.tileLink img {
width: 100%;
}
.imageLabel {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: whitesmoke;
font-size: 2rem;
text-wrap: nowrap;
}
#siteContainer {
margin: 4rem;
margin-top: 8rem;
margin-bottom: 8rem;
}
#tileButtons {
display: flex;
flex-direction: row;
justify-content: space-evenly;
margin-top: 4rem;
}
@media (max-width: 1200px) {
.imageLabel {
font-size: 1.5rem;
}
}
@media (max-width: 1000px) {
.imageLabel {
font-size: 1rem;
}
}
@media (max-aspect-ratio: 1/1) {
body {
padding: 0%;
}
#tileButtons {
align-items: center;
flex-direction: column;
}
.imageLabel {
font-size: 1.5rem;
}
.tileLink {
width: 25%;
margin: 0.5rem;
}
}
</style>
</head>
<body>
<header>
<h1 class="hasShadow">[ deiniol.ca ]</h1>
</header>
<div id="siteContainer">
<div id="tileButtons">
<a class="tileLink" href="./personal/info.html">
<span class="imageLabel hasShadow">Info</span>
<img
class="tileImage"
src="./tiny_gardens/assets/graphics/ui/uFILLEDSLOT.png"
alt="Personal info."
/>
</a>
<a class="tileLink" href="./tiny_gardens/game.html">
<span class="imageLabel hasShadow">Tiny Gardens</span>
<img
class="tileImage"
src="./tiny_gardens/assets/graphics/ui/uFILLEDSLOT.png"
alt="Tiny Gardens."
/>
</a>
<a class="tileLink" href="https://horizons-server.org/">
<span class="imageLabel hasShadow">Horizons</span>
<img
class="tileImage"
src="./tiny_gardens/assets/graphics/ui/uFILLEDSLOT.png"
alt="Horizons Server link."
/>
</a>
<a class="tileLink" href="./misc/404.html">
<span class="imageLabel hasShadow">Other Projects</span>
<img
class="tileImage"
src="./tiny_gardens/assets/graphics/ui/uEMPTYSLOT.png"
alt="Personal info."
/>
</a>
</div>
</div>
</body>
</html>