diff --git a/frontend/views/site/media-about.php b/frontend/views/site/media-about.php index b623362..1707282 100644 --- a/frontend/views/site/media-about.php +++ b/frontend/views/site/media-about.php @@ -30,6 +30,24 @@ use yii\web\View;
+
+
+ +
+
+
diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css index 7cc97d1..c4dfa8a 100644 --- a/frontend/web/css/main.css +++ b/frontend/web/css/main.css @@ -569,6 +569,35 @@ section.bar.background-gray.steps-pre:before { .links-ses-for-wr .container .row p{display: inline-block;background-position: top left;background-repeat: no-repeat;padding: 13px 0 13px 58px;} #mediaabout-wr .portfolio .box-image {padding-top: 56.1%;} +#mediaabout-wr .portfolio .box-image .post{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-position: center; + background-repeat: no-repeat; + background-size: contain; +} +#mediaabout-wr .portfolio .box-image .post a{ + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; +} +#mediaabout-wr .portfolio .box-image .post .title{ + text-align: left; + color: #fff; + width:100%; + font-size: 15px; + padding: 10px 20px; + padding-bottom: 15px; + position: absolute; + bottom: 0; + background-color: rgba(0, 0, 0, 0.5); + max-height: 50%; +} @media(min-width:1200px){ .links-ses-for-wr .container .row p {margin: 7px 20px;} -- libgit2 0.21.4