-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
84 lines (76 loc) · 2.19 KB
/
page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{pageTitle}}</title>
<style>
@font-face {
font-family: 'MinecraftFont';
src: url('/pageStuff/mcFont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'BasicallyASansSerifFont';
src: url('/pageStuff/ssFont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body {
background-color: black;
margin: auto;
display: flex;
align-items: end;
height: 100vh;
}
h1 {
color: white;
font-size: 7rem;
text-align: right;
white-space: nowrap;
font-family: 'MinecraftFont'; /* Apply the custom font */
margin: -15px;
letter-spacing: 5px;
margin-left: 2px;
text-align: center;
}
h2 {
font-family: 'MinecraftFont';
font-size: 2.5rem;
color: white;
text-align: center;
}
p {
font-size: 2.5rem; /* p tag font-size */
font-family: 'BasicallyASansSerifFont';
color: #FF7EA8;
margin: 20px;
text-align: center;
}
img {
max-width: 100%;
}
.tidbit {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
</style>
</head>
<body>
<div style="display: flex; flex-direction: column;">
<img src="/pageStuff/pageBg.jpg" style="
width: 100vw;
height: 100vh;
object-fit: cover;
" />
<div style="position: fixed; width: 100vw; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 40px;">
<h2>{{texth2}}</h2>
<h1>{{texth1}}</h1>
<p>{{textP}}</p>
</div>
</div>
</body>
</html>