summaryrefslogtreecommitdiff
path: root/includes/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php7
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? -->