-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
76 lines (76 loc) · 1.74 KB
/
template.html
File metadata and controls
76 lines (76 loc) · 1.74 KB
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: #{color};
margin: 0;
}
.image-container {
position: relative;
text-align: center;
width: fit-content;
margin: auto;
}
.image-container img {
display: block;
}
.overlay-text-left {
position: absolute;
top: 15%;
left: 15%;
transform: translate(-50%, -50%);
color: #{color2};
font-family: 'Segoe UI', sans-serif;
font-size: 32px;
font-weight: bold;
text-shadow: 2px 2px 6px black;
}
.overlay-text-right {
position: absolute;
top: 15%;
left: 75%;
transform: translate(-50%, -50%);
color: #{color2};
font-family: 'Segoe UI', sans-serif;
font-size: 32px;
font-weight: bold;
text-shadow: 2px 2px 6px black;
}
.overlay-bottom {
position: absolute;
top: 95%;
left: 50%;
transform: translate(-50%, -50%);
color: #{color2};
font-family: 'Segoe UI', sans-serif;
font-size: 75px;
font-weight: bold;
text-shadow: 2px 2px 6px black;
}
a {
text-decoration: underline;
}
a:link {
color: #{color2};
}
a:visited {
color: #{color2};
}
a:active {
color: #{color2};
}
a:hover {
color: #{color2};
}
</style>
</head>
<body>
<div class="image-container">
<img src="F:\\temp\\test.png" alt="GunGame Logo">
<div class="overlay-text-left">Welcome to the official<br />GunGame Server!</div>
<div class="overlay-text-right"><a href="https://forums.sourcepython.com/viewtopic.php?f=7&t=1621">Check out GunGame SP</a></div>
<div class="overlay-bottom">{gamemode}</div>
</div>
</body>
</html>