Форум программистов, компьютерный форум, киберфорум
HTML, CSS
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.83/6: Рейтинг темы: голосов - 6, средняя оценка - 4.83
 Аватар для buldozerbr
0 / 0 / 0
Регистрация: 24.01.2013
Сообщений: 36

Выподающее меню в мобильной версии

05.03.2018, 12:38. Показов 1320. Ответов 1
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Добрый день всем.

Столкнулся с вёрсткой меню. Начал с одного шаблона перетаскивать в другой и получилась какая то ерунда.
Очень прошу помочь решить вопрос.


Вот сайт от куда тащил меню:
http://oknanomer1pmr.ru/

Код файла main.tpl:
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
    <header class="main-header">
        {*<!-- Шапка -->*}
        {include file="modules/header.tpl"}
        {*<!-- Меню -->*}
        <div class="header-lower">
            <div class="auto-container">
                <div class="row clearfix">
                    <nav class="col-md-9 col-sm-12 col-xs-12 main-menu">
                        <div class="navbar-header">   
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        
                        <div class="navbar-collapse collapse clearfix">                                                                                              
                            <ul class="navigation">
                                <li [aviable=main]class="current"[/aviable]><a href="/">Главная</a></li>
                                  <li class="dropdown"><a href="/about.html">О нас</a>
                                    <ul class="submenu">
                                        <li><a href="http://oknanomer1pmr.ru/cooperation/6-specialnoe-predlozhenie-dizayneram-arhitektoram-prorabam-i-stroitelyam.html">Сотрудничество</a></li>
                                    </ul>   
                                <li class="dropdown [category={include file="modules/cat-id/services-id.tpl"}]current[/category]"><a href="/services/">Услуги</a>
                                    <ul class="submenu">
                                        <li><a href="/services/zamer/">Замер</a></li>
                                        <li><a href="/services/delivery/">Доставка</a></li>
                                        <li><a href="/services/servisnoye-obsluzhivaniye/">Сервисное обслуживание</a></li>
                                        <li><a href="/services/remont-plastikovykh-okon/">Ремонт пластиковых окон</a></li>
                                    </ul>
                                </li>
                                <li class="dropdown [category={include file="modules/cat-id/projects-id.tpl"}]current[/category]"><a href="/projects/">Продукция</a>
                                    <ul class="submenu">
                                        <li class="dropdown"><a href="/projects/pvh/">Изделия из ПВХ</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/pvh/okna/">Окна</a></li>
                                                <li><a href="/projects/pvh/non-standard-okna/">Нестандартные окна</a></li>
                                                <li><a href="/projects/pvh/door/">Двери</a></li>
                                                <li><a href="/projects/pvh/partitions/">Перегородки</a></li>
                                            </ul>
                                        </li>
                                        <li class="dropdown"><a href="/projects/stainless-steel/">Нержавеющая сталь</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/stainless-steel/bumpers/">Перила и отбойники</a></li>
                                                <li><a href="/projects/stainless-steel/railings-for-ramps/">Перила для пандусов</a></li>
                                            </ul>
                                        </li>
                                        <li class="dropdown"><a href="/projects/articles-of-aluminium/">Изделия из алюминия</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/articles-of-aluminium/dveri/">Двери</a></li>
                                                <li><a href="/projects/articles-of-aluminium/peregorodki/">Перегородки</a></li>
                                                <li><a href="/projects/articles-of-aluminium/ograjdeniy/">Ограждения</a></li>
                                            </ul>
                                        </li>
                                        <li class="dropdown"><a href="/projects/facade-glazing/">Фасадное остекление</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/facade-glazing/structural/">Структурное</a></li>
                                                <li><a href="/projects/facade-glazing/spider-glazing/">Спайдерное</a></li>
                                                <li><a href="/projects/facade-glazing/panoramic-glazing/">Панорамное</a></li>
                                            </ul>
                                        </li>
                                        <li class="dropdown"><a href="/projects/all-glass-constructions/">Цельностеклянные конструкции</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/all-glass-constructions/glass-partition/">Стеклянные перегородки</a></li>
                                                <li><a href="/projects/all-glass-constructions/glass-door/">Стеклянные двери</a></li>
                                                <li><a href="/projects/all-glass-constructions/fences-from-glass/">Ограждения из стекла</a></li>
                                                <li><a href="/projects/all-glass-constructions/entrance-group/">Входные группы</a></li>
                                            </ul>
                                        </li>
                                        <li class="dropdown"><a href="/projects/double-glazed/">Стеклопакеты</a>
                                            <ul class="submenu">
                                                <li><a href="/projects/double-glazed/energy-saving/">Энергосберегающие</a></li>
                                                <li><a href="/projects/double-glazed/sunscreen/">Солнцезащитные</a></li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                                    {*<!-- <li [static=price]class="current"[/static]><a href="/price.html">Цены</a></li> -->*}
                                <li class="dropdown [category={include file="modules/cat-id/news-id.tpl"}]current[/category]"><a href="/news/">Полезное</a>
                                    <ul class="submenu">
                                        <li><a href="http://oknanomer1pmr.ru/news/ukhod-za-oknami/10-uhod-za-plastikovymi-oknami.html">Уход за окнами</a></li>
                                        <li><a href="http://oknanomer1pmr.ru/news/o-steklopaketakh/37-o-steklopaketah.html">О стеклопакетах</a></li>
                                    </ul>
                                </li><li [aviable=feedback]class="current"[/aviable]><a href="/index.php?do=feedback">Контакты</a></li>
                            </ul>
                        </div>
                    </nav>
 
                    <div class="col-md-3 col-sm-12 col-xs-12 social-outer">
                        <div class="social-links text-right">
                            {include file="modules/contacts/social.tpl"}
                        </div>
                    </div>
            </div>
        </div>
    </header>
