-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
110 lines (97 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<style type="text/css">
html,
body {
height: 100%;
}
body {
font-family: "Open Sans", sans-serif;
background-color: #fff;
overflow: hidden;
background: rgb(250, 250, 250);
color: rgb(102, 102, 102);
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
strong {
color: rgb(23, 23, 23);
font-weight: 600;
}
a:link {
color: rgb(23, 23, 23);
}
h1,
h2 {
color: rgb(23, 23, 23);
}
main {
text-align: center;
}
main header {
position: relative;
margin-bottom: 5em;
}
main header h1 {
font-size: clamp(46px, 11vw, 128px);
text-align: center;
font-weight: 600;
letter-spacing: clamp(-5px, calc(-1px - 1vw), 5px);
margin: 0;
}
main header p {
font-size: clamp(14px, 2vw, 20px);
}
main footer a {
font-size: 3vw;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
body {
background: rgb(0, 0, 0);
color: rgb(161, 161, 161);
}
strong {
color: rgb(237, 237, 237);
}
a:link {
color: rgb(237, 237, 237);
}
h1,
h2 {
color: rgb(237, 237, 237);
}
}
</style>
<body>
<main>
<header>
<h1></h1>
<p>
<strong>This domain is for sale.</strong> Send us an email with your
best offer!
</p>
</header>
<footer>
<a href=""></a>
</footer>
</main>
<script>
const domain = document.domain;
const heading = document.querySelector("h1");
const link = document.querySelector("a");
document.title = domain;
document.description = domain;
heading.textContent = domain;
link.textContent = `info@${domain}`;
link.href = `mailto:info@${domain}`;
</script>
</body>
</html>