Commit 922ea3e18d66dd1c3335dfa2c9658a0dbef86054
1 parent
4fb64eb5
123
Showing
2 changed files
with
32 additions
and
9 deletions
Show diff stats
frontend/views/site/index.php
| ... | ... | @@ -146,7 +146,9 @@ $this->title = "Главная"; |
| 146 | 146 | </div> |
| 147 | 147 | </section> |
| 148 | 148 | <section class="main-box5"> |
| 149 | + <div class="spoil"> | |
| 149 | 150 | <p>На одной из центральных улиц Киева (був. Леси Украинки, 23) расположился шоу-рум «Баккара», в котором можно познакомиться с тщательно отобранными образцами продукции и многочисленными каталогами самых известных и надежных поставщиков Европы и всего мира...</p> |
| 150 | 151 | <div class="more"><a href="#">Узнать больше</a></div> |
| 152 | + </div> | |
| 151 | 153 | </section> |
| 152 | 154 | </div> | ... | ... |
frontend/web/css/style.css
| ... | ... | @@ -105,10 +105,9 @@ header a.main:hover{ |
| 105 | 105 | background-image: url('../images/line2.png'); |
| 106 | 106 | background-position: center 55px; |
| 107 | 107 | background-repeat: no-repeat; |
| 108 | - font-weight: bold; | |
| 109 | 108 | } |
| 110 | 109 | .menu li a:hover, .menu li a.active{ |
| 111 | - background-position: center 22px; | |
| 110 | + background-position: center 22.5px; | |
| 112 | 111 | color:#a9aaa9; |
| 113 | 112 | } |
| 114 | 113 | .menu a.active{ |
| ... | ... | @@ -250,7 +249,6 @@ footer .socbuts a:hover{ |
| 250 | 249 | font-family: 'Lato-Medium'; |
| 251 | 250 | text-transform: uppercase; |
| 252 | 251 | font-size: 11px; |
| 253 | - font-weight: 600; | |
| 254 | 252 | color: black; |
| 255 | 253 | padding: 13px; |
| 256 | 254 | background-image: url('../images/line4.png'); |
| ... | ... | @@ -264,7 +262,8 @@ footer .socbuts a:hover{ |
| 264 | 262 | background-position: center 33px; |
| 265 | 263 | } |
| 266 | 264 | .carousel{ |
| 267 | - margin: 0px 26.5px; | |
| 265 | + max-width: 1034px; | |
| 266 | + margin: 0 auto; | |
| 268 | 267 | position:relative; |
| 269 | 268 | } |
| 270 | 269 | .link_big{ |
| ... | ... | @@ -282,6 +281,8 @@ footer .socbuts a:hover{ |
| 282 | 281 | border: 1px solid #9f9e9e; |
| 283 | 282 | } |
| 284 | 283 | .main-box2{ |
| 284 | + max-width: 1088px; | |
| 285 | + margin: 0 auto; | |
| 285 | 286 | padding-bottom:10px; |
| 286 | 287 | padding-top: 52px; |
| 287 | 288 | background-image:url('../images/line3.png'); |
| ... | ... | @@ -289,6 +290,9 @@ footer .socbuts a:hover{ |
| 289 | 290 | background-position: bottom center; |
| 290 | 291 | } |
| 291 | 292 | .main-box3{ |
| 293 | + max-width: 1072px; | |
| 294 | + margin: 0 auto; | |
| 295 | + letter-spacing: 0.4px; | |
| 292 | 296 | padding: 10px 0; |
| 293 | 297 | background-image:url('../images/line3.png'); |
| 294 | 298 | background-repeat:no-repeat; |
| ... | ... | @@ -350,20 +354,25 @@ footer .socbuts a:hover{ |
| 350 | 354 | transition:0.2s; |
| 351 | 355 | } |
| 352 | 356 | .main-box4 a:hover .title{ |
| 353 | - background-position: center 29px; | |
| 357 | + background-position: center 33.5px; | |
| 354 | 358 | } |
| 355 | 359 | .main-box4 .col-md-6{ |
| 356 | 360 | padding-bottom: 7px; |
| 357 | 361 | } |
| 358 | 362 | .main-box5{ |
| 359 | - font-size:15px; | |
| 363 | + font-size: 15px; | |
| 360 | 364 | line-height: 24px; |
| 361 | 365 | padding-top: 48px; |
| 362 | 366 | margin-bottom: 75px; |
| 367 | + max-width: 1030px; | |
| 368 | + margin-left: auto; | |
| 369 | + margin-right: auto; | |
| 363 | 370 | } |
| 364 | 371 | .main-box5 p{ |
| 365 | - padding:0; | |
| 372 | + padding: 0; | |
| 366 | 373 | margin: 0px 0px 21px 0px; |
| 374 | + letter-spacing: 0.4px; | |
| 375 | + font-family: 'Lato-Medium'; | |
| 367 | 376 | } |
| 368 | 377 | .more{ |
| 369 | 378 | display: flex; |
| ... | ... | @@ -449,7 +458,7 @@ footer .socbuts a:hover{ |
| 449 | 458 | width:305px; |
| 450 | 459 | margin:0 20px; |
| 451 | 460 | color: #838383; |
| 452 | - font-family: 'Lato-Bold'; | |
| 461 | + font-family: 'Lato-Medium'; | |
| 453 | 462 | font-size: 14px; |
| 454 | 463 | } |
| 455 | 464 | .post .title{ |
| ... | ... | @@ -545,7 +554,10 @@ footer .socbuts a:hover{ |
| 545 | 554 | .blog_link:hover .center_line{ |
| 546 | 555 | background-position: center 34px; |
| 547 | 556 | } |
| 548 | -.main-box2 .post{margin-top:14px;} | |
| 557 | +.main-box2 .post{ | |
| 558 | + margin-top: 14px; | |
| 559 | + max-width: 683px; | |
| 560 | +} | |
| 549 | 561 | .nav_up{ |
| 550 | 562 | font-size: 8.48px; |
| 551 | 563 | text-transform: uppercase; |
| ... | ... | @@ -1701,6 +1713,11 @@ p.right{text-align: right;} |
| 1701 | 1713 | .note .picture{margin: 0 0 25px;} |
| 1702 | 1714 | .note{margin: 17px 0px 75px 0px;} |
| 1703 | 1715 | .tile3 .picture img,.tile4 .picture img{width:100%;} |
| 1716 | + .main-box5 { | |
| 1717 | + padding-top: 0px; | |
| 1718 | + max-width: 844px; | |
| 1719 | + } | |
| 1720 | + | |
| 1704 | 1721 | } |
| 1705 | 1722 | @media (max-width: 991px) { |
| 1706 | 1723 | .carousel{margin: 0px auto;} |
| ... | ... | @@ -1717,6 +1734,10 @@ p.right{text-align: right;} |
| 1717 | 1734 | .filters_block{padding-bottom: 75px;} |
| 1718 | 1735 | .note .picture{margin: 0 auto 25px;} |
| 1719 | 1736 | .note{margin: 17px 0px 75px 0px;} |
| 1737 | + .main-box5 { | |
| 1738 | + padding-top: 35px; | |
| 1739 | + max-width: 587px; | |
| 1740 | + } | |
| 1720 | 1741 | } |
| 1721 | 1742 | @media (max-width: 729px) { |
| 1722 | 1743 | .post_cont{justify-content: center;} | ... | ... |