Код файла для мобильных устройств:
CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
/*
    Разработка шаблонов для DataLife Engine
    ------------------  
    Author: ThemeSkeleton
    ------------------
    Website: http://themeskeleton.com/
    ------------------  
    E-mail: themeskeleton@gmail.com
    ------------------
    Skype: ThemeSkeleton
    ------------------
    ICQ: 722880
    ------------------
*/
 
@media only screen and (max-width: 1390px){
    .gallery-tabs .tabs-two .tab{
        padding-right:30px; 
    }
}
@media only screen and (max-width: 1199px){
    input#sec_code {
        width: 100%;
    }
}
@media only screen and (max-width: 1139px){
    
    .intro-section h3{
        margin-bottom:15px; 
    }
    
    .vertical-gallery .slide-desc{
        position:absolute;
        left:0px !important;
        bottom:0px !important;
        margin-bottom:0px;
        padding:20px 20px 20px 90px !important;
        opacity:1 !important;   
    }
}
 
@media only screen and (max-width: 1023px){
    
    .fixed-top-header{
        position:relative;  
    }
    
    .main-header .logo,
    .main-header .header-top .search-form,
    .main-header .header-top .user-links{
        float:none !important;
        width:100% !important;
        text-align:center;  
    }
    
    .main-header .header-top .search-form .form{
        padding:0px;    
    }
    
    .main-header .header-top .large{
        width:60%;  
    }
    
    .main-header .header-top .medium{
        width:40%;  
    }
    
    .owl-carousel .owl-stage-outer{
        overflow:visible;   
    }
    
    .blog-section .column-box .inner-box{
        padding-left:0px;   
    }
    
    .blog-section .column-box .inner-box .image{
        position:relative;
        width:100%;
        height:auto;
    }
    
    .blog-section .column-box .inner-box .image img{
        display:block;  
    }
        
}
 
