-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslider.css
162 lines (160 loc) · 3.23 KB
/
slider.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#container-slider
{
position: relative;
display: block;
width: 100%;
}
#slider {
position: relative;
display: block;
width: 100%;
height: 100vh;
min-height: 500px;
}
#slider li {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100%;
height: 100%;
display: block;
-webkit-transition: opacity 1s;
-moz-transition: opacity 1s;
-ms-transition: opacity 1s;
-o-transition: opacity 1s;
transition: opacity 1s;
z-index: -1;
opacity: 0;
}
#container-slider .arrowPrev, #container-slider .arrowNext{
font-size: 30pt;
color: rgba(204, 204, 204, 0.65);
cursor: pointer;
position: absolute;
top: 50%;
left: 50px;
z-index: 2;
}
#container-slider .arrowNext {
left: initial;
right: 50px !important;
}
.content_slider{
padding: 15px 30px;
color: #FFF;
width: 100%;
height: 100%;
}
.content_slider div{
text-align: center;
}
.content_slider h2{
font-family: 'arial';
font-size: 30pt;
letter-spacing: 1px;
text-transform: uppercase;
margin-bottom: 20px;
}
.content_slider p {
font-size: 15pt;
font-family: 'arial';
color: #FFF;
margin-bottom: 20px;
}
#slider li .content_slider{
background: rgba(0, 0, 0, 0.50);
padding: 10px 125px;
}
.content_slider{
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: center;
align-items: center;
}
.btnSlider{
color: #FFF;
font-size: 15pt;
font-family: 'arial';
letter-spacing: 1px;
padding: 10px 50px;
border: 1px solid #CCC;
background: rgba(13, 13, 13, 0.55);
border-radius: 31px;
text-decoration: none;
transition: .5s all;
}
.btnSlider:hover{
background: #111;
border: 1px solid #111;
}
.listslider {
position: absolute;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: space-between;
align-items: center;
left: 50%;
bottom: 5%;
list-style: none;
z-index: 2;
transform: translateX(-50%);
}
.listslider li {
border-radius: 50%;
width: 10px;
height: 10px;
cursor: pointer;
margin: 0 5px;
}
.listslider li a {
background: #CCC;
border-radius: 50%;
width: 100%;
height: 100%;
display: block;
}
.item-select-slid {
background: #FFF !important;
}
@media screen and (max-width: 460px){
.content_slider h2 {
font-size: 15pt !important;
}
.content_slider p {
font-size: 12pt !important;
}
#container-slider .arrowPrev, #container-slider .arrowNext{
font-size: 20pt;
}
#container-slider .arrowPrev{
left: 15px;
}
#container-slider .arrowNext{
right: 15px !important;
}
#slider{
height: 400px;
min-height: 400px;
}
#slider li .content_slider{
padding: 10px 35px;
}
.btnSlider{
padding: 10px 30px;
font-size: 10pt;
}
}