调整自定义 logo 样式

This commit is contained in:
fen 2016-07-17 18:24:28 +08:00
parent 0a04ab9924
commit b675161c79
2 changed files with 8 additions and 3 deletions

View File

@ -35,13 +35,14 @@
<div class="container">
<div class="row">
<div class="site-name col-mb-12 col-9">
<?php if ($this->options->logoUrl): ?>
<a id="logo" href="<?php $this->options->siteUrl(); ?>">
<?php if ($this->options->logoUrl): ?>
<img src="<?php $this->options->logoUrl() ?>" alt="<?php $this->options->title() ?>" />
<?php endif; ?>
<?php $this->options->title() ?>
</a>
<?php else: ?>
<a id="logo" href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title() ?></a>
<p class="description"><?php $this->options->description() ?></p>
<?php endif; ?>
</div>
<div class="site-search col-3 kit-hidden-tb">
<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">

View File

@ -123,6 +123,10 @@ textarea {
color: #333;
font-size: 2.5em;
}
#logo img {
max-height: 64px;
}
.description {
margin: .5em 0 0;
color: #999;