-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
112 lines (93 loc) · 1.86 KB
/
styles.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#header {
/* background-color: red; */
background-image: linear-gradient(to bottom right, teal, purple); /* padding: 20px;
text-align: center;
color: white; */
opacity: 70%;
}
#submit-btn {
/* background-color: red; */
background-image: linear-gradient(to right top, #89cff0, pink); /* padding: 20px;
text-align: center;
color: white; */
opacity: 70%;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.row {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.column {
flex: 1;
margin-right: 10px;
}
/* Added styles for the chart container and the table container */
#chart-container {
flex: 1;
}
#table-container {
flex: 1;
}
/* Additional styles for the line chart */
#line-chart {
width: 100%;
height: 400px;
}
/* Additional styles for the event table */
#event-table {
width: 100%;
border-collapse: collapse;
text-align: left;
border-radius: 5px;
overflow: hidden;
}
#event-table th,
#event-table td {
padding: 12px;
}
/* Striped rows */
#event-table tbody tr:nth-child(even) {
background-color: #f2f2f2;
}
/* Interactive on hover */
#event-table tbody tr:hover {
background-color: #ddd;
cursor: pointer;
}
/* Table header style */
#event-table th {
background-color: #f8f8f8;
font-weight: bold;
}
/* Table footer style */
#event-table tfoot td {
font-weight: bold;
}
/* Center the table and map when the screen size is smaller */
@media (max-width: 768px) {
.row {
flex-direction: column;
}
#table-container, #map-container {
margin: 0 auto;
}
}
#submit-btn {
display: block;
margin: 0 auto;
}
.button-container {
display: flex;
justify-content: center;
}
.button-container button {
margin-top: 10px;
}
#warning {
display: flex;
justify-content: center;
}