blob: 0d6b2344d4a62304cfcde0748408fbeb57e1b671 (
plain)
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
|
#container {
width: 100%;
height: 100%;
background: var(--page-background);
padding: 40px;
display: flex;
flex-flow: column;
gap: 20px;
max-width: 700px;
margin: auto;
}
#profile-image {
width: 200px;
height: 200px;
position: relative;
margin: auto;
margin-top: 50px;
margin-bottom: 30px;
}
#image-container {
background: #fff;
position: relative;
border-radius: 100%;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
overflow: hidden;
}
#image-container img {
visibility: hidden;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
width: 100%;
height: 100%;
object-fit: cover;
user-select: none;
}
#image-container img[src] {
visibility: visible;
}
#profile-image #edit-container {
overflow: unset;
}
#profile-image #edit {
position: absolute;
top: 15px;
right: 15px;
background: var(--card-background);
width: 30px;
height: 30px;
padding: 6px;
border-radius: 100%;
box-shadow: var(--shadow);
cursor: pointer;
}
#info-box {
width: 100%;
text-align: center;
color: var(--fg-disabled);
font-weight: lighter;
user-select: none;
}
#info-box #name {
font-family: 'Pacifico';
}
#logout {
padding: 10px;
width: 100%;
text-align: center;
background: #ee5151;
box-shadow: var(--shadow);
color: #fff;
font-weight: bold;
border-radius: var(--border-radius);
cursor: pointer;
}
|