forked from owen0o0/WebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
27 lines (23 loc) · 1022 Bytes
/
404.php
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
<?php
if ( ! defined( 'ABSPATH' ) ) { exit; }
get_header(); ?>
<style type="text/css">
.data-null {text-align: center;padding:100px 0}
.data-null h1 {font-size: 6rem;padding: 0;}
.data-null .btn-home {color: #fff;position: relative;top: 0;padding: 10px 75px;background: #f1404b;font-weight: 600;border-radius: 900px;transition: .2s;box-shadow: 0px 5px 20px -3px rgba(249, 100, 90, .6);}
.data-null .btn-home:hover {top:2px;background:#333;box-shadow:none;transition:.2s}
.screen-reader-text{display: none;}
</style>
<div class="main-content">
<div class="row">
<div class="col-12 col-lg-12">
<section class="data-null">
<h1 class="font-theme">404</h1>
<p><?php _e('抱歉,没有你要找的内容...','i_theme') ?></p>
<div style="margin-top: 30px">
<a class="btn-home" href="<?php bloginfo('url'); ?>"><?php _e('返回首页','i_theme') ?></a>
</div>
</section>
</div>
</div>
<?php get_footer(); ?>