-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-slider-fullwidth.css
83 lines (75 loc) · 1.13 KB
/
test-slider-fullwidth.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
body {
font-family: "Open Sans", sans-serif;
}
.container{
padding-top: 20px;
padding-bottom: 30px;
}
.testimonials {
overflow: hidden;
position: relative;
max-height: 300px;
}
.testimonials {
background: #faf4ff;
}
.one-slide,
.testimonial,
.message {
border: none !important;
outline: none !important;
color: black;
}
.icon-overlay {
position: absolute;
opacity: 0.3;
right: 10%;
top: 0;
height: 325px;
width: 100%;
max-width: 400px;
}
.carousel-controls .control {
position: absolute;
transform: translateY(-50%);
width: 45px;
height: 45px;
border-radius: 50%;
border: 2px solid black;
z-index: 1;
}
.prev {
left: -2.25rem;
}
.next {
right: -2.25rem;
}
@media screen and (max-width: 768px) {
.testimonials {
max-height: 700px;
}
.icon-overlay {
height: 300px;
top: calc(50% - 150px);
}
.carousel-controls .control {
width: 25px;
height: 25px;
top: inherit;
}
.prev {
left: 0;
}
.next {
right: 0;
}
.control i {
font-size: .7rem;
}
.testimonials .message {
font-size: 1rem;
}
.testimonials h2 {
font-size: 1.5rem;
}
}