-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (68 loc) · 1.23 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #333;
color: #fff;
padding: 1.25rem;
}
.container {
max-width: 75rem;
margin: 0 auto;
padding: 1.25rem;
}
.row {
display: flex;
justify-content: space-between;
margin-bottom: 1.25rem;
}
.card {
background-color: #444;
border-radius: 0.5rem;
padding: 1.25rem;
width: 32%;
min-height: 17.625rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
input, button {
margin-bottom: 1.25rem;
padding: 0.625rem;
border: none;
border-radius: 0.25rem;
outline: none;
font-size: 1rem;
}
input {
width: 17.5rem;
}
button {
background-color: #28a745;
color: white;
cursor: pointer;
}
button:hover {
background-color: #218838;
}
.chart-card {
display: none;
height: 19.625rem; /* Set the height to match the card's minimum height */
}
canvas {
width: 100%;
height: 100%; /* Make the canvas fill the entire chart card */
}
@media (max-width: 48rem) {
.row {
flex-direction: column;
}
.card {
width: 100%;
margin-bottom: 1.25rem;
}
}