-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (116 loc) · 3.19 KB
/
Copy pathstyle.css
File metadata and controls
116 lines (116 loc) · 3.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
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
113
114
115
116
body {
font-family: Arial, sans-serif;
background-image: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1951&q=80');
background-size: cover;
background-attachment: fixed;
background-position: center;
color: #333;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #2c3e50;
}
.calculator {
display: none;
margin-top: 20px;
}
.input-group {
margin-bottom: 15px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
label {
flex: 0 0 200px;
color: #34495e;
}
.slider-container {
flex-direction: column;
align-items: stretch;
}
input[type="range"] {
flex: 1;
margin-right: 10px;
}
input[type="number"] {
width: 120px;
padding: 5px;
margin-left: 10px;
border: 1px solid #bdc3c7;
border-radius: 4px;
}
.result {
margin-top: 20px;
font-weight: bold;
background-color: #ecf0f1;
padding: 15px;
border-radius: 5px;
}
.chart {
width: 200px;
height: 200px;
border-radius: 50%;
margin: 20px auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.invest-button {
background-color: #27ae60;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
display: block;
margin: 20px auto;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s;
}
.invest-button:hover {
background-color: #2ecc71;
}
.toggle-switch {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.toggle-switch button {
padding: 10px 20px;
background-color: #ecf0f1;
border: 1px solid #bdc3c7;
cursor: pointer;
transition: all 0.3s;
}
.toggle-switch button:first-child {
border-radius: 5px 0 0 5px;
}
.toggle-switch button:last-child {
border-radius: 0 5px 5px 0;
}
.toggle-switch button.active {
background-color: #3498db;
color: white;
}
.result {
margin-top: 20px;
font-weight: bold;
background-color: #ecf0f1;
padding: 15px;
border-radius: 5px;
}
.result p {
margin: 5px 0;
}
.result .total {
color: #27ae60;
font-size: 1.2em;
}