-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (91 loc) · 1.6 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
font-family: Helvetica;
}
body{
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container{
max-width: 400px;
width: 90vw;
max-height: 700px;
height: 80vh;
box-shadow: 2px 2px 10px black;
background: white;
overflow: hidden;
display: flex;
flex-direction: column;
}
.container .header{
background: rgb(0, 77, 177);
padding: 20px 40px;
color: white;
}
.container h1{
font-size: 1.3rem;
margin:5px 0;
}
.container p{
font-size: .8rem;
font-weight: lighter;
margin: 0 0 10px 0;
}
input{
outline: none;
background: rgba(0, 0, 0, 0.305);
border-radius: 20px;
padding: 10px;
font-size: .9rem;
display: block;
margin: 0 auto;
width: 100%;
border: none;
color: white;
}
.result{
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
}
.result ul li{
display: flex;
flex-direction: row;
padding: 10px;
height: 80px;
}
.result ul li .info{
display: flex;
overflow: hidden;
justify-content: center;
flex-direction: column;
padding: 10px;
width: 100%;
gap: 5px;
}
.result ul li img{
border-radius: 50%;
width: 65px;
height: 65px;
object-fit: cover;
}
.result ul li .info .name{
font-size: 1rem;
}
.result ul li .loading{
display: flex;
width: 100%;
align-items: center;
padding-left: 20px;
border: none;
}
.result ul li.hide{
display: none;
}