-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (80 loc) · 2.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/" />
<title>KPNC Parked</title>
<meta charset="UTF-8" />
<meta name="theme-color" content="#1473FC" />
<meta name="author" content="KPNC Technology" />
<link href="https://content.kpnc.io/" rel="preconnect" crossorigin />
<link href="https://content.kpnc.io/img/kpnc/favicon.png" rel="icon" />
<link href="https://content.kpnc.io/css/montserrat.css" rel="stylesheet" />
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
color: white;
max-width: 100%;
font-size: 18px;
overflow: hidden;
background-size: cover;
scroll-behavior: smooth;
background-color: black;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
font-family: "Montserrat", "Roboto", "Arial", sans-serif;
}
a {
left: 50%;
margin: 0;
bottom: 0;
width: 100vw;
height: 70px;
position: absolute;
transform: translate(-50%);
backdrop-filter: blur(2.5px);
}
img {
left: 50%;
margin: 0;
bottom: 10px;
height: 50px;
position: absolute;
transform: translate(-50%);
}
#hero {
margin: 30vh auto 0 auto;
height: calc(100vh - 50px - 30vh);
}
#hero h1 {
margin: 0.5rem;
text-align: center;
font-size: min(15vw, 70px);
animation: float 5s ease infinite both;
}
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(20px);
}
100% {
transform: translateY(0px);
}
}
</style>
</head>
<body>
<div id="hero">
<h1>KPNC Technology</h1>
<h1>Parked</h1>
</div>
<a href="https://www.kpnc.io/"><img src="https://content.kpnc.io/img/kpnc/logodark.webp" /></a>
<script>
document.body.style.backgroundImage = "url('https://content.kpnc.io/img/kpnc/stock/" + Math.floor((Math.random() * 60) + 1) + ".webp')";
</script>
</body>
</html>