-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrankings.css
87 lines (74 loc) · 1.8 KB
/
rankings.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
@font-face {
font-family: "Roboto";
src: url("./fonts/roboto/Roboto-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Roboto Slab";
src: url("./fonts/roboto-slab/RobotoSlab-VariableFont_wght.ttf") format("truetype");
}
@font-face {
font-family: "Roboto Mono";
src: url("./fonts/roboto-mono/RobotoMono-VariableFont_wght.ttf") format("truetype");
}
#rankings-view {
background-color: rgb(53, 53, 53);
position: absolute;
width: 100%; height: 100%;
display: flex;
flex-direction: column;
opacity: 0;
transition: opacity 2s;
pointer-events: none;
font-family: "Roboto Slab";
font-weight: bold;
font-size: 30px;
color: black;
--border-color: black;
--avatar-height: 50px;
}
#rankings-view.fade-in {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
#rankings-view #frame {
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: space-around;
align-items: stretch;
margin: 70px;
background-color: lightgrey;
border: 5px solid var(--border-color);
border-radius: 50px;
padding: 50px;
}
#rankings-view #frame #title {
align-self: center;
font-size: 50px;
flex-grow: 1.5;
}
#rankings-view table {
flex-grow: 2;
border-collapse: collapse;
}
#rankings-view th {
border: 5px solid black;
background-color: white;
}
#rankings-view td {
border: 2px solid black;
text-align: right;
padding-right: 10px;
}
#rankings-view td.text {
border: 2px solid black;
text-align: center;
padding-right: 0;
}
#rankings-view #frame tr:nth-child(odd) {
background-color: white;
}
#rankings-view #frame tr:nth-child(even) {
background-color: lightgrey;
}