-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
143 lines (134 loc) · 2.59 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/* Global Styles
-----------------------------------*/
* {
margin: 10px 0;
font-family: 'Fira-Code', monospace;
}
body {
padding: 20px;
font-family: arial;
color: white;
background-image: radial-gradient(transparent -200%, black),
url(images/stock-market-img.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
.maindiv {
max-width: 800px;
height: auto;
background-color: rgba(0, 0, 0, 0.75);
color: #20c20e;
border: 2px solid #20c20e;
border-radius: 25px;
text-align: center;
padding: 20px;
margin: 0 auto;
margin-top: 120px;
}
input,
button,
select {
border: 2px solid #20c20e;
background-color: black;
color: #20c20e;
text-align: center;
padding: 5px;
font-size: 16px;
}
/* Header Styles
-----------------------------------*/
.header {
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 40px;
margin-bottom: 5px;
color: #20c20e;
}
hr {
margin-bottom: 20px;
width: 75%;
border: 0;
border-top: 1px solid #20c20e;
text-align: center;
}
/* intType Selector Styles
-----------------------------------*/
.intType {
margin-bottom: 0;
}
/* Compounding Div Styles
-----------------------------------*/
.compound-div {
display: none;
}
/* Rate Slider Styles
-----------------------------------*/
.rate-div {
display: flex;
padding: 0 20% 0 34%;
}
input[type='range'] {
-webkit-appearance: none;
height: 0px;
width: 150px;
background: black;
margin: 12px 20px;
padding: 5px 0px;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: #20c20e;
cursor: pointer;
border: 5px solid black;
border-radius: 50%;
}
input[type='range']::-moz-range-thumb {
appearance: none;
width: 20px;
height: 20px;
background: #20c20e;
cursor: pointer;
border: 5px solid black;
border-radius: 50%;
}
/* No. of Years Selector Styles
-----------------------------------*/
#years,
.year-text {
display: inline-block;
}
/* Compute Button Styles
-----------------------------------*/
button:hover {
background-color: rgb(7, 0, 68);
color: pink;
transition: background-color color;
transition-duration: 0.3s;
}
/* Result Output Styles
-----------------------------------*/
#result {
display: inline-block;
text-align: left;
font-size: 20px;
margin: 40px 10px 40px 25px;
word-spacing: 2px;
}
.highlight {
background-color: rgba(96, 4, 243, 0.3);
}
/* Footer Styles
-----------------------------------*/
footer {
font-size: 15px;
display: flex;
margin-bottom: -15px;
text-align: left;
}