@media only screen and (min-width: 768px){
    .main-menu .navbar-collapse > ul > li > ul,
    .main-menu .navbar-collapse > ul > li > ul > li > ul{
        display:block !important;
        visibility:hidden;
        opacity:0;
    }
}
 
 
@media only screen and (max-width: 767px){
    
    .main-header{
        overflow:hidden;    
    }
    
    .fixed-top-header{
        position:relative !important;   
    }
    
    .main-header .logo{
        float:none;
        width:100%; 
    }
    
    .main-header .main-menu{
        float:none;
        width:100%;
        padding:0px;
        margin:16px 0px 0px;
    }
    
    .main-menu .collapse {
       max-height:none;
        overflow:hidden;
        padding:0px;
        border:1px solid #ffffff;
        margin:10px;
        border-radius:3px;
        -ms-border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        -o-border-radius:3px;
   }
   
    .main-menu .collapse.in,
    .main-menu .collapsing{
        padding:0px;
        border:1px solid #ffffff;
        margin:10px;
        border-radius:3px;
        -ms-border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        -o-border-radius:3px;   
    }
    
    
    .main-menu .navbar-header{
        position:relative;
        float:none;
        display:block;
        top:-7px;
        right:15px;
        width:auto;
        z-index:12;
    }
    
    .main-menu .navbar-header .navbar-toggle{
        display:block;
        z-index:7;
        border:1px solid #ffffff;
        margin:0px 0px 0px 0px;
    }
    
    .main-menu .navbar-header .navbar-toggle .icon-bar{
        background:#ffffff; 
    }
    
    .main-header .main-menu .navbar-nav{
        float:none !important;
        margin:0px;
        width:100%;
        background:#fb4848;
    }
    
    .main-menu .navbar-collapse > ul > li{
        margin:0px;
        float:none;
        width:100%;
    }
    
    .main-menu .navbar-collapse > ul > li > a{
        padding:10px 10px !important;
    }
    
    .main-menu .navbar-collapse > ul > li > a:after{
        display:none;   
    }
    
    .main-menu .navbar-collapse > ul > li > ul,
    .main-menu .navbar-collapse > ul > li > ul > li > ul{
        position:relative;
        border:none;
        float:none;
        visibility:visible;
        opacity:1;
        display:none;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        width:100%;
        background:#fb4848;
        border-radius:0px;
        -webkit-border-radius:0px;
        -ms-border-radius:0px;
        -o-border-radius:0px;
        -moz-border-radius:0px;
        transition:none !important;
        -webkit-transition:none !important;
        -ms-transition:none !important;
        -o-transition:none !important;
        -moz-transition:none !important;
    }
        
    .main-menu .navbar-collapse > ul > li > ul,
    .main-menu .navbar-collapse > ul > li > ul > li > ul{
        border-top:1px solid rgba(255,255,255,1) !important;    
    }
    
    .main-menu .navbar-collapse > ul > li,
    .main-menu .navbar-collapse > ul > li > ul > li,
    .main-menu .navbar-collapse > ul > li > ul > li > ul > li{
        border-top:1px solid rgba(255,255,255,1) !important;    
    }
    
    .main-menu .navbar-collapse > ul > li:first-child{
        border:none;    
    }
    
    .main-menu .navbar-collapse > ul > li > a,
    .main-menu .navbar-collapse > ul > li > ul > li > a,
    .main-menu .navbar-collapse > ul > li > ul > li > ul > li > a{
        padding:10px 10px !important;
        line-height:22px;
        color:#ffffff;
        background:#36404b;
    }
    
    .main-menu .navbar-collapse > ul > li > a:hover,
    .main-menu .navbar-collapse > ul > li > a:active,
    .main-menu .navbar-collapse > ul > li > a:focus{
        background:#fb4848;
    }
    
    .main-menu .navbar-collapse > ul li.dropdown .dropdown-btn{
        display:block;
    }
    
    .main-menu .navbar-collapse > ul li.dropdown:after,
    .main-menu .navbar-collapse > ul > li.dropdown > a::after{
        display:none !important;    
    }
    
    .main-header .header-lower .social-outer{
        position:absolute;
        left:0px;
        top:0px;
    }
    
    .main-header .header-lower .social-outer .text-right{
        text-align:left;
        z-index:6;
        max-width:240px;    
    }
    
    .gallery-tabs .tabs-two .tabs-content{
        position:relative;
        padding:0px !important;
        margin:20px 0px 0px;
        height:350px;   
    }
    
    .gallery-tabs .tabs-two .tab,
    .gallery-tabs .tabs-two .slide-item{
        padding:0px !important;
        height:350px;   
    }
    
    .gallery-tabs .tabs-two .bx-controls{
        right:22px !important;  
    }
    
    .ms-tabs-vertical-template{
        padding-right:0px !important;   
    }
    
    .ms-vertical-template .ms-thumb-list.ms-dir-v,
    .vertical-gallery .slide-desc{
        display:none !important;    
    }
    
    .sidebar-page .comments-area .reply-btn{
        position:relative;
        top:5px;
        bottom:0px; 
    }
    
    .sidebar-page .side-bar{
        margin-top:50px;    
    }
    
    .map-location{
        height:300px;   
    }
    
    .page-banner{
        padding-top:50px;   
    }
    
    .page-banner .page-title h1{
        font-size:30px; 
    }
    
    .tabs-box .tab-title h2{
        font-size:26px; 
    }
    
    .tabs-box .tab-title h3{
        font-size:18px; 
    }
    
    .column-carousel.four-column,
    .column-carousel.two-column{
        padding-top:0px;    
    }
    
    .owl-theme .owl-controls .owl-nav{
        display:none;   
    }
    
    .column-carousel .owl-controls{
        top:-20px;  
    }
    .header-top-infos > ul > li {
        width: 85% !important;
        margin: auto;
        margin-bottom: 15px;
        border: none;
        border-bottom: 1px solid #D3D3D3;
        padding-bottom: 15px;
    }
    .header-top-infos > ul > li:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    
    .gallery-tabs{
        margin-bottom:30px; 
    }
 
}
 
 
@media only screen and (max-width: 599px){
.main-slider {
    display: none;
}
.main-header .header-top .large,
.main-header .header-top .medium{
        width:100%;
        margin-bottom:10px;
    }
    
    .main-header .header-top .form select{
        border-right:1px solid #dddddd; 
    }
    
    .sidebar-page .social-links strong{
        display:block;  
    }
    
    .sidebar-page .comments-area .reply-comment{
        margin-left:0px;    
    }
    
    .header-top-infos{
        display:none;   
    }
    
}
 
 
@media only screen and (max-width: 479px){
    .c-captcha {
        width: 100%;
    }
    .gallery-tabs .tabs-two .tab,
    .gallery-tabs .tabs-two .slide-item,
    .gallery-tabs .tabs-two .tabs-content{
        height:250px;   
    }
}
Сайт куда надо вставить:
http://triniticentr.ru/

Вот файл куда вставил код main.tpl:
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="header-lower">
    
        <div class="container-12">
            <nav class="main-menu">
                <div class="navbar-collapse collapse clearfix">                                                                           
                    <ul class="navigation">
                        <li [aviable=main]class="current"[/aviable]><a href="/">Главная</a></li>
                        <li class="dropdown"><a href="/press-centr/">Пресс-центр</a>
                            <ul class="submenu">
                                <li><a href="/press-centr/events/">Мероприятия</a></li>
                                <li><a href="/press-centr/news/">Новости</a></li>
                                <li><a href="/press-centr/partners/">Новости партнёров</a></li>
                                <li><a href="/press-centr/smi-o-nas/">СМИ о Нас</a></li>
                                <li><a href="/press-centr/vakansii/">Вакансии</a></li>
                            </ul>   
                        <li class="dropdown"><a href="javascript:void(0)">Медиа-центр</a>
                            <ul class="submenu">
                                <li><a href="/photo/reports/">Фотоальбомы</a></li>
                                <li><a href="/media-center/video/">Видео</a></li>
                            </ul>
                        </li>
                        <li><a href="/afisha/">Афиша</a></li>
                        <li><a href="/stories/">Истории</a></li>
                        <li class="dropdown"><a href="javascript:void(0)">Команда</a>
                            <ul class="submenu">
                                <li><a href="/o-nas.html">О нас</a></li>
                                <li><a href="/sotrudniki/">Сотрудники</a></li>
                                <li><a href="/volunteers/">Волонтёры</a></li>
                            </ul>
                        </li>
                        <li [aviable=feedback]class="current"[/aviable]><a href="/index.php?do=feedback">Обратная связь</a></li>
                        <li><a href="/yasitemap/">Карта сайта</a></li>
                    </ul>
                </div>
            </nav>
        </div>
    
