-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
76 lines (68 loc) · 1.21 KB
/
index.css
File metadata and controls
76 lines (68 loc) · 1.21 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
67
68
69
70
71
72
73
74
75
76
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
font-family:Arial, Helvetica, sans-serif
}
.card {
width: 250px;
padding: 10px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.image-container{
width: 100%;
height: 200px;
}
.image-container img{
width: 100%;
height: 100%;
}
.image-description{
font-size: 0.75rem;
line-height: 150%;
word-spacing: 1px;
}
.btn {
width: 100%;
padding: 0.4rem 2rem;
background-color: rgb(83, 83, 218);
color: #fff;
border-width: 0px;
border-radius: 2px;
cursor: pointer;
}
.btn:disabled{
cursor:wait
}
.loading {
background-image: linear-gradient(
to right,
#f6f7f8 0%,
#edeef1 10%,
#f6f7f8 20%,
#f6f7f8 100%
);
background-size: 200% 100%;
animation: bgPos 1s linear infinite;
}
.loading-text {
border-radius: 5px;
display: inline-block;
margin: 10px;
height: 20px;
width: 100%;
}
@keyframes bgPos {
0% {
background-position: 50% 0;
}
100% {
background-position: -150% 0;
}
}