1+ .leaderboard {
2+ font-size : 1rem ;
3+ } /*1rem = 16px*/
4+
5+ .my-custom-scrollbar {
6+ overflow-y : auto;
7+ margin-bottom : 1rem ;
8+ }
9+
10+ .leaderboard thead th {
11+ top : 0 ;
12+ border-top : 10px solid # dee2e6 ;
13+ border-top-width : 1px ;
14+ border-top-style : solid;
15+ border-top-color : rgb (222 , 226 , 230 );
16+ }
17+
18+ .leaderboard tbody tr td ,
19+ .leaderboard thead tr th {
20+ text-align : left !important ;
21+ }
22+
23+ .dark-leaderboard-row {
24+ background-color : # 3a506b ;
25+ color : white;
26+ }
27+
28+ .dark-leaderboard-row th {
29+ background-color : # 3a506b ;
30+ color : white;
31+ }
32+ .dark-leaderboard-row : hover {
33+ background-color : # 111831 ;
34+ }
35+
36+ .light-leaderboard-row {
37+ background-color : white;
38+ color : black;
39+ display : table-row;
40+ }
41+ .light-leaderboard-row th {
42+ background-color : white;
43+ color : black;
44+ }
45+
46+ .light-leaderboard-row : hover {
47+ background-color : # f0f8ff ;
48+ }
49+
50+
51+ /* Small devices (landscape phones, 544px and up) */
52+ @media (max-width : 544px ) {
53+ .leaderboard {
54+ font-size : 0.7rem ;
55+ } /*1rem = 16px*/
56+
57+ .my-custom-scrollbar {
58+ max-height : 500px ;
59+ overflow : scroll;
60+ margin-bottom : 1rem ;
61+ }
62+
63+ .leaderboard thead th {
64+ top : 0 ;
65+ border-top : 10px solid # dee2e6 ;
66+ border-top-width : 1px ;
67+ border-top-style : solid;
68+ border-top-color : rgb (222 , 226 , 230 );
69+ }
70+ }
71+ .row {
72+ width : 97% ;
73+ }
74+
75+ .table-fixed tbody td {
76+ white-space : normal; /* Allow text wrapping within cells */
77+ }
78+
79+ .table-fixed {
80+ font-size : 0.93rem ;
81+ word-break : break-word;
82+ }
83+
84+ .animation {
85+ animation : l-animation 1.2s cubic-bezier (0.5 , 0 , 0.5 , 1 ) infinite;
86+ }
87+ @keyframes l-animation {
88+ 0% {
89+ transform : rotate (0deg );
90+ }
91+ 100% {
92+ transform : rotate (360deg );
93+ }
94+ }
95+
96+ .leaderboard-totals-title {
97+ color : # 339cff ;
98+ font-weight : bold;
99+ }
100+
101+ .leaderboard-totals-container {
102+ display : flex;
103+ flex-direction : column;
104+ }
105+
106+ @media screen and (max-width : 544px ) {
107+ .responsive-font-size {
108+ font-size : 0.75rem !important ;
109+ }
110+ }
111+
112+
113+ .leaderboard .abbreviated-mode thead th {
114+ font-size : 0.75rem ;
115+ white-space : nowrap;
116+ overflow : hidden;
117+ text-overflow : ellipsis;
118+ max-width : 120px ;
119+ min-width : 70px ;
120+ padding : 0.5rem 0.3rem ;
121+ vertical-align : middle;
122+ }
0 commit comments