-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.module.scss
117 lines (95 loc) · 2.05 KB
/
styles.module.scss
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
108
109
110
111
112
113
114
115
116
117
.leaderboardTable {
width: 100%;
border-collapse: collapse;
font-family: 'Inter', sans-serif;
font-weight: 500;
td, th {
padding: 0.5rem 1rem;
}
td {
height: 4.5rem;
}
th {
color: var(--text);
text-align: left;
}
tbody {
tr {
background-color: var(--white);
border-bottom: 7px solid #f2f3f5;
td {
&:first-child{
text-align: center;
font-size: 1.5rem;
color: var(--text);
border-right: 7px solid #f2f3f5;
width: 4rem;
}
&.profile {
width: 20rem;
display: flex;
align-items: center;
gap: 0.5rem;
> img {
width: 3rem;
height: 3rem;
border-radius: 50%;
}
> div {
flex: 1;
strong {
display: block;
margin-bottom: 0.3rem;
color: var(--title);
}
> div {
display: flex;
span {
font-size: 0.975rem;
margin-left: 0.4rem;
color: var(--text);
font-weight: 400;
}
}
}
}
> span{
color: var(--blue);
margin-right: 0.4rem;
}
}
}
}
}
@media screen and (max-width: 800px) {
.leaderboardTable {
overflow: hidden;
border-radius: 5px;
thead {
display: none;
}
tbody {
tr {
width: 90vw;
display: flex;
flex-wrap: wrap;
border-radius: 5px;
margin-bottom: 10px;
border: none;
td {
width: 50%;
display: flex;
align-items: center;
justify-content: center;
&:first-child {
border-bottom: 7px solid #f2f3f5;
border-bottom-right-radius: 5px;
}
&.profile {
width: initial;
}
}
}
}
}
}