Main.scss
1.02 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
.main {
width: 100%;
height: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
.profile {
width: 180px;
height: 180px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
overflow: hidden;
img {
width: 180px;
height: 180px;
border-radius: 50%;
}
}
.list {
flex: 1;
width: 100%;
max-height: calc(100vh - 255px);
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: center;
.followers {
flex: 1;
padding: .4rem;
}
.following {
flex: 1;
padding: .4rem;
}
.item {
padding-left: 0.3rem;
margin: .25rem 0;
border-radius: 0.16rem;
height: 1.8rem;
display: flex;
justify-content: center;
align-items: center;
&.item-0 {
background-color: #efefef;
}
}
}
.title {
font-size: 1rem;
font-weight: 800;
margin: 0.5rem 0;
}
}