diff options
| author | 阔落 <45323514+BigCoke233@users.noreply.github.com> | 2019-03-31 13:47:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-31 13:47:33 +0800 |
| commit | 0b71b73f502022b6be3c7cf0116c5827dec85da9 (patch) | |
| tree | 90e354c55c3959339af8c9afae1d31e4e8524afc /includes/header.php | |
| parent | 855c860ad57cd7f05749af4a7d32e16969a2a87e (diff) | |
Bug fix
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/includes/header.php b/includes/header.php index f5c530c..03837f3 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,7 +1,7 @@ <header>
<div id="top"></div>
<!-- 导航栏 -->
- <nav class="navbar navbar-default navbar-fixed-top" id="nav">
+ <nav class="navbar navbar-default navbar-fixed-top" id="nav" <?php if($this->options->lgimg_url && $this->options->lgimg_url!='') :?>style="opacity:0.8"<?php endif; ?>>
<Div class="container-fluid">
<div class="nav-logo">
<span class="nav-logo-icon">
@@ -28,18 +28,17 @@ <!-- 首页大图 -->
<?php if($this->options->lgimg_url && $this->options->lgimg_url!='') :?>
- <div class="jumbotron" style="background:url('<?php $this->options->lgimg_url(); ?>');background-size:cover;background-repeat:no-repeat;">
+ <div class="jumbotron" style="margin-bottom:-80px;background:url('<?php $this->options->lgimg_url(); ?>');background-size:cover;background-repeat:no-repeat;">
<h1><?php $this->options->IndexName(); ?></h1>
<p><?php $this->options->IndexDecoration(); ?></p>
</div>
<?php endif; ?>
- <?php if($this->options->lgimg_url && $this->options->lgimg_url='') :?>
+
<br />
<br />
<br />
<br />
- <?php endif; ?>
<br />
<!-- 能偷懒不写样式为什么不用br? -->
|
