-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
123 lines (111 loc) · 2.05 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
*, *::before, *::after { box-sizing: border-box; padding: 0; margin: 0}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
body {
font-family: 'IBM Plex Sans', sans-serif;
height: 100vh;
display: grid;
place-items: center;
background-image: url(images/background.png);
background-size: cover;
background-repeat: no-repeat;
backdrop-filter:blur(0.3);
}
.carousel {
max-width: 1440px;
width: 100%;
max-width: 500px;
height: 530px;
margin: auto;
position: relative;
overflow: hidden;
}
.carousel:hover .btn {
opacity: 1;
}
.slide {
width: 100%;
max-width: 500px;
height: 500px;
position: absolute;
transition: all 0.3s;
}
.slide img {
width: 100%;
height: 100%;
object-fit: cover;
}
.slide_Text {
position: relative;
color: #fff;
font-size: 1rem;
text-align: center;
width: 100%;
font-weight: bold;
background-color: rgb(185, 185, 185);
}
.text1 {
background-color: #50191A;
}
.text2 {
background-color: #085603;
}
.text3 {
background-color: #a19e99;
}
.text4 {
background-color: #F3B109;
}
.text5 {
background-color: #AE0900;
}
.text6 {
background-color: #976D65;
}
.btn {
z-index: 10;
outline: none;
border: none;
width: 5rem;
color: #fff;
background: none;
position: absolute;
font-size: 3rem;
cursor: pointer;
border-radius: 10px;
opacity: 0;
transition: 0.2s;
}
#prev {
left: 4px;
top: 230px;
}
#next {
right: 4px;
top: 230px;
}
@media (max-width: 475px) {
.carousel {
width: 90%;
}
.slide {
width: 100%;
max-width: 400px;
height: 400px;
position: absolute;
transition: all 0.3s;
margin-top: 35px;
}
}
@media (max-width: 375px) {
.carousel {
width: 90%;
}
.slide {
width: 100%;
max-width: 400px;
height: 400px;
position: absolute;
transition: all 0.3s;
margin-top: 35px;
}
}