forked from manimanis/leaderboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (89 loc) · 1.58 KB
/
style.css
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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,600&display=swap');
body {
font-family: Montserrat, sans-serif;
color: #333333;
}
.leaders {
display: flex;
flex-wrap: wrap;
}
.column {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.column h2 {
width: 100%;
}
.card {
box-sizing: content-box;
margin: 0.5em;
padding: 0.5em;
border: #ccc solid 1px;
width: 100%;
border-radius: 0.25em;
display: flex;
}
.card .image {
width: 96px;
height: 96px;
}
.image img {
width: 100%;
}
.table {
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
font-size: 0.9rem;
}
.table>thead th {
color: #333333;
border: 1px solid #cccccc;
border-bottom-width: 1px;
border-bottom-width: 2px;
font-weight: 700;
padding: 7px 10px;
text-align: left;
cursor: pointer;
background: #ffffff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.table>thead th::before {
content: "";
display: inline-block;
border: 5px solid transparent;
margin-right: 5px;
}
.table>thead th.sort_desc::before {
border-bottom-color: #333333;
border-top-width: 0;
}
.table>thead th.sort_asc::before {
border-top-color: #333333;
border-bottom-width: 0;
}
.table tr:nth-child(odd) {
background-color: #f5f5f5;
}
.table td {
padding: 3px 10px;
text-overflow: ellipsis;
border: 1px solid #e0e0e0;
}
.table .number {
text-align: right;
}
.navigation {
text-align: center;
}
.navigation span {
padding: 7px 10px;
}
@media screen and (min-width: 690px) {
.column {
width: 33.3%;
}
}