Harveyntt commited on
Commit
a5229df
·
verified ·
1 Parent(s): 42b6dee

Upload style.css

Browse files
Files changed (1) hide show
  1. style.css +48 -0
style.css ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .card-row {
2
+ display: flex;
3
+ gap: 1.5rem; /* This creates the space between cards */
4
+ margin-bottom: 1.5rem; /* This creates space between the rows */
5
+ }
6
+
7
+ .info-card {
8
+ background-color: #FFFFFF;
9
+ border: 1px solid #E0E0E0;
10
+ border-radius: 12px;
11
+ padding: 20px 25px 25px 25px;
12
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
13
+ height: 100%; /* This tells the card to fill the now equal-height column */
14
+ }
15
+
16
+ .card {
17
+ background-color: #ffffff;
18
+ padding: 20px;
19
+ border-radius: 10px;
20
+ box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
21
+ transition: 0.3s;
22
+ height: 100%; /* Ensures cards in the same row have equal height */
23
+ display: flex;
24
+ flex-direction: column;
25
+ justify-content: space-between;
26
+ min-height: 240px; /* Ensure both cards match the taller content */
27
+ }
28
+ .card:hover {
29
+ box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
30
+ }
31
+
32
+ /* Leaderboard table styles */
33
+ .leaderboard-card {
34
+ padding: 12px 18px;
35
+ }
36
+ .leaderboard-card table {
37
+ width: 100%;
38
+ border-collapse: collapse;
39
+ }
40
+ .leaderboard-card th, .leaderboard-card td {
41
+ border: 1px solid #e0e0e0;
42
+ padding: 8px 10px;
43
+ text-align: left;
44
+ }
45
+ .leaderboard-card th {
46
+ background-color: #f7f9fb;
47
+ color: #003a63;
48
+ }