-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (84 loc) · 1.51 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container{
max-width: 450px;
background-color: rgb(7, 16, 71);
border-radius: 8px;
box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.4);
padding: 20px;
}
.title{
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap-reverse;
gap: 10px;
}
.temperature-icon{
font-size: 45px;
color:#fff ;
}
h1{
color: #fff;
letter-spacing: 1.2px;
font-size: 30px;
}
#celcius, #fahrenheit, #Kelvin{
display: flex;
justify-content: center;
align-items: center;
margin-top: 25px;
}
input{
flex: 5;
height: 60px;
font-size: 20px;
font-weight: 600;
text-align: center;
border: none;
outline: none;
border-radius: 8px 0 0 8px;
padding: 0 10px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
-webkit-appearance: none;
}
.icon{
flex: 1;
height: 60px;
line-height: 60px;
padding: 0 5px;
text-align: center;
font-size: 30px;
background: #aed1f1;
color: #fff;
border-radius: 0 8px 8px 0;
}
.button{
margin-top: 25px;
text-align: center;
}
.button button{
border: none;
outline: none;
padding: 10px 30px;
font-size: 20px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
border-radius: 10px;
}
.button button:hover{
background: rgb(0, 0, 150);
color: #fff;
}