-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (100 loc) · 2.02 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
114
115
116
117
118
119
120
121
122
123
124
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap');
*{
box-sizing: border-box ;
}
body{
background: url(./assets/background.jpg) no-repeat ;
background-size: cover;
background-position: center;
font-family: 'Mulish', sans-serif;
font-size: 18px;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
overflow: hidden;
color:#fff;
padding: 80px;
}
main{
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
}
.wheather-details-container{
display: flex;
flex-direction: column;
gap: 32px;
}
.wheather-details{
display: flex;
justify-content: center;
gap: 16px;
align-items: center;
}
.wheather-details__icon{
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
}
.wheather-details__info{
display: flex;
flex-direction: column;
align-items: start;
justify-content: start;
width: 100%;
}
.wheather-details__label{
font-size: 12px;
}
.wheather-details__data{
font-size: 28px;
}
.wheather-details i{
font-size: 32px;
}
.weather-info__condition{
font-size: 2.5rem;
margin-bottom: 8px;
}
.weather-info__city{
font-size: 1.5rem;
margin-bottom: 8px;
}
.weather-info__date,.weather-info__time{
font-size: 1rem;
}
.weather-info__temperature{
font-size: 6rem;
/* font-weight: 700; */
}
button.weather-info__units-c,
button.weather-info__units-f{
font-size: 0.8rem;
border: 1px solid #fff;
border-radius: 4px;
background: transparent;
color: #fff;
}
.search-box-input:focus, .search-box-input:active{
outline: none;
}
.search-box-input{
border: 0;
border-bottom: 3px solid #fff;
background: transparent;
color: white;
font-size: 1.2rem;
width: 160px;
}
button.search{
border:0;
background: transparent;
color: #fff;
font-size: 1.2rem;
cursor: pointer;
}