-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
137 lines (135 loc) · 2.83 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
*{
margin: 0;
padding: 0;
border: border-box;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: #ffefa1;
background-color: #ccd5ae;
font-family: Arial, Helvetica, sans-serif;
color: rgb(97, 97, 97);
}
.container{
background-color:#fed13c;
background-color: #ffefa1;
box-shadow: 0 0 1rem rgba(91, 99, 69, 0.7);
padding: 2.5rem;
min-height: 45vh;
min-width: 40vh;
}
.container h2{
text-align: center;
font-size: 1.9rem;
font-weight: bolder;
color: rgb(97, 16, 16);
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
form{
margin-top: 1.5rem;
font-weight: 600;
}
.amount p{
font-size: 1.2rem;
}
form input, select, button, .message{
width: 100%;
border: none;
outline: none;
}
form input{
margin-top: 0.5rem;
border: 1px solid rgb(192, 192, 192);
font-size: 1.2rem;
padding: 0.5rem 0 0.5rem 0.5rem ;
width: 97%;
}
.dropdown{
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 2rem;
}
.dropdown p{
font-size: 1.1rem;
}
.dropdown .icon{
margin-top: 1.6rem;
padding: 0.5rem 0.7rem;
background-color: #ffdd6e;
border-radius: 50%;
cursor: pointer;
font-size: 1.6rem;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Apply the spin animation to the icon */
.rotation{
animation: spin 0.5s infinite linear;
font-size: 1.4rem;
}
.selectContainer{
margin-top: 0.5rem;
display: flex;
justify-content: center;
align-items: center;
background-color: #fff8d7;
border: 1px solid rgb(198, 198, 198);
width: 5.5rem;
padding: 0.2rem 0.3rem 0.2rem 0.5rem;
}
.selectContainer img{
max-width: 1.9rem;
}
.selectContainer select{
background-color: #fff8d7;
font-size: 1rem;
width: auto;
cursor: pointer;
}
.message{
margin: 2rem 0 1.5rem 0;
text-align: center;
font-size: 1.3rem;
color: #464646;
background-color: #ffc400;
padding: 0.75rem 0;
}
form button{
padding: 1rem 0;
background-color: #1b273b;
color: #ffffff;
font-size: 1.2rem;
cursor: pointer;
transition: all 0.5s;
}
form button:hover{
background-color: #2b3d5d;
}
@media(max-width: 400px){
.container{
padding: 1.3rem 1rem;
}
.container h2{
font-size: 1.4rem;
}
.dropdown .icon{
font-size: 1.2rem;
}
.message{
padding: 0.5rem 0;
font-size: 1rem;
}
.rotation{
font-size: 1rem;
}
form button{
padding: 0.75rem 0;
font-size: 0.8rem;
}
}