aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Rankings.css
blob: edc5a00cf9ce20c629cf29522715ed5d350d26ad (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.nav-container {
    justify-content: center;
    display: flex;
}

.nav-container div {
    display: flex;
    width: 100%;
    background-color: #202232;
    margin-top: 20px;
    border-radius: 2000px;
    overflow: hidden;
    gap: 3px;
}

.nav-container button {
    background-color: #2B2E46;
    color: inherit;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 26px;
    padding: 10px 0px;
    transition: all 0.1s;
}

.nav-container button:hover, .nav-container button.selected {
    background-color: #202232;
}

.nav-1 div {
    width: 60%;
}

.nav-2 div {
    width: 75%;
}

.rankings-leaderboard {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 20px;
    align-items: center;
    margin-top: 20px;
}

.ranks-container {
    display: flex;
    width: calc(60% - 20px);
    padding: 8px 8px;
    background-color: #202232;
    border-radius: 32px;
    flex-direction: column;
    gap: 7px;
}

.leaderboard-entry {
    display: grid;
    grid-template-columns: 20% 40% 40%;
    text-align: center;
    align-items: center;
    width: 100%;
    background-color: #2B2E46;
    border-radius: 2000px;
    padding: 6px 0px;
}

.leaderboard-entry div:nth-child(2) {
    text-align: left;
}

.leaderboard-entry div a {
    display: flex;
    align-items: center;
}

.leaderboard-entry div a span {
    margin-left: 5px;
}

.leaderboard-entry img {
    height: 34px;
    border-radius: 2000px;
}

.leaderboard-entry.header {
    background-color: rgba(0, 0, 0, 0);
    font-family: "BarlowSemiCondensed-SemiBold";
    padding: 2px 0px;
}

.leaderboard-entry.header span:nth-child(2) {
    text-align: left;
}

.ranks-container .splitter {
    width: calc(100% - 20px);
    display: flex;
    height: 0.13em;
    background-color: #b7b9c6;
    border-radius: 200px;
    transform: translateX(10px);
}