-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (98 loc) · 2.29 KB
/
styles.css
File metadata and controls
110 lines (98 loc) · 2.29 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
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
color: #333;
text-align: center;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Container */
.container {
width: 90%;
max-width: 700px;
text-align: center;
background: white;
padding: 30px;
border-radius: 15px;
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2);
transition: all 0.5s ease-in-out;
}
/* Expands container when graph is shown */
.container.expanded {
max-width: 900px;
padding: 40px;
}
/* Title Styles */
h1 {
font-size: 2.2rem;
color: #007bff;
text-shadow: 2px 2px 5px rgba(0, 123, 255, 0.3);
margin-bottom: 20px;
transition: font-size 0.3s ease-in-out;
}
.small-heading {
font-size: 1.6rem !important;
}
/* Button Styles */
.btn {
background: linear-gradient(45deg, #ff416c, #ff4b2b);
color: white;
padding: 12px 25px;
font-size: 1rem;
border: none;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease-in-out, transform 0.2s;
box-shadow: 0px 5px 15px rgba(255, 65, 108, 0.5);
}
.btn:hover {
transform: scale(1.05);
box-shadow: 0px 10px 20px rgba(255, 65, 108, 0.7);
}
.back-btn {
position: absolute;
top: 20px;
left: 20px;
font-size: 0.9rem;
padding: 8px 15px;
background: linear-gradient(45deg, #4CAF50, #008CBA);
}
/* Chart Container */
.chart-container {
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
margin-top: 20px;
max-width: 100%;
display: none;
opacity: 0;
transition: opacity 0.5s ease-in-out;
height: 500px;
}
.chart-container canvas {
width: 100% !important;
height: 100% !important;
}
.show {
display: block !important;
opacity: 1 !important;
}
/* Responsive Design */
@media (max-width: 768px) {
h1 {
font-size: 1.8rem;
}
.container {
width: 95%;
}
.btn {
font-size: 0.9rem;
padding: 10px 20px;
}
}