-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (110 loc) · 2.35 KB
/
style.css
File metadata and controls
123 lines (110 loc) · 2.35 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
117
118
119
120
121
122
123
:root {
--primary-color: #f5ce52;
--secundary-color: rgba(255, 255, 255, 0.9);
--change-btn-color: rgba(0, 212, 255, 0.9);
--back-color: rgba(17, 25, 40, 0.25);
--drop-color: rgba(0, 0, 0, 0.125);
--border-btn-color: rgba(0, 212, 255, 0.6);
--input-color:rgba(249, 245, 245, 0.423);
}
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f4f4f4;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
padding: 20px;
background-image: url(./img/Coins-cover.png);
background-size: cover;
background-position: center;
color: var(--secundary-color);
}
.container {
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
background-color: var(--back-color);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.125);
padding: 38px;
filter: drop-shadow(0 30px 10px var(--drop-color));
display: flex;
flex-direction: column;
align-items: left;
justify-content: left;
text-align: center;
}
h1 {
color: var(--primary-color);
}
p {
text-align: center;
}
.btn {
cursor: pointer;
border-radius: 5px;
font-size: 1rem;
padding: 8px 12px;
background: transparent;
color: var(--primary-color);
border: 1px solid var(--primary-color);
transition: all 0.3s ease;
}
.btn:hover {
transform: scale(1.125);
color: var(--secundary-color);
border-color: rgba(255, 255, 255, 0.9);
transition: all 0.3s ease;
}
.converter-image {
width: 150px;
}
.currency {
padding: 40px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.currency select {
padding: 10px 20px 10px 10px;
border: 1px solid #dedede;
font-size: 16px;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-color: var(--back-color);
color: var(--secundary-color);
}
.currency input {
border: 0;
font-size: 30px;
text-align: right;
background-color: var(--input-color);
color: var(--primary-color);
}
.exchange-rate-container {
display: flex;
align-items: center;
justify-content: space-between;
}
.rate {
color: var(--primary-color);
font-size: 14px;
padding: 0 10px;
font-weight: 600;
}
select:focus,
input:focus,
button:focus {
outline: 0;
}
@media (max-width: 600px) {
.currency input {
width: 200px;
}
}