-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
209 lines (186 loc) · 3.64 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
*,*::before,*::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'Times New Roman', Times, serif;
font-size: 62.5%;
background-image: linear-gradient(to right, #141e30, #243b55);
color: white;
/* border: 2px solid red; */
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container{
/* border: 2px solid red; */
max-width: 1000px;
width: 90%;
background: #243b55;
box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
.container header{
font-size: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
background: white;
color: #243b55;
padding: 0.4em;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
margin-bottom: 2rem;
}
.center{
/* border: 2px solid red; */
font-size: 1.2rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
justify-content: center;
align-items: center;
}
section{
display: flex;
gap: 1rem;
margin-top: 2rem;
font-size: 1rem;
justify-content: space-between;
padding: 1.5em;
}
section .left{
flex-basis: 50%;
display: flex;
flex-direction: column;
/* border: 2px solid red; */
gap: 1.5rem;
}
.common{
display: flex;
flex-direction: column;
gap: 0.5rem;
/* border: 2px solid red; */
}
.common h3{
font-size: 1.5rem;
}
.common .change{
display: flex;
gap: 0.5rem;
font-size: 1.5rem;
}
.common .special{
font-size: 1.5rem;
}
input{
/* border: 2px solid red; */
width: 80%;
height: 4px;
}
.calculate{
font-size: 1.2rem;
padding: 0.7em 1.5em;
border-radius: 5px;
outline: none;
border: 2px solid grey;
background: transparent;
color: white;
cursor: pointer;
}
.calculate:hover{
background:#141e30;
}
section .right{
flex-basis: 40%;
/* border: 2px solid red; */
display: flex;
flex-direction: column;
margin: auto;
text-align: center;
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
padding: 2em;
}
section .flex{
display: flex;
gap: 1rem;
justify-content: center;
font-size: 1rem;
}
.hello{
display: flex;
flex-direction: column;
gap: 0.3rem;
/* border: 2px solid red; */
}
.price-active{
margin-bottom: 1rem;
}
.dollar-special sup{
font-size: 1.5rem;
}
.price-active .price-special{
font-size: 4rem;
}
.zero{
font-size: 1.5rem;
}
@media screen and (max-width:1068px){
.section .right{
flex-basis: 60%;
}
.section .left{
flex-basis: 50%;
}
.dollar-special sup{
font-size: 1rem;
}
.price-active .price-special{
font-size: 2rem;
}
.zero{
font-size: 1rem;
}
body{
height: auto;
margin: 1rem 0;
}
}
@media screen and (max-width:768px){
section{
flex-direction: column;
gap: 4rem;
}
section .right{
width: 100%;
/* border: 2px solid red; */
}
input{
width: 100%;
}
.main-heading{
font-size: 1.2rem;
text-align: center;
}
.header-heading{
font-size: 1.5rem;
text-align: center;
}
.paragraph{
text-align: center;
}
}
@media screen and (max-width:468px){
.center{
padding:0 1em;
}
.common h3{
font-size: 1.1rem;
}
.right h2{
font-size: 1.1rem;
}
section .right{
padding: 1em;
}
}