-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
94 lines (93 loc) · 1.79 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #fbb010eb;
font-size: 1rem;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.title {
color: #f01111;
font-size: 1.8rem;
text-align: center;
}
.temperature-converter {
background: #43c45086;
border-radius: 20px;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
padding: 30px 25px 20px;
min-width: 500px;
width: 100%;
height: 450px;
}
.result {
text-align: center;
margin: 20px 0;
}
.result-heading {
color: #020111;
font-size: 1.2rem;
font-weight: 700;
}
.celsius-value {
border-bottom: 2px solid #ccc;
padding: 10px;
}
label {
color: #020111;
font-size: 0.99rem;
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 #07056a;
}
.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: #00ba2b;
color: #131212;
}
#convert-btn {
background: linear-gradient(to bottom, #c11c1c, #f40d0d);
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, #08f12b, #036726);
}