aboutsummaryrefslogtreecommitdiff
path: root/styles/user.css
blob: 5487bb0a44ce9b938202ce5ffc8ce52642d0bef5 (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
.infosection .inner {
	height: 64px;
}

/* editable field status */
*[contenteditable] {
	box-shadow: inset 0 0 0 0px var(--foreground);
}
*[contenteditable="true"]:focus {
	box-shadow: inset 0 0 0 2px var(--accent);
}
*[contenteditable="true"] {
	background-color: var(--background);
	color: var(--foreground);
	padding: 8px;
	box-shadow: inset 0 0 0 2px var(--foreground);
}

.accountHeader .userInfo {
	margin-left: var(--spacing-medium);
	width: calc(100% - 128px - var(--spacing-medium));
}

.accountHeader .userInfo .username {
	font-size: 2rem;
}

.accountHeader .userInfo .status {
	transition-duration: .3s;
	margin-top: var(--spacing-small);
}

.infoModule .iconWrapper {
	left: 50%;
	transform: translateX(-50%);
}

.infoModule .labelWrapper {
	top: calc(24px + var(--spacing-small));
}

.infoModule .labelWrapper .label {
	top: 50%;
	transform: translateY(-50%);
}