-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (68 loc) · 1.19 KB
/
style.css
File metadata and controls
80 lines (68 loc) · 1.19 KB
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
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
padding: 20px;
}
h1 {
text-align: center;
}
.graph-container {
margin-bottom: 20px;
background-color: #fff;
padding: 20px;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.graph-title {
font-size: 18px;
margin-bottom: 10px;
}
.graph-description {
font-size: 14px;
color: #666;
}
.graph {
max-width: 100%;
}
/* Customize Chart.js tooltip */
.chartjs-tooltip {
font-family: Arial, sans-serif;
font-size: 12px;
font-weight: bold;
padding: 6px 8px;
color: #fff;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 4px;
transition: opacity 0.3s ease;
}
.chartjs-tooltip-key {
display: inline-block;
width: 10px;
height: 10px;
margin-right: 6px;
}
.chartjs-tooltip-value {
display: inline-block;
}
/* Customize Chart.js legend */
.chartjs-legend {
display: flex;
justify-content: center;
align-items: center;
list-style-type: none;
padding: 0;
margin: 0;
}
.chartjs-legend-item {
display: flex;
align-items: center;
margin-right: 10px;
}
.chartjs-legend-color {
width: 10px;
height: 10px;
margin-right: 6px;
}
.chartjs-legend-text {
font-size: 12px;
}