</div>
До моего переделывания меню выглядело так:
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<div class="container-12">
    <div class="grid-12" style="position:relative;">
        <div class="tm">
            <ul>
                <li><a href="/">Главная</a></li>
                <li class="sublnk"><a href="javascript:void(0)">Пресс-центр</a>
                    <ul class="subtopmenu">
                        <li><a href="/press-centr/events/">Мероприятия</a></li>
                        <li><a href="/press-centr/news/">Новости</a></li>
                        <li><a href="/press-centr/partners/">Партнёры</a></li>
                        <li><a href="/press-centr/smi-o-nas/">СМИ о Нас</a></li>
                        <li><a href="/press-centr/vakansii/">Вакансии</a></li>
                        <li><a href="/press-centr/">Подробнее</a></li>
                    </ul>
                </li>
                <li class="sublnk"><a href="javascript:void(0)">Медиа-центр</a>
                    <ul class="subtopmenu">
                        <li><a href="/photo/reports/">Фотоальбомы</a></li>
                        <li><a href="/media-center/video/">Видео</a></li>
                    </ul>
                </li>
                <li><a href="/afisha/">Афиша</a></li>
                <li><a href="/stories/">Истории</a></li>
                <li class="sublnk"><a href="javascript:void(0)">Команда</a>
                    <ul class="subtopmenu">
                <li><a href="/o-nas.html">О нас</a></li>
                <li><a href="/sotrudniki/">Сотрудники</a></li>
                <li><a href="/volunteers/">Волонтёры</a></li>
                    </ul>
                </li>
                <li><a href="/index.php?do=feedback">Обратная связь</a></li>
                <li><a href="/yasitemap/">Карта сайта</a></li>
            </ul>
        </div>
    </div>
</div>
Намудрил так, что теперь сам не могу разобраться. Очень прошу о помощи.
Ниже прикреплю CSS файл мобильной версии куда я вставил код.
Заранее большое спасибо.
0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
05.03.2018, 12:38
Ответы с готовыми решениями:

Меню мобильной версии
Как сделать меню, которое всегда будет на весь экран на телефоне? Как бы смешно не казалось, но это реально стало проблемой. Есть...

Меню для мобильной версии сайта
Привет всем, есть сайт и мне надо сделать меню для мобильной версии, использую адаптивную версту, скажите как можно правельно переверстать...

CSS меню мобильной версии сайта
Добрый день, задача такова, через @media подгружается css стиль для мобильных (при разрешении &lt;980px) , в нем отредактированное...

1
 Аватар для buldozerbr
0 / 0 / 0
Регистрация: 24.01.2013
Сообщений: 36
05.03.2018, 15:00  [ТС]
CSS файл для мобильных устройств:
CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
/*********************************************************************************************
 
Project : rwdgrid - responsive grid system for your next project
URI: http://rwdgrid.com/
Version: 1.0
Author: Vineeth G S 
Author URI: http://www.gsvineeth.com
Github URI: https://github.com/gsvineeth/rwdgrid/
 
**********************************************************************************************
 
1.  Normalize.css            
2.  Grid 1200px 
3.  Grid 960px
4.  Grid 720px
5.  Grid lt 720px/ Mobile 
6.  Responsive Image
 
 
**********************************************************************************************/
 
 
/********************************************************************************************* 
1. normalize.css v2.0.1 | MIT License | git.io/normalize
*********************************************************************************************/   
 
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
 
/**
 * Correct `block` display not defined in IE 8/9.
 */
 
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}
 
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
 
audio,
canvas,
video {
    display: inline-block;
}
 
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
 
audio:not([controls]) {
    display: none;
    height: 0;
}
 
/**
 * Address styling not present in IE 8/9.
 */
 
[hidden] {
    display: none;
}
 
/* ==========================================================================
   Base
   ========================================================================== */
 
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
 
html {
    font-family: sans-serif; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}
 
/**
 * Remove default margin.
 */
 
body {
    margin: 0;
}
 
/* ==========================================================================
   Links
   ========================================================================== */
 
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
 
a:focus {
    outline: thin dotted;
}
 
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
 
a:active,
a:hover {
    outline: 0;
}
 
/* ==========================================================================
   Typography
   ========================================================================== */
 
/**
 * Address variable `h1` font size within `section` and `article` contexts in
 * Firefox 4+, Safari 5, and Chrome.
 */
 
h1 {
    font-size: 2em;
}
 
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
 
abbr[title] {
    border-bottom: 1px dotted;
}
 
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
 
b,
strong {
    font-weight: bold;
}
 
/**
 * Address styling not present in Safari 5 and Chrome.
 */
 
dfn {
    font-style: italic;
}
 
/**
 * Address styling not present in IE 8/9.
 */
 
mark {
    background: #ff0;
    color: #000;
}
 
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
 
code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}
 
/**
 * Improve readability of pre-formatted text in all browsers.
 */
 
pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
 
/**
 * Set consistent quote types.
 */
 
q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}
 
/**
 * Address inconsistent and variable font size in all browsers.
 */
 
small {
    font-size: 80%;
}
 
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
 
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
 
sup {
    top: -0.5em;
}
 
sub {
    bottom: -0.25em;
}
 
/* ==========================================================================
   Embedded content
   ========================================================================== */
 
/**
 * Remove border when inside `a` element in IE 8/9.
 */
 
img {
    border: 0;
}
 
/**
 * Correct overflow displayed oddly in IE 9.
 */
 
svg:not(:root) {
    overflow: hidden;
}
 
/* ==========================================================================
   Figures
   ========================================================================== */
 
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
 
figure {
    margin: 0;
}
 
/* ==========================================================================
   Forms
   ========================================================================== */
 
/**
 * Define consistent border, margin, and padding.
 */
 
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
 
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
 
legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}
 
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
 
button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}
 
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
 
button,
input {
    line-height: normal;
}
 
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
 
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}
 
/**
 * Re-set default cursor for disabled elements.
 */
 
button[disabled],
html input[disabled] {
    cursor: default;
}
 
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
 
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}
 
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
 
input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}
 
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
 
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
 
/**
 * Remove inner padding and border in Firefox 4+.
 */
 
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
 
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
 
textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}
 
/* ==========================================================================
   Tables
   ========================================================================== */
 
/**
 * Remove most spacing between table cells.
 */
 
table {
    border-collapse: collapse;
    border-spacing: 0;
}
 
/********************************************************************************************* 
 
5.  Grid lt 720px / Mobile (mediaqueries)
 
*********************************************************************************************/
    
@media only screen and (max-width: 719px) {
 
.f_textarea {
    width: 200px;
}
 
.story-short, .short6 {
    margin: 0 !important;
}
.ip-title {
    margin: 75px 15px 0 15px;
}
.container-12 {
    padding: 0 10px;
}
.tm ul {
    position: absolute !important;
    margin: 0;  
    top: 60px !important;
    left: 0;
    background: #fff;
    border: solid 1px #dfdfdf; 
    padding: 5px 25px;  
}
 
.container-12, .container-16 {
    width: 90%;
}
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16 {
    width:100%;
    margin-left: 0px;
    margin-right: 0px;
}
.alpha {
    margin-left: 0;
}
.omega {
    margin-right: 0;
}
.beta {
    margin-left: 0;
    margin-right: 0;
}
.container-16 .grid-1, .container-16 .grid-2, .container-16 .grid-3, .container-16 .grid-4, .container-16 .grid-5, .container-16 .grid-6, .container-16 .grid-7, .container-16 .grid-8, .container-16 .grid-9, .container-16 .grid-10, .container-16 .grid-11, .container-16 .grid-12, .container-16 .grid-13, .container-16 .grid-14, .container-16 .grid-15, .container-16 .grid-16, .container-12 .grid-1, .container-12 .grid-2, .container-12 .grid-3, .container-12 .grid-4, .container-12 .grid-5, .container-12 .grid-6, .container-12 .grid-7, .container-12 .grid-8, .container-12 .grid-9, .container-12 .grid-10, .container-12 .grid-11, .container-12 .grid-12 {
    width:100%;
}
a#pull2 {
   background: url('../images/nav-icon2.png') no-repeat;  
    top: 225px !important;
    position: absolute;
    left: 10px;
    z-index: 999 !important;
}
.logo {
    float: none;
    margin: 5px auto 0 auto;
}
.slogan {
    float: none;
    margin: -10px auto 0 auto;
}
#timer {
    text-align: center; 
    position: relative;
    width: 100%;
    padding: 10px 0 20px 0;
    margin: 0;
}
.grid-6 {
    position: relative;
}
a.loginlink {
    width: 124px;
    height: 40px;   
    background: url(../images/login_profile.png) no-repeat;
    top: -151px;
    left: 1%;
    position: absolute;
    z-index: 100;
}
a.loginlink_enter {
    width: 124px;   
    background: url(../images/login.png) no-repeat;
}
.socgroup {
    z-index: 1;
    text-align: center;
    float: none;
    margin: -20px 0 0px 30px;
}
.socgroup a {
    text-align: center;
    display: inline-block;
    float: none;
}
.searchBar {
    display: none;
    margin-right:100;
}
.media_search {
    top: 26px !important;
    position: absolute;
    right: 0;
    z-index: 999;
}
.coment {
    width: 90%;
}
.coment-area {
    width: 75%;
}
.story-short {
    width: 100%;
}
#navi {
    float: left;    
    margin: 25px 15px;
}
.tabs-list ul.tabs {
    width: 100%;    
    float: right;
    z-index: 10;
}
.tabs-list .img {
    max-width: 100%;
    z-index: 100;
    float: left;
    margin: 0;
    margin-bottom: 5px;
}
.tabs-list .box {
    float: left;
    width: 100%;
}
.tabs-list ul.tabs li {
    font-size: 14px;
    padding: 12px 12px;
}
#counters {
    clear: both;
    margin: 20px 0; 
    float: left;
}
.banner_280, .review {
    display: none;
}
.mslider {
    margin: 70px 0 20px 0;
}
.media_719 {
    display: block;
}
.media_719_hide {
    display: none;
}
.media_719 .banner_728 {
    margin: 0;      
}
.soc_title {
    width: 248px;
}
.bc_media {
    width: 278px;
}
.short6 {
    margin: 0 10px !important;
}
.story-full {
    margin-top: 60px;
}
 
}
 
