-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (96 loc) · 1.82 KB
/
style.css
File metadata and controls
112 lines (96 loc) · 1.82 KB
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
.main-container {
width: 100%;
height: 700px;
max-width: 1400px;
user-select: none;
padding: 10px;
box-sizing: border-box;
margin: 0 auto;
}
.slides-container {
width: 100%;
height: 90%;
overflow: hidden;
position: relative;
box-shadow: 1px 1px 5px 2px rgba(87,87,87,1);
}
.slide-img {
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
}
.slide-img img {
width: 100%;
height: 100%;
}
.btn-prev, .btn-next {
width: 50px;
height: 50px;
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
background-color: transparent;
border: none;
z-index: 1;
}
.btn-next {
left: auto;
right: 10px;
}
.btn-prev:hover, .btn-next:hover {
cursor: pointer;
}
.btn-prev:focus, .btn-next:focus {
border: none;
outline: none;
}
.arrow-next, .arrow-prev {
position: absolute;
top: 10px;
font-size: 30px;
color: white;
transition: font-size 0.3s;
}
.arrow-next {
right: 10px;
}
.arrow-prev {
left: 10px;
}
.arrow-next:hover, .arrow-prev:hover {
font-size: 32px;
}
.dots-container {
width: 100%;
height: 10%;
text-align: center;
padding-top: 20px;
box-sizing: border-box;
}
.dot {
display: inline-block;
width: 15px;
height: 15px;
border-radius: 50%;
margin-left: 10px;
background-color: #b0b0b0;
cursor: pointer;
transition: background-color 0.3s;
}
.dot:first-child {
margin-left: 0;
}
@media all and (max-width: 1100px) {
.main-container {
height: 50vh;
min-height: 250px;
}
}
@media all and (max-width: 600px) {
.main-container {
height: 30vh;
min-height: 180px;
}
}