-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (89 loc) · 1.63 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
93
94
95
96
97
98
99
100
101
102
103
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
background-image: url(background2.jpeg);
min-height: 100vh;
}
.container{
max-width: 450px;
background:gray;
border-radius: 8px;
box-shadow: 0px 0px 15px 3px rgba(19, 27, 18, 0.548);
font-family: sans-serif;
padding: 20px;
}
.title{
display: flex;
justify-content: center;
align-content: center;
flex-wrap: wrap-reverse;
gap: 10px;
}
.Temperature-icon{
font-size: 45px;
color: #fff;
}
h1{
color: #fff;
letter-spacing: 1.2px;
font-size: 30px;
}
#celsius,#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: 0 10px;
}
/* For Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-innner-spin-button{
-webkit-appearance: none;
}
/* for Mozila firefox*/
input{
-moz-appearance: textfield;
}
.icon{
flex: 1;
height: 60px;
line-height: 60px;
padding: 0 5px;
text-align: center;
font-size: 30px;
background: #4d5964;
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;
border-radius: 3px;
cursor: pointer;
transition: 0.3s;
}
.button button:hover{
background: #fff;
}