@media only screen and (max-width: 480px) {
 
.inf {
    display: none;
}
 
a.prev, a.next {
    width: 29px;
    height: 29px;
    background: url(../images/sl_arrows_small.png) no-repeat 0 0;
}
a.next {
    background-position: -29px 0;
    right: 0;
}
a#pull2 {
    top: 236px !important;
}
a.loginlink {
    width: 124px;
    height: 40px;   
    background: url(../images/login_profile.png) no-repeat;
    top: -151px;
    left: 1%;
    position: absolute;
    z-index: 100;
}
.container-12 {
    padding: 0 10px;
}
.mslider {
    margin: 70px 0 0 0;
}
.mslider, .sliderContent, .hotnews {
    max-height:220px;
}
.logo {
    background: url(../images/logo.png) no-repeat;  
    width: 220px;
    height: 100px;
}
.slogo {
    background: url(../images/slogo.png) no-repeat; 
    width: 300px;
    height: 100px;
}
.tm ul li a {
    color: #000;
}
.hotnews h2 {
    font-size: 18px;
}
.short5 .img {
    max-width: 180px;
}
.ava-com {
    width: 45px;
    height: 45px;
}
.coment {
    margin: 5px;
}
.comments_area {
    padding: 5px;
}
.coment-area {
    margin-left: 60px;
}
.date {
    display: none;
}
.author a {
    padding-right: 5px;
}
.media-date {
    display: block; 
    font-size: 13px;
    color: #9b9b9b;
}
.searchBar {
    width: 120px;
    margin: 55px 0 0 0;
}
.s-field {
    width: 100px;
}
.multimedia .img_ct {
    width: 30px;    
    overflow: hidden;
    float: left;
}
.sb_video {
    border-bottom: none;    
    height: 120px !important;
    float: none;
}
 
}
 
@media only screen and (max-width: 320px) {
 
.container-12 {
    padding: 0 10px;
}
.media_320 {
    display: block;
}
.media_320_hide {
    display: none;  
}
 
.play_icon_small {
    width: 47px;
    height: 47px;
    background: url(../images/play_icon_small.png) no-repeat;
    position: absolute;
    top: 20%;
    left: 30%;
}
 
/* слайдер */
 
.mslider {
    width: 100%;
    max-height: 160px;
}
.mslider, .sliderContent, .hotnews {
    max-height:160px;
}
a.prev, a.next {
    width: 29px;
    height: 29px;
    background: url(../images/sl_arrows_small.png) no-repeat 0 0;
}
a.next {
    background-position: -29px 0;
    right: 0;
}
.hotnews h2 {
    font-size: 16px;
}
.media_hide {
    display: none;
}
 
/* краткие новости */
 
.short6 {
    width: 270px;
    margin: 0 !important;
}
.short4, .short6, .short5 {
    height: 130px !important;
}
.short4 .img_ct, .short6 .img_ct, .short5 .img-wrap {
    width: 130px !important;    
    height: 120px;  
    overflow: hidden;
    float: left;
    margin-right: 10px;
}
.short4 h2, .short6 h2, .short5 h2 {
    font-family: "PT Sans";
    font-weight: normal;
    font-size: 15px !important;
}
.sb_video {
    border-bottom: none;    
    height: 80px !important;
    float: none;
}
h2 {
    font-size: 14px;
}
.short5 h2 {
    font-size: 13px !important;
}
.left_cell .img {
}
.left_cell h2 {
    font-size: 14px;
}
 
/* комментарии */
 
.ava-com {
    width: 30px;
    height: 30px;
}
.coment {
    margin: 10px;
}
.comments_area {
    padding: 5px;
}
.coment-area {
    margin-left: 40px;
}
.date {
    display: none;
}
.media-date {
    display: block; 
    font-size: 13px;
    color: #9b9b9b;
}
.orden {
    position: absolute;
    left: 5px;  
    top: 45px;  
}
 
}
 
@media only screen and (max-width: 1199px) {
 
.story-short, .short6 {
    margin: 0 !important;
}
 
.media_1199 {
    display: block;
}
.lcol_hide {
    display: block !important;
}
.media_hide {
    display: none;
}
.short5, .short6, .multimedia {
    margin: 0;  
    max-height: none !important;
    height: auto;
    float: left;
}
.short6 {
    margin-bottom: 10px !important;
}
.short5 .img, .multimedia .img {
    margin: 9px 0;
}
.short5 h2, .short6 h2 {
    margin: 9px 9px 9px 0;
    font-size: 14px;
}
.short5:last-child {
    border: none;
}
.multimedia {
    width: 100%;
    float:left; 
    border: none;
    margin: 0 20px 0 0;
    height: 160px;
    border-bottom: dashed 1px #e1e1e1
}
.sb_video {
    border-bottom: none;    
    height: 220px;
    float: none;
}
.vote_title {
    margin-top: 0px;
}
.multimedia h2 {
    font-size: 15px;
}
.multimedia .img_ct {
    width: 230px;   
    height: 150px;
    overflow: hidden;   
    float: left;
    margin: 0 10px 10px 0;
}
.world h2 {
    font-size: 14px;
}
.world .mcat li.comnum {
    display: none;      
}
 
} 
 
