Skip to content

Commit 522bc38

Browse files
authored
Update index4.html
1 parent ecb59a0 commit 522bc38

1 file changed

Lines changed: 26 additions & 34 deletions

File tree

index4.html

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,33 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>404 Not Found</title>
6-
<style>
7-
body {
8-
width: 35em;
9-
margin: 0 auto;
10-
font-family: "Times New Roman", Georgia, serif;
11-
background-color: #ffffff;
12-
color: #000000;
13-
}
14-
h1 {
15-
margin-top: 40px;
16-
font-size: 26px;
17-
}
18-
p {
19-
line-height: 1.5;
20-
font-size: 16px;
21-
}
22-
hr {
23-
border: none;
24-
border-top: 1px solid #000;
25-
}
26-
.footer {
27-
font-size: 12px;
28-
}
29-
</style>
4+
<meta charset="UTF-8">
5+
<title>404</title>
6+
<style>
7+
html, body {
8+
margin: 0;
9+
padding: 0;
10+
width: 100%;
11+
height: 100%;
12+
background: black;
13+
overflow: hidden;
14+
}
15+
body {
16+
position: relative;
17+
}
18+
.text {
19+
position: absolute;
20+
bottom: 40px; /* move up/down by changing this */
21+
left: 50%;
22+
transform: translateX(-50%);
23+
color: white;
24+
font-family: "Times New Roman", Times, serif;
25+
font-size: 24px;
26+
white-space: nowrap;
27+
}
28+
</style>
3029
</head>
3130
<body>
32-
<h1>404 Not Found</h1>
33-
<p>
34-
The requested URL was not found on this server.
35-
</p>
36-
<hr>
37-
<p class="footer">
38-
nginx
39-
</p>
31+
<div class="text">404 Not Found nginx.</div>
4032
</body>
4133
</html>

0 commit comments

Comments
 (0)