questgroup number determines css mood pic class
This commit is contained in:
parent
c3a555d6a0
commit
3e040b777d
2 changed files with 6 additions and 4 deletions
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
<?php foreach($questgroupshierarchy as &$hierarchy) : ?>
|
||||
<h3><?=$hierarchy['title_plural']?></h3>
|
||||
<ul>
|
||||
<ul class="questgroups">
|
||||
<?php foreach($hierarchy['questgroups'] as &$group) : ?>
|
||||
<li class="questgroup">
|
||||
<li class="questgroup<?=$group['pos']?>">
|
||||
<section>
|
||||
<p class="fwb"><?=$hierarchy['title_singular']?> <?=$group['pos']?>:
|
||||
<?php if(!array_key_exists('access', $group) || $group['access']) : ?>
|
||||
|
|
|
|||
|
|
@ -74,8 +74,10 @@ menu a{display:block;padding:15px 0;color:#fff}
|
|||
|
||||
article{padding-top:5.375em;margin-bottom:30px}
|
||||
|
||||
.questgroup{margin:0 0 25px 0;padding:150px 0 0 0;border-radius:3px;background:url('http://s14.directupload.net/images/140318/35229m97.png') no-repeat}
|
||||
.questgroup section{padding:20px;background:#fff}
|
||||
.questgroups li{margin:0 0 25px 0;padding:150px 0 0 0;border-radius:3px;background-position:50% 0}
|
||||
.questgroups section{padding:20px;background:#fff}
|
||||
.questgroup1{background:url('http://s14.directupload.net/images/140318/35229m97.png') no-repeat}
|
||||
.questgroup2{background:url('http://s14.directupload.net/images/140318/hwon92ew.png') no-repeat}
|
||||
|
||||
.xpbar{
|
||||
height:10px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue