quest image positioning inside quest text
This commit is contained in:
parent
8231233924
commit
2661c21b33
2 changed files with 2 additions and 5 deletions
|
|
@ -10,10 +10,6 @@
|
|||
<h4><?=$quest['title']?></h4>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if(!is_null($media)) : ?>
|
||||
<img src="<?=$linker->link(array('media','index',$seminary['url'],$media['url']))?>" />
|
||||
<?php endif ?>
|
||||
|
||||
<?php if(!is_null($queststatustext)) : ?>
|
||||
<section>
|
||||
<?php if($queststatus == 'solved') : ?>
|
||||
|
|
@ -29,7 +25,7 @@
|
|||
<section>
|
||||
<h1 id="questtext"><?=$questtext['type']?></h1>
|
||||
<div id="qtextbox">
|
||||
<p class="qtext"><?=\hhu\z\Utils::t($questtext['text'])?></p>
|
||||
<p class="qtext cf"><?php if(!is_null($media)) : ?><img src="<?=$linker->link(array('media','index',$seminary['url'],$media['url']))?>" /><?php endif ?><?=\hhu\z\Utils::t($questtext['text'])?></p>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ article{padding:70px 0 30px}
|
|||
|
||||
#qtextbox{font-size:.875em;border-radius:5px;background:#fff;border:15px solid #fff;height:200px;overflow:hidden}
|
||||
.qtext{padding-right:15px}
|
||||
.qtext img{float:right;margin-left:15px;max-width:30%;border-radius:3px}
|
||||
|
||||
.xpinfo{display:none}
|
||||
.xpbar{width:60%;float:left;height:10px;position:relative;background:#eee;border-radius:25px;margin:8px 0 16px}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue