mirror of
https://github.com/typecho/typecho.git
synced 2025-03-14 15:09:41 +01:00
调整自定义 logo 样式
This commit is contained in:
parent
0a04ab9924
commit
b675161c79
@ -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">
|
||||
|
@ -123,6 +123,10 @@ textarea {
|
||||
color: #333;
|
||||
font-size: 2.5em;
|
||||
}
|
||||
#logo img {
|
||||
max-height: 64px;
|
||||
}
|
||||
|
||||
.description {
|
||||
margin: .5em 0 0;
|
||||
color: #999;
|
||||
|
Loading…
x
Reference in New Issue
Block a user