summaryrefslogtreecommitdiff
path: root/frontend/src/styles/header.css
blob: 42c429f1c9f17c7b332c70b2c0e25cd4ec8d31c6 (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
.header {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-dark);

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 60px;
    padding: 8px 16px;

    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;

    max-width: 960px;
    margin: 0 auto;
    z-index: 10;
}

.header-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    & > p {
        font-weight: bold;
    }
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        height: fit-content;
        max-width: 360px;
    }

    .header-user {
        gap: var(--gap-normal);
    }

    .header-user-info {
        gap: var(--gap-small);
    }
}