-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
66 lines (56 loc) · 935 Bytes
/
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
body {
/* ref: https://fonts.google.com/specimen/Source+Sans+Pro?selection.family=Source+Sans+Pro */
font-family: "Source Sans Pro", sans-serif;
padding: 1em 3em;
}
#dashboard {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr, 1fr;
column-gap: 2em;
}
#table {
grid-row-start: 1;
grid-row-end: span 2;
}
#barchart, #count {
padding-top: 1em;
}
/* Table styles */
thead,
tbody tr {
display: table;
width: 100%;
table-layout: fixed;
border-bottom: 1px solid white;
}
tbody {
width: 100%;
display: block;
height: 70vh;
overflow: scroll;
}
th,
td {
text-align: left;
padding: 0.5em;
cursor: pointer;
font-weight: lighter;
text-transform: capitalize;
}
tr:hover {
font-weight: 900;
}
/* Count styles */
#count {
display: flex;
flex-direction: row;
}
.metric {
flex-grow: 1;
text-align: center;
}
.metric > .number {
color: #ccc;
font-size: 25px;
}