From 50db06e45c825758d35a812b1316b10e06d3ba73 Mon Sep 17 00:00:00 2001 From: zhegal Date: Tue, 30 Jan 2018 12:02:19 +0200 Subject: [PATCH] styles --- frontend/views/layouts/main.php | 2 +- frontend/web/css/main.css | 40 +++++++++++++++++++++++++++++++++------- 2 files changed, 34 insertions(+), 8 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 051dcac..ac79a48 100644 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -473,7 +473,7 @@
-

Координаты:

+

Координаты:

diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css index c9e3005..421550c 100644 --- a/frontend/web/css/main.css +++ b/frontend/web/css/main.css @@ -1,3 +1,4 @@ +body{position:relative;} .no-mg{margin:0;} #back-to-top{ background: #467fbf; @@ -448,22 +449,22 @@ section.bar.background-gray.steps-pre:before { } .portfolio .box-image { position: relative; - overflow: hidden; text-align: center; margin: 15px 0; - height: 0; - padding-top: 75%; } .portfolio .box-image .image { - position: absolute; top: 0; width: 100%; - height: 100%; + height: 0; + padding-top: 75%; } .portfolio .box-image .image img{ width: 100%; height: 100%; object-fit: cover; + position: absolute; + top: 0; + left: 0; } #objects-wr .bar.background-gray{ padding: 20px 0;} @@ -556,15 +557,35 @@ section.bar.background-gray.steps-pre:before { border-color: #467fbf; } /*отображать только 4 элемента в портфолио*/ -.portfolio > div:nth-child(1n+6) { +.object-view .portfolio > div:nth-child(1n+6) { display: none; } +.modal-body > form > .row > .col-md-12 { + padding: 0px 30px; +} +.row.calculate-main-wr { + padding-left: 15px; + padding-right: 15px; +} +/*heading breadcrumbs blue fon*/ +#heading-breadcrumbs{background-image: url(/img/slide_two_fon.png);} +#heading-breadcrumbs h1{color: #fdfdfd;} +#heading-breadcrumbs .breadcrumb > .active {color: #d0d0d0;} +#heading-breadcrumbs > .container > .row{ + display: flex; + align-items: center; +} @media(min-width:1200px){ .main-slider { min-height: 620px; } } +@media(min-width:992px){ + p.coord1{ + margin-top:-30px; + } +} @media(min-width:992px) and (max-width:1199px){ .pr_cover { max-width: 320px; @@ -748,6 +769,11 @@ section.bar.background-gray.steps-pre:before { float: none!important; } } +@media(max-width:520px){ + #heading-breadcrumbs h1 { + font-size: 5.78vw; + } +} @media(min-width:501px){ .bigtext#header3 h2{ width: 161%; @@ -763,7 +789,7 @@ section.bar.background-gray.steps-pre:before { h2, .h2 {font-size: 6vw;} .lead{font-size:16px;} .img-title table td.buts{ - width: 40px; + width: 40px!important; } .img-title table td.buts a.sqre_btn{ margin-bottom: 5px; -- libgit2 0.21.4