/********************************************************************************************* 
 
6.  Grid lt 959px / Mobile (mediaqueries)
 
*********************************************************************************************/
 
@media only screen and (max-width : 959px) {  
 
.simnews { 
    overflow: visible;
}
.media_959 {
    display: block; 
}
.media_959_hide {
    display: none;  
}
ul#top_menu {
    display: none;
}
a#pull {
    position: absolute;
    top: 10px;  
    left: 10px;
} 
a#pull2 {  
   width: 20px;  
   height: 20px;  
   background: url('../images/nav-icon.png') no-repeat;  
    top: 116px;
    position: absolute;
    left: 10px;
}
ul#top_menu {  
    display: none;  
   height: auto;  
    position: absolute;
    top: 80px;
    z-index: 2;
    background: #fdfdfd; 
    border-radius: 4px;
    padding: 5px 15px;
    border: solid 1px #000;
}
.tm {
    display: none;
    position: absolute;
    height: auto;
}
.tm ul {
    position: absolute;
    margin: 0;  
    top: -10px;
    left: 0;
    background: #774d39;
    border: solid 1px #ea6c22; 
    padding: 5px 15px;  
}
.tm ul li {
    float: none;
    border-bottom: dashed 1px #ffa400;
    padding: 10px 2px;  
}
.tm ul li a {
    color: #ffa400;
}
.tm ul li a:hover {
    background: none;
    color: #a52a2a; 
}
.tm ul li.sublnk { background: url(../images/tm-arrow.png) no-repeat 97% 51%; padding: 13px 5px; position: relative; }
.tm ul li.sublnk:hover { background: url(../images/tm-arrow-h.png) no-repeat 97% 51%; }
 
.tm ul li:last-child {
    border-bottom: none;
}
.tm ul li ul {
    background: #fff;
    border-radius: 0;
}
.tm ul li ul li {
    border-bottom: dashed 1px #000;
    text-align: left;
    padding: 5px;   
}
ul#top_menu li {
    float: none;        
    line-height: 1.5em;
    font-size: 15px;
    padding: 5px 3px;
    border-bottom: dashed 1px #000;
}
ul#top_menu li:last-child {
    border: none;
}
ul#top_menu li a {
    color: #000;    
}
#lgn_icon {
    margin: 0 0 0 20px;
}
.pm_status {
    width: 100%;
}
 
} 
 
 
/********************************************************************************************* 
 
7.  Responsive Image
 
*********************************************************************************************/
 
 
img.scale, img.responsive {
    max-width: 100%;
    height: auto;
}
 
 
 
.row { margin-bottom: 20px; }
 
/* #Clearing
================================================== */
 
    /* Self Clearing Goodness */
    .container-12:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
 
    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }
 
    /* You can also use a <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }
 
 
@media only screen and (max-width: 767px){
    
    .main-header .main-menu{
        float:none;
        width:100%;
        padding:0px;
        margin:16px 0px 0px;
    }
    
    .main-menu .collapse {
           top: 220px; /*высота шапки в пикселях*/
   position: fixed;
   z-index: 1000;
        max-height:130px;
        overflow:auto;
        padding:0px;
        border:1px solid #ffffff;
        border-radius:3px;
        -ms-border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        -o-border-radius:3px;
   }
   
    .main-menu .collapse.in,
    .main-menu .collapsing{
        padding:0px;
        border:1px solid #ffffff;
        margin:10px;
        border-radius:3px;
        -ms-border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        -o-border-radius:3px;   
    }
    
    
    .main-menu .navbar-header{
        position:relative;
        float:none;
        display:block;
        top:-7px;
        right:15px;
        width:auto;
        z-index:12;
    }
    
    .main-menu .navbar-header .navbar-toggle{
        display:block;
        z-index:7;
        border:1px solid #ffffff;
        margin:0px 0px 0px 0px;
    }
    
    .main-menu .navbar-header .navbar-toggle .icon-bar{
        background:#ffffff; 
    }
    
    .main-header .main-menu .navbar-nav{
        float:none !important;
        margin:0px;
        width:100%;
        background:#fb4848;
    }
    
    .main-menu .navbar-collapse > ul > li{
        margin:0px;
        float:none;
        width:100%;
    }
    
    .main-menu .navbar-collapse > ul > li > a{
        padding:10px 10px !important;
    }
    
    .main-menu .navbar-collapse > ul > li > a:after{
        display:none;   
    }
    
    .main-menu .navbar-collapse > ul > li > ul,
    .main-menu .navbar-collapse > ul > li > ul > li > ul{
        position:relative;
        border:none;
        float:none;
        visibility:visible;
        opacity:1;
        display:none;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        width:100%;
        background:#fb4848;
        border-radius:0px;
        -webkit-border-radius:0px;
        -ms-border-radius:0px;
        -o-border-radius:0px;
        -moz-border-radius:0px;
        transition:none !important;
        -webkit-transition:none !important;
        -ms-transition:none !important;
        -o-transition:none !important;
        -moz-transition:none !important;
    }
        
    .main-menu .navbar-collapse > ul > li > ul,
    .main-menu .navbar-collapse > ul > li > ul > li > ul{
        border-top:1px solid rgba(255,255,255,1) !important;    
    }
    
    .main-menu .navbar-collapse > ul > li,
    .main-menu .navbar-collapse > ul > li > ul > li,
    .main-menu .navbar-collapse > ul > li > ul > li > ul > li{
        border-top:1px solid rgba(255,255,255,1) !important;    
    }
    
    .main-menu .navbar-collapse > ul > li:first-child{
        border:none;    
    }
    
    .main-menu .navbar-collapse > ul > li > a,
    .main-menu .navbar-collapse > ul > li > ul > li > a,
    .main-menu .navbar-collapse > ul > li > ul > li > ul > li > a{
        padding:10px 10px !important;
        line-height:22px;
        color:#ffffff;
        background:#36404b;
    }
    
    .main-menu .navbar-collapse > ul > li > a:hover,
    .main-menu .navbar-collapse > ul > li > a:active,
    .main-menu .navbar-collapse > ul > li > a:focus{
        background:#fb4848;
    }
    
    .main-menu .navbar-collapse > ul li.dropdown .dropdown-btn{
        display:block;
    }
    
    .main-menu .navbar-collapse > ul li.dropdown:after,
    .main-menu .navbar-collapse > ul > li.dropdown > a::after{
        display:none !important;    
    }
    
    .main-header .header-lower .social-outer{
        position:absolute;
        left:0px;
        top:0px;
    }
    
    .main-header .header-lower .social-outer .text-right{
        text-align:left;
        z-index:6;
        max-width:240px;    
    }
}
В файле убрал код потому, что не влезло:
2. Grid 1200px
3. Grid 960px
4. Grid 720px

