Shadow & border fix
This commit is contained in:
parent
87c86c47ad
commit
b576c17446
5
404.php
5
404.php
|
@ -1,11 +1,12 @@
|
|||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<?php $this->need('header.php'); ?>
|
||||
|
||||
<div class="col mt-5 text-center" id="main" role="main">
|
||||
<div class="col mt-5" id="main" role="main">
|
||||
<article>
|
||||
<h1 class="font-weight-bold">404 NOT FOUND.</h1>
|
||||
<hr>
|
||||
<p><?php _e('您要找的页面不存在!'); ?></p>
|
||||
<p><a href=<?php $this->options->siteUrl(); ?> ><?php _e('返回首页'); ?></a> </p>
|
||||
<p><a class="btn btn-primary" href=<?php $this->options->siteUrl(); ?> ><?php _e('返回首页'); ?></a> </p>
|
||||
</article>
|
||||
</div><!-- end #content-->
|
||||
|
||||
|
|
|
@ -25,17 +25,12 @@
|
|||
font-weight: bold;
|
||||
line-height: 1.7;
|
||||
}
|
||||
/* Shadow Below 单边阴影,应用于 nav */
|
||||
.shadowb {
|
||||
box-shadow: 0 20px 20px rgba(50, 50, 93, .1), 0 5px 5px rgba(0, 0, 0, .07);
|
||||
}
|
||||
/* post content style */
|
||||
article, article a {
|
||||
color: #172b4d;
|
||||
}
|
||||
.post-title:before {
|
||||
content:'#';
|
||||
font-family: monospace;
|
||||
}
|
||||
article{
|
||||
font-size: 1rem;
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
<![endif]-->
|
||||
<body>
|
||||
|
||||
<?php if (!($this->is('post') or $this->is('page'))) { ?>
|
||||
<header id="header" class="clearfix mt-5 mb-4">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
@ -72,10 +71,9 @@
|
|||
</div><!-- end .row -->
|
||||
</div>
|
||||
</header><!-- end #header -->
|
||||
<?php } ?>
|
||||
|
||||
<!-- 如果 nav 放在 header 里,这个 sticky-top 就会被限制在 header 里,暂时只能这么写 -->
|
||||
<nav class="navbar navbar-light navbar-expand sticky-top shadowb">
|
||||
<nav class="navbar navbar-light navbar-expand sticky-top">
|
||||
<div class="container">
|
||||
<ul class="col navbar-nav justify-content-center">
|
||||
<li class="nav-item">
|
||||
|
|
Loading…
Reference in New Issue