s
This commit is contained in:
@@ -24,10 +24,47 @@ body.books-body {
|
|||||||
margin: 7px;
|
margin: 7px;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
}
|
}
|
||||||
|
#artikul{
|
||||||
|
color: #7a7a7a;
|
||||||
|
font-size: .9em;
|
||||||
|
margin:0px;
|
||||||
|
}
|
||||||
|
#pricename-book, .pricename-author {
|
||||||
|
margin:7px 0px;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
.pricename-author {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #686868;
|
||||||
|
}
|
||||||
.pricename {
|
.pricename {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
.pricename-rubric, .pricename_author-rubric {
|
||||||
|
position: absolute;
|
||||||
|
margin: 0px;
|
||||||
|
right: 9px;
|
||||||
|
top: 5px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: .7em;
|
||||||
|
font-weight: bold;
|
||||||
|
background: #e4e4e4;
|
||||||
|
padding: 0px 5px;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
.pricename_author-rubric {
|
||||||
|
position: relative;
|
||||||
|
top:0px;
|
||||||
|
right:0px;
|
||||||
|
background: none;
|
||||||
|
padding:0px;
|
||||||
|
color: #0b59a3;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.pricename-rubric a {
|
||||||
|
color: #0d58a3;
|
||||||
|
}
|
||||||
#priceanons {
|
#priceanons {
|
||||||
width: calc(65% - 20px);
|
width: calc(65% - 20px);
|
||||||
background: white;
|
background: white;
|
||||||
@@ -37,7 +74,13 @@ body.books-body {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
letter-spacing: 0.1px;
|
letter-spacing: 0.1px;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
|
position:relative;
|
||||||
}
|
}
|
||||||
|
#item_info-main {
|
||||||
|
list-style-type: none;
|
||||||
|
margin:0px;
|
||||||
|
padding:0px;
|
||||||
|
}
|
||||||
.price {
|
.price {
|
||||||
background: #0e920e;
|
background: #0e920e;
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
|||||||
@@ -3,18 +3,18 @@
|
|||||||
<img style="width:100%;" src="<?=$book['pic']?>">
|
<img style="width:100%;" src="<?=$book['pic']?>">
|
||||||
</div>
|
</div>
|
||||||
<div id="priceanons">
|
<div id="priceanons">
|
||||||
<p class="artikul"><small>Артикул <?=$book['price_id']?></small></p>
|
<p id="artikul">Артикул <?=$book['price_id']?></p>
|
||||||
|
<h1 id="pricename-book"><?=$book['pricename']?></h1>
|
||||||
<?if ($book['priceauthor_id'] > 1):?>
|
<?if ($book['priceauthor_id'] > 1):?>
|
||||||
<p class="pricename">
|
<p class="pricename-author">
|
||||||
<a href="<?=SITE?>author/<?=$book['authorslug']?>"><?=$book['author']?></a>
|
<?=$book['author']?> (<a class="pricename_author-rubric" href="<?=SITE?>author/<?=$book['authorslug']?>">Все книги автора</a>)
|
||||||
</p>
|
</p>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<?if ($book['pricepart_id'] > 0):?>
|
<?if ($book['pricepart_id'] > 0):?>
|
||||||
<p style="text-align: right;">
|
<p class="pricename-rubric">
|
||||||
<a href="<?=SITE?>knigi/<?=$book['partalias']?>"><?=$book['partname']?></a>
|
<a href="<?=SITE?>knigi/<?=$book['partalias']?>"><?=$book['partname']?></a>
|
||||||
</p>
|
</p>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<p class="pricename"><?=$book['pricename']?></p>
|
|
||||||
<?=$book['priceanons']?>
|
<?=$book['priceanons']?>
|
||||||
<?if ($buy_status):?>
|
<?if ($buy_status):?>
|
||||||
<p class="price"><a href="<?=$book['links']['pdf']?>">Читать PDF</a></p>
|
<p class="price"><a href="<?=$book['links']['pdf']?>">Читать PDF</a></p>
|
||||||
@@ -37,11 +37,6 @@
|
|||||||
|
|
||||||
<?endif?>
|
<?endif?>
|
||||||
|
|
||||||
<?if ($book['priceauthor_id'] > 1):?>
|
|
||||||
<p class="pricename">
|
|
||||||
<a href="<?=SITE?>author/<?=$book['authorslug']?>">Все книги автора</a>
|
|
||||||
</p>
|
|
||||||
<?endif?>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user