-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.ts
More file actions
30 lines (28 loc) · 687 Bytes
/
css.ts
File metadata and controls
30 lines (28 loc) · 687 Bytes
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
import { css } from "@emotion/react";
const OPPONENT_PROFILE_BUTTON = css`
:hover {
text-decoration: underline;
background-color: #4d4d4d;
}
`;
const PROFILE_PICTURE_ICON = css`
width: 1.75em;
height: 1.75em;
`;
const ANONYMOUS_USER_ICON = css`
width: 2.2em;
height: 2.2em;
// The icon is not 100% size so to scale it the same as the profile picture we have to adjust the margin
margin: -0.25em;
`;
const OPPONENT_USER_WRAPPER = css`
display: flex;
align-items: center;
gap: 0.5em;
`;
export const CSS = {
OPPONENT_PROFILE_BUTTON,
PROFILE_PICTURE_ICON,
ANONYMOUS_USER_ICON,
OPPONENT_USER_WRAPPER,
} as const;