-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
91 lines (77 loc) · 1.38 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
*,
*::before,
*::after{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--primary-color: #5fbaa7;
}
body{
background-color: #f4f4f4;
font-family: Arial, Helvetica, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
padding: 20px;
}
h1{
color: var(--primary-color);
}
h1, p{
text-align: center;
}
.btn{
color: #fff;
background-color: var(--primary-color);
cursor: pointer;
border-radius: 5px;
font-size: 12px;
padding: 5px 12px;
}
.money-img{
width: 150px;
}
.currency{
padding: 40px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.currency select{
padding: 10px 20px 10px 10px;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
border: 1px solid #dedede;
font-size: 16px;
background: transparent;
border-radius: 5px;
}
.currency input{
border: 0;
background-color: transparent;
font-size: 30px;
text-align: right;
}
.swap-rate-container{
display: flex;
align-items: center;
justify-content: space-between;
}
.rate {
color: var(--primary-color);
font-size: 14px;
padding: 0 10px;
}
select:focus, input:focus, button:focus{
outline: 0;
}
@media (max-width: 600px){
.currency input{
width: 200px;
}
}