Добавлено через 2 часа 15 минут
Если нужны ещё какие то кода из файлов, то напишите. Я скину всё что нужно.
Заранее СПАСИБО.
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
05.03.2018, 15:00
Помогаю со студенческими работами здесь

Меню не складывается вертикально в мобильной версии
Помогите понять, пожалуйста, почему не работает мобильная версия меню на сайте http://kukli.ru.xsph.ru/porto/, вроде все прописано...

Меню для мобильной версии сайта
Ребят, подскажите! Как сделать меню ( выпадающее ) то что на сайте mybootstrap.ru ( в адаптивное дизайне ) при уменьшении окна браузера?

Верстка меню мобильной версии сайта
Всем привет! Сегодня зашла на хабр с мобильного устройства и обратила внимание на работу правого меню. Пытаюсь сделать аналогичное, только...

Объединение двух меню в мобильной версии сайта
На странице есть два меню: - первое меню сайта (главная, контакты и т.п.) - Категории товаров. Суть в том, что в большом...

Кнопка меню сайта мобильной версии не работает
Здравствуйте. Подскажите есть такая проблема. Кнопка меню сайта мобильной версии не активна. При нажатии должно разворачиваться меню а...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
2
Ответ Создать тему
Новые блоги и статьи
SDL3 для Web (WebAssembly): Основы отладки веб-приложений на SDL3 по USB и Wi-Fi, запущенных в браузере мобильных устройств
8Observer8 07.02.2026
Содержание блога Браузер Chrome имеет средства для отладки мобильных веб-приложений по USB. В этой пошаговой инструкции ограничимся работой с консолью. Вывод в консоль - это часть процесса. . .
SDL3 для Web (WebAssembly): Обработчик клика мыши в браузере ПК и касания экрана в браузере на мобильном устройстве
8Observer8 02.02.2026
Содержание блога Для начала пошагово создадим рабочий пример для подготовки к экспериментам в браузере ПК и в браузере мобильного устройства. Потом напишем обработчик клика мыши и обработчик. . .
Философия технологии
iceja 01.02.2026
На мой взгляд у человека в технических проектах остается роль генерального директора. Все остальное нейронки делают уже лучше человека. Они не могут нести предпринимательские риски, не могут. . .
SDL3 для Web (WebAssembly): Вывод текста со шрифтом TTF с помощью SDL3_ttf
8Observer8 01.02.2026
Содержание блога В этой пошаговой инструкции создадим с нуля веб-приложение, которое выводит текст в окне браузера. Запустим на Android на локальном сервере. Загрузим Release на бесплатный. . .
SDL3 для Web (WebAssembly): Сборка C/C++ проекта из консоли
8Observer8 30.01.2026
Содержание блога Если вы откроете примеры для начинающих на официальном репозитории SDL3 в папке: examples, то вы увидите, что все примеры используют следующие четыре обязательные функции, а. . .
SDL3 для Web (WebAssembly): Установка Emscripten SDK (emsdk) и CMake для сборки C и C++ приложений в Wasm
8Observer8 30.01.2026
Содержание блога Для того чтобы скачать Emscripten SDK (emsdk) необходимо сначало скачать и уставить Git: Install for Windows. Следуйте стандартной процедуре установки Git через установщик. . . .
SDL3 для Android: Подключение Box2D v3, физика и отрисовка коллайдеров
8Observer8 29.01.2026
Содержание блога Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами. Версия v3 была полностью переписана на Си, в. . .
Инструменты COM: Сохранение данный из VARIANT в файл и загрузка из файла в VARIANT
bedvit 28.01.2026
Сохранение базовых типов COM и массивов (одномерных или двухмерных) любой вложенности (деревья) в файл, с возможностью выбора алгоритмов сжатия и шифрования. Часть библиотеки BedvitCOM Использованы. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru