-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
63 lines (55 loc) · 1.63 KB
/
App.css
File metadata and controls
63 lines (55 loc) · 1.63 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
/* .wrapper,
.charts-wrapper{
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height:90vh;
}
.charts-wrapper{
width:94%;
justify-content: space-between;
height:auto;
padding:2rem;
border-radius: 0.5rem;
box-shadow: var(--shadow);
margin:2rem;
} */
.wrapper {
display: flex;
justify-content: center; /* Center align content horizontally */
align-items: center; /* Center align content vertically */
height: 100vh; /* Full viewport height */
background-color: #f5f5f5; /* Light background color for the page */
padding: 2rem; /* Padding around the content */
box-sizing: border-box; /* Ensure padding is included in width/height */
}
.charts-wrapper {
display: flex;
justify-content: center; /* Center align charts horizontally */
flex-wrap: wrap; /* Allow charts to wrap if needed */
gap: 2rem; /* Space between charts */
padding: 2rem; /* Padding around the charts */
max-width: 1200px; /* Maximum width to center the content */
margin: auto; /* Center horizontally on the page */
}
.chart-container {
display: flex;
flex-direction: column;
align-items: center; /* Center align chart titles and charts */
flex: 1;
}
.chart-title {
margin-top: 0; /* Remove default margin */
font-size: 1.5rem; /* Font size for titles */
font-weight: 600; /* Font weight for titles */
text-align: center; /* Center align title text */
}
.line-chart {
width: 100%; /* Full width of the container */
max-width: 600px; /* Maximum width of the line chart */
}
.pie-chart {
width: 100%; /* Full width of the container */
max-width: 300px; /* Maximum width of the pie chart */
}