Поправил отображение картинок списка точек - сместил бэкграунд; увеличил шрифт на точках и статьях с 14 до 16px

This commit is contained in:
Krivchikov Dmitry 2015-10-31 19:29:18 +03:00
parent 1d455cb8e0
commit 57e7c691fe
4 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@
Вернуться <a href="/">на карту</a>. Вернуться <a href="/">на карту</a>.
</div> </div>
<div style="text-align: justify;"> <div class="mainTextBlock">
<?= $article->html; ?> <?= $article->html; ?>
</div> </div>
<p style="margin-top: 25px; text-align: right;"> <p style="margin-top: 25px; text-align: right;">

View File

@ -25,7 +25,7 @@ $index = 0;
<?php endif; ?> <?php endif; ?>
</div> </div>
<div style="text-align: justify;"> <div class="mainTextBlock">
<?php <?php
if (count($text) > 4) { if (count($text) > 4) {
for ($index = 0; $index < 4; $index++) { for ($index = 0; $index < 4; $index++) {

View File

@ -1,8 +1,9 @@
div.pointsWall {} div.pointsWall {}
div.pointsWall .line{} div.pointsWall .line{}
div.pointsWall .point {background-size: cover; width: 50%; height: 300px; display: inline-block; float: left; padding: 10px;} div.pointsWall .point {background-size: cover; background-position-y: 30%; width: 50%; height: 300px; display: inline-block; float: left; padding: 10px;}
div.pointsWall .point span.header {font-size: 22px; color: white; font-weight: bold; text-shadow: -1px -1px 0 #666, 1px -1px 0 #666, -1px 1px 0 #444, 1px 1px 0 #444;} div.pointsWall .point span.header {font-size: 22px; color: white; font-weight: bold; text-shadow: -1px -1px 0 #666, 1px -1px 0 #666, -1px 1px 0 #444, 1px 1px 0 #444;}
.mainTextBlock {font-size: 16px; text-align: justify;}
/* -------------------------------------------*/ /* -------------------------------------------*/
/* ------------- ADAPTIVE --------------------*/ /* ------------- ADAPTIVE --------------------*/

View File

@ -9,7 +9,7 @@
.lightBody {background-color: rgba(255,255,255, 0.8);margin-top: 0px;padding-bottom: 30px;} .lightBody {background-color: rgba(255,255,255, 0.8);margin-top: 0px;padding-bottom: 30px;}
.articlesList {} .articlesList {}
.articlesList .article {border: solid 1px #ddd; border-radius: 3px; padding: 8px; margin-bottom: 5px;background-color: rgba(255,255,255, 0.8);} .articlesList .article {border: solid 1px #ddd; border-radius: 3px; padding: 8px; margin-bottom: 5px;background-color: rgba(255,255,255, 0.8); font-size: 16px;}
.articlesList .article img {width: 100px; float: left; margin-right: 10px;} .articlesList .article img {width: 100px; float: left; margin-right: 10px;}
.articlesList .article .h {font-size: 18px; font-weight: bold; display: block;} .articlesList .article .h {font-size: 18px; font-weight: bold; display: block;}
.articlesList .article .date {font-size: 11px; color: #bbb; } .articlesList .article .date {font-size: 11px; color: #bbb; }