aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/pages/home.css
blob: e5a8eab066f73cc8934d2142502a0ae379f9f6f1 (plain) (blame)
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
92
* {
    scrollbar-width: thin;
}

.homepage-panel {
    background-color: #202232;
    margin: 10px 10px;
    padding: 10px;
    border-radius: 24px;
    overflow: hidden;
    flex: 1 1 100%;
    align-items: stretch;
    width: 100%;
}

.homepage-panel-title-div {
    background-color: #2B2E46;
    width: fit-content;
    padding: 5px 18px;
    border-radius: 200px;
    font-family: BarlowSemiCondensed-SemiBold;
    font-size: 32px;
    margin-bottom: 10px;
}

.stats-div {
    background-color: #2B2E46;
    border-radius: 24px;
    text-align: center;
    display: grid;
    padding: 10px 0px;
    width: 100%;
}

.stats-div span {
    font-family: BarlowSemiCondensed-Regular;
    font-size: 18px;
}

.stats-div span>b {
    font-family: BarlowSemiCondensed-SemiBold;
    font-size: 42px;
}

.record-title div {
    --padding: 20px;
    width: calc(100% - calc(var(--padding * 2)));
    height: 32px;
    border-radius: 200px;
    font-size: 18px;
    display: grid;
    grid-template-columns: calc(20% - 3.6px) calc(25% - 4.5px) calc(15% - 2.7px) calc(15% - 2.7px) calc(25% - 4.5px);
    text-align: center;
    padding: 0px var(--padding);
    vertical-align: middle;
    align-items: center;
    font-family: BarlowSemiCondensed-SemiBold;
}

.record-title::after {
    content: "";
    display: flex;
    width: 100%;
    height: 3px;
    background-color: #2B2E46;
    margin-bottom: 5px;
}

.recommended-map-img {
    width: 250px;
    border-radius: 19px;
    margin-bottom: 0;
    /* border: 7px solid #2B2E46; */
    background-size: cover;
    background-position-x: 50%;
}

.difficulty-bar-home {
    width: 100%;
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    align-items: center;
    margin: 0px;
    margin-top: 7px;
}

.difficulty-point {
    background: #2B2E46;
    height: 4px;
    margin: 5px;
    border-radius: 10px;
}