-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-banners-grid.html
169 lines (143 loc) · 6.34 KB
/
index-banners-grid.html
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
<div class="index-banners-g__grid ">
<div class="index-banners-g__slideshow">
<div class="slideshow slideshow-banner swiper-container">
<div class="index-banners__slideshow-items swiper-wrapper">
<div class="slideshow-banner__item swiper-slide">
<figure class="index-banner index-banner--first">
<div class="index-banner__bg"></div>
<figcaption class="index-banner__content">
<div class="index-banner__top">Òðàíñ Ñèãíàë</div>
<a href="" class="index-banner__title index-banner__title--black">Ïðîèçâîäèòåëü ñâåòîòåõíè÷åñêîãî è ýëåêòðîííîãî æåëåçíîäîðîæíîãî îáîðóäîâàíèÿ</a>
<div class="index-banner__readmore index-banner__readmore--text">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon "></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
</div>
<div class="slideshow-banner__item swiper-slide">
<figure class="index-banner index-banner--first">
<div class="index-banner__bg"></div>
<figcaption class="index-banner__content">
<div class="index-banner__top">Òðàíñ Ñèãíàë</div>
<a href="" class="index-banner__title index-banner__title--black ">Ïðîèçâîäèòåëü ýëåêòðîííîãî è ñâåòîòåõíè÷åñêîãî æåëåçíîäîðîæíîãî îáîðóäîâàíèÿ</a>
<div class="index-banner__readmore index-banner__readmore--text">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
</div>
<div class="slideshow-banner__item swiper-slide">
<figure class="index-banner index-banner--first">
<div class="index-banner__bg"></div>
<figcaption class="index-banner__content">
<div class="index-banner__top">Òðàíñ Ñèãíàë</div>
<a href="" class="index-banner__title index-banner__title--black ">Ñâåòîòåõíè÷åñêîãî è ýëåêòðîííîãî æåëåçíîäîðîæíîãî îáîðóäîâàíèÿ ïðîèçâîäèòåëü</a>
<div class="index-banner__readmore index-banner__readmore--text">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
</div>
</div>
<div class="slideshow-banner__nav">
<div class="swiper-button-prev slideshow__nav slideshow__nav_left" ><i class="icon-chevron-left"></i></div>
<div class="swiper-button-next slideshow__nav slideshow__nav_right" ><i class="icon-chevron-right"></i></div>
</div>
</div>
</div>
<figure class="index-banner index-banner-g index-banners-g__banner2 ">
<div class="index-banner__bg"><img src="../../assets/main-banner-02.jpg" alt=""></div>
<figcaption class="index-banner__content">
<a href="" class="index-banner__title">Ìàãèñòðàëüíûì æåëåçíûì äîðîãàì</a>
<div class="index-banner__readmore ">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
<figure class="index-banner index-banner-g index-banners-g__banner3">
<div class="index-banner__bg"><img src="../../assets/main-banner-03.jpg" alt=""></div>
<figcaption class="index-banner__content">
<a href="" class="index-banner__title">Ïðîìûøëåííûì
ïðåäïðèÿòèÿì</a>
<div class="index-banner__readmore ">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
<figure class="index-banner index-banner-g index-banner--small index-banners-g__banner4">
<div class="index-banner__bg"><img src="../../assets/main-banner-04.jpg" alt=""></div>
<figcaption class="index-banner__content index-banner__content--small">
<a href="" class="index-banner__title index-banner__title--small">Ìåòðîïîëèòåíàì</a>
<div class="index-banner__readmore ">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
<figure class="index-banner index-banner-g index-banner--small index-banners-g__banner5">
<div class="index-banner__bg"><img src="../../assets/main-banner-05.jpg" alt=""></div>
<figcaption class="index-banner__content">
<a href="" class="index-banner__title index-banner__title--small">Ïîäâèæíîìó ñîñòàâó</a>
<div class="index-banner__readmore ">
<div class="index-banner__readmore-text">Ïîäðîáíåå</div>
<div class="index-banner__readmore-icon"></div>
</div>
</figcaption>
<a href="#" class="index-banner__link uk-position-cover"></a>
</figure>
</div> <!-- grid-g end -->
<style>
.index-banners-g {
&__grid {
display: grid;
grid-template-areas:'slideshow banner2 banner2'
'banner3 banner4 banner5';
// grid-template-rows: 1fr 1fr;
grid-template-columns: auto-fit;
grid-column-gap: var(--margin);
grid-row-gap: $global-gutter;
overflow: hidden;
@media (min-width: $breakpoint-small) {
// grid-template-areas:'list list'
// 'content image';
// grid-template-columns: 2fr 1fr;
grid-row-gap: $global-medium-gutter;
}
@media (min-width: $breakpoint-medium) {
// grid-template-areas:'list image'
// 'content image';
// grid-template-columns: 2fr 1fr;
grid-gap: var(--margin);
}
}
&__slideshow {
grid-area: slideshow;
}
&__banner2 {
grid-area: banner2;
}
&__banner3 {
grid-area: banner3;
}
&__banner4 {
grid-area: banner4;
}
&__banner5 {
grid-area: banner5;
}
}
.index-banner-g {
height: auto;
}
</style>