-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
123 lines (104 loc) · 1.92 KB
/
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
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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
display: grid;
place-items: center;
position: relative;
height: 100vh;
background-color: #9a99f2;
}
.swiper-container {
border-radius: 5px;
width: 70vw;
overflow: hidden;
font-size: 50px;
position: relative;
padding-bottom: 50px;
font-family: sans-serif;
}
.swiper-slide {
width: auto;
display: flex;
border-radius: 5px;
overflow: hidden;
align-items: flex-start;
flex-direction: column;
padding: 0;
font-family: 'Nunito', sans-serif;
background-color: white;
}
.swiper-slide .ImgHolder {
background-color: #4361ee;
display: flex;
width: 100%;
padding: 30px;
border-bottom-left-radius: 20px;
}
.ContentHolder::before {
background-color: #4361ee;
content: '';
width: 50px;
height: 50px;
position: absolute;
top: -5px;
z-index: 1;
right: 0;
}
.ContentHolder {
position: relative;
padding: 10px;
background-color: white;
border-top-right-radius: 20px;
}
.swiper-pagination-bullet {
background-color: white;
opacity: 1;
border: 1px solid #4361ee;
}
.swiper-pagination-bullet-active {
background-color: #4361ee;
}
.swiper-button {
border: 1px solid white;
}
.swiper-slide img {
width: 100px;
height: 100px;
border-radius: 50%;
margin: auto;
object-fit: cover;
border: 3px solid #4361ee;
outline: 2px solid white;
}
.swiper-slide h3 {
font-size: 1.1rem;
text-align: center;
font-weight: bold;
}
.swiper-slide p {
font-size: 0.9rem;
padding: 5px;
}
@media (max-width:638px) {
.swiper-container {
width: 100%;
}
}
@media (max-width:300px) {
.swiper-container {
width: 100%;
}
.swiper-slide {
border-radius: 0;
}
.swiper-container .ImgHolder {
border-bottom-left-radius: 0;
}
.ContentHolder {
border-top-right-radius: 0;
}
}