aboutsummaryrefslogtreecommitdiff
path: root/static/pages/settings/index.css
blob: eb718ab9d5a2632d03f8f7ae6ed3417234788bb8 (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
#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 {
	position: relative;
	border-radius: 100%;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	overflow: hidden;
}

#image-container img {
	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;
}

#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;
}