-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
120 lines (113 loc) · 2.38 KB
/
styles.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #020d45;
background: linear-gradient(90deg, #164a98 0%, #2a3f84 100%);
color: #222;
font-size: 1rem;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.mobile {
display: flex;
justify-content: space-between;
margin-bottom: 40px;
font-size: 18px;
font-weight: 700;
}
.temperature-converter {
background: #fff;
border-radius: 5px;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
padding: 20px 25px 45px;
min-width: 320px;
width: 100%;
height: auto;
box-shadow: -5px -5px 250px 0px rgba(255, 255, 255, 0.02) inset;
backdrop-filter: blur(21px);
}
.title {
color: #06335e;
font-size: 1.5rem;
text-align: center;
}
.result {
text-align: center;
margin: 20px 0;
}
.result-heading {
color: #555;
font-size: 1rem;
font-weight: 600;
}
.celsius-value {
border-bottom: 2px solid #ccc;
padding: 10px;
transition: all .45s ease;
}
label {
color: #555;
font-size: 0.8rem;
margin-bottom: 5px;
}
input,
select {
background: transparent;
border: none;
outline: none;
border-bottom: 2px solid #ccc;
padding: 8px;
margin-bottom: 15px;
}
input:focus {
border: 1px solid #1482e1;
}
.degree-type {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
.degree-field {
display: flex;
flex-direction: column;
width: 46%;
}
option {
background-color: #0c6aa4;
color: #f6f6f6;
}
#convert-btn {
background: linear-gradient(to bottom, #097697, #05456d);
border: none;
outline: none;
border-radius: 5px;
color: #f6f6f6;
cursor: pointer;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
margin-top: 10px;
padding: 12px 80px;
transition: all 0.3s ease-in;
}
#convert-btn:hover {
background: linear-gradient(to bottom, #097697, #05456d);
}
/* Add a right margin to each icon */
.fa {
margin-left: -12px;
margin-right: 8px;
}
.loading {
display: none;
}