-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (104 loc) · 1.89 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px, 80px;
background: #02364c;
border-bottom: 3px #406e96;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}
.logo {
scale: 1.4;
width: 100px;
cursor: pointer;
margin-left: 80px;
border-bottom: 10px white ;
padding-bottom: 10px;
padding-top: 15px;
}
#navbar {
display: flex;
align-items: center;
justify-content: center;
margin-right: 80px;
}
#navbar li {
list-style: none;
padding: 0 20px;
position: relative;
}
#navbar li a {
text-decoration: none;
font-size: 20px;
color: white;
transition: 0.3s ease;
}
#navbar li a:hover,
#navbar li a.active {
color: #ffc907;
}
#navbar li a.active::after,
#navbar li a:hover::after {
content: "";
width: 30%;
height: 2px;
background: #ffc907;
position: absolute;
bottom: -4px;
left: 20%;
}
.img-slider {
position: relative;
width: 100%;
height: 88.5vh;
background: white;
align-items: center;
overflow: hidden;
justify-content: center;
}
.img-slider .slide {
position: absolute;
width: 100%;
clip-path: circle(0% at 0 50%);
align-items: center;
justify-content: center;
}
.img-slider .slide.active {
clip-path: circle(150% at 0 50%);
transition: 2s;
transition-property: clip-path;
}
.img-slider .slide img {
z-index: 1;
width: 55%;
height: 85vh;
align-items: center;
justify-content: center;
margin-left: 370px;
margin-top: 5px;
}
.img-slider .navigation {
z-index: 2;
position: absolute;
display: flex;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
}
.img-slider .navigation .btn {
background: rgba(108, 108, 108, 0.5);
width: 12px;
height: 12px;
margin: 10px;
border-radius: 50%;
cursor: pointer;
}
.img-slider .navigation .btn.active {
background: #2696e9;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}