Commit 248abc37a1a502bef6964d0912d01192ff12797c
1 parent
ddb8beee
123
Showing
2 changed files
with
12 additions
and
2 deletions
Show diff stats
frontend/views/site/index.php
| @@ -18,7 +18,7 @@ use yii\helpers\Url; | @@ -18,7 +18,7 @@ use yii\helpers\Url; | ||
| 18 | $this->title = "Главная"; | 18 | $this->title = "Главная"; |
| 19 | ?> | 19 | ?> |
| 20 | 20 | ||
| 21 | -<div class="container cont"> | 21 | +<div class="cont"> |
| 22 | <section class="carousel"> | 22 | <section class="carousel"> |
| 23 | <div class="row"> | 23 | <div class="row"> |
| 24 | <div id="myCarousel" class="carousel slide" data-ride="carousel"> | 24 | <div id="myCarousel" class="carousel slide" data-ride="carousel"> |
frontend/web/css/style.css
| @@ -241,11 +241,21 @@ footer .socbuts a:hover{ | @@ -241,11 +241,21 @@ footer .socbuts a:hover{ | ||
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | .main-box1{ | 243 | .main-box1{ |
| 244 | + position: relative; | ||
| 244 | max-width: 1105px; | 245 | max-width: 1105px; |
| 245 | margin: 0 auto; | 246 | margin: 0 auto; |
| 246 | min-height:300px; | 247 | min-height:300px; |
| 247 | text-align: center; | 248 | text-align: center; |
| 248 | - border-bottom:1px solid #9f9e9e; | 249 | +} |
| 250 | +.main-box1:after { | ||
| 251 | + content: ''; | ||
| 252 | + width: 93.575%; | ||
| 253 | + position: absolute; | ||
| 254 | + height: 1px; | ||
| 255 | + background-color: #9f9e9e; | ||
| 256 | + bottom: 0px; | ||
| 257 | + left: 0; | ||
| 258 | + margin: 0px 36px; | ||
| 249 | } | 259 | } |
| 250 | .main-box1 .title{ | 260 | .main-box1 .title{ |
| 251 | font-family: 'Lato-Medium'; | 261 | font-family: 'Lato-Medium'; |