-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (108 loc) · 2.08 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
104
105
106
107
108
109
110
111
112
113
*,::after,::before{
box-sizing: border-box;
padding: 0;
margin: 0;
}
html{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100vh;
background-image: url(./jonny-clow-BuMVDXZTGn0-unsplash.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.card{
background-color: #000000d0;
padding: 2rem;
border-radius: 30px;
width: 100%;
max-width: 420px;
color: #fff;
}
.wheather h1{
text-transform: uppercase;
}
.search{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
button{
margin-left: 20px;
border-radius: 50%;
border: none;
height: 2.5em;
width: 2.5em;
background-color: #7c7c7c2b;
color: #fff;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
button:hover{
background-color: #eee;
color: black;
}
input{
border: none;
outline: none;
padding: 0.8em 1em;
border-radius: 18px;
background-color: #7c7c7c2b;
color: #fff;
font-family: inherit;
}
.wheather{
display:flex;
flex-direction: column;
/* align-items: center; */
/* justify-content: center; */
text-align: left;
justify-content: flex-start;
}
.temp{
font-size:50px;
margin-top: 20px;
margin-bottom: 20px;
}
img.icon{
display:block;
width:70px;
height:40%;
object-fit: cover;
object-position: center;
margin:0;
padding:10px;
}
.description{
text-transform: uppercase;
font-weight:700;
}
.humidityy{
text-transform:capitalize;
font-weight: 600;
margin-bottom: 5px;
}
.windd{
font-weight: 600;
text-transform: capitalize;
}
.flex{
display: flex;
align-items: center;
}
@media screen and (max-width:700px){
.card{
max-width: 320px;
}
.wheather h1{
font-size: 1.5rem;
text-transform: uppercase;
}
}