Commit fb500101 authored by Ruslan Karimov's avatar Ruslan Karimov

#2425. Доработка вывода подзаголовков

parent 0c22a09d
......@@ -24,9 +24,11 @@ $models = CaseContent::find()
<a href="<?=$model->getPreparedUrl()?>" class="keys_block_small">
<img src="<?=$model->preview?>" height="338" width="455">
<div class="keys_small_title" <?php if($model->custom==CoContent::CUSTOM_WHITE){?>style="color:#fff;"<?php }?>>
<?=$model->lang->title?>
<span class="case_w_background"><?=$model->lang->title?></span>
<div class="case_subtitle">
<span class="case_w_background">
<?=$model->lang->subtitle?>
</span>
</div>
</div>
<div class="keys_small_foot">
......@@ -45,9 +47,9 @@ $models = CaseContent::find()
<img class="img_sm" src="<?=$model->preview_mob?>" height="338" width="455">
<?php endif; ?>
<div class="keys_small_title" <?php if($model->custom==CoContent::CUSTOM_WHITE){?>style="color:#fff;"<?php }?>>
<?=$model->lang->title?>
<span class="case_w_background"><?=$model->lang->title?></span>
<div class="case_subtitle">
<?=$model->lang->subtitle?>
<span class="case_w_background"><?=$model->lang->subtitle?></span>
</div>
</div>
<div class="keys_small_foot">
......
......@@ -13689,7 +13689,14 @@ a.appl_btn {
.case_subtitle {
font-size: 18px;
font-weight: normal;
margin-top: 40px;
margin-top: 30px;
}
.case_w_background {
display: inline-block;
color: #000000 !important;
background-color: rgba(248, 248, 249, 0.9);
padding: 10px 20px;
}
@media only screen and (min-width: 768px) and (max-width: 970px) {
.appl_par {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment