diff --git a/themes/bootstrap3/less/components/search.less b/themes/bootstrap3/less/components/search.less index 9ea8dfe1be8e43a2600d028eed2deb4b93e7d9fd..0cc861eb8e8989b419aff7da42ac143a59d17ae9 100644 --- a/themes/bootstrap3/less/components/search.less +++ b/themes/bootstrap3/less/components/search.less @@ -25,3 +25,5 @@ font-size: inherit; font-style: italic; } + +.wikipedia img { margin-right: 1rem; } \ No newline at end of file diff --git a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml index dd7f09e4cf1632d3116a5b0f4b179b89e9e09820..2bbd2c6de7338c92e7b8354cb5eb34b3705e4efc 100644 --- a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml +++ b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml @@ -1,6 +1,6 @@ <? $this->info = $this->recommend->getAuthorInfo() ?> <? if (!(empty($this->info['description']) || empty($this->info))): ?> -<div class="well clearfix"> +<div class="wikipedia well clearfix"> <h2><?=$this->info['name'] ?></h2> <? if (isset($this->info['image'])): ?> @@ -9,6 +9,6 @@ <?=preg_replace('/___baseurl___/', $this->url('search-results'), $this->info['description']) ?> - <a class="wikipedia" href="http://<?=$this->info['wiki_lang'] ?>.wikipedia.org/wiki/<?=$this->escapeHtmlAttr($this->info['name']/*url*/) ?>" target="new"><?=$this->transEsc('wiki_link') ?></a> + <a href="http://<?=$this->info['wiki_lang'] ?>.wikipedia.org/wiki/<?=$this->escapeHtmlAttr($this->info['name']/*url*/) ?>" target="new"><?=$this->transEsc('wiki_link') ?></a> </div> <? endif; ?> \ No newline at end of file