-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathindex.css
60 lines (52 loc) · 988 Bytes
/
index.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
html,
body {
position: relative;
height: 100%;
}
body {
background: rgb(2,0,36);
background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 21%, rgba(51,51,131,1) 56%, rgba(49,49,131,1) 76%, rgba(62,120,131,1) 100%);
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
}
.swiper {
width: 500px;
height: 75%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.swiper-slide video {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.text{
z-index: 1;
position: absolute;
color: white;
font-weight: bold;
padding-top: 100px;
}
.title{
text-align: center;
color: white;
font-weight: bolder;
}