-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex1.css
More file actions
66 lines (66 loc) · 1.53 KB
/
index1.css
File metadata and controls
66 lines (66 loc) · 1.53 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
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK&display=swap');
html {
scroll-behavior: smooth;
}
body {
font-family: 'Noto Sans HK', sans-serif;
background: #fff;
}
.slider {
margin-bottom: 30px;
position: relative;
}
.slider .owl-item.active.center .slider-card {
transform: scale(1.15);
opacity: 1;
background: #ff9966; /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #ff5e62, #ff9966); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #ff5e62, #ff9966); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
color: #fff;
}
.slider-card {
background: #fff;
padding: 0px 0px;
margin: 50px 15px 90px 15px;
border-radius: 5px;
box-shadow: 0 15px 45px -20px rgb(0 0 0 / 73%);
transform: scale(0.9);
opacity: 0.5;
transition: all 0.3s;
}
.slider-card img {
border-radius: 5px 5px 0px 0px;
}
.owl-nav .owl-prev {
position: absolute;
color: black;
top: calc(50% - 25px);
left: 0;
opacity: 10;
font-size: 30px !important;
z-index: 1;
}
.owl-nav .owl-next {
position: absolute;
color: black;
top: calc(50% - 25px);
right: 0;
opacity: 10;
font-size: 30px !important;
z-index: 1;
}
.owl-dots {
text-align: center;
}
.owl-dots .owl-dot {
height: 10px;
width: 10px;
border-radius: 10px;
background: #ccc !important;
margin-left: 3px;
margin-right: 3px;
outline: none;
}
.owl-dots .owl-dot.active {
background: #f44336 !important;
}