forked from candiceliu0421/nctu_po
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
36 lines (34 loc) · 1.41 KB
/
404.php
File metadata and controls
36 lines (34 loc) · 1.41 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/image/favicon.ico" type="image/x-icon">
<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>
<style media="screen">
body {margin: 0;}
.custom-404 {
text-align: center;
height: 100vh;
background-image: url(<?php bloginfo('template_url'); ?>/image/p4.png);
background-size: auto;
background-repeat: repeat;
height: 100vh;
}
.custom-404 > div {margin-top: 30vmin; display: inline-block;}
.custom-404 h1, .custom-404 h2 {border: none; box-shadow: none; margin: 0; padding: 0;}
.custom-404 h1 {font-size: 8.0em; text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);}
.custom-404 h2 {font-size: 2.0em; line-height: 2.0em;}
</style>
</head>
<body>
<div class="custom-404">
<div>
<h1 class="error-title title">404</h1>
<h2 class="error-message">Page not found</h2>
<div class="error-content">
<p>The page you requested cannot be found.</p>
<p><a href="<?php echo site_url(); ?>"><span>Return to the Homepage</span></a></p>
</div>
</div>
</div>
</html>