-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
161 lines (147 loc) · 2.86 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
body {
margin: 0;
padding: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 80%;
height: 60vh;
margin-top: 80px;
margin-bottom: 20px;
display: flex;
}
.weather {
width:30%;
background-color: #034f84;
box-sizing: border-box;
padding: 20px;
border-radius: 20px;
box-shadow: 5px 5px 10px #888888;
}
.weather-details {
width: 60%;
background-color: #b7d7e8;
box-sizing: border-box;
border-radius: 20px;
padding: 20px;
margin-left: -30px;
box-shadow: 5px 5px 10px #888888;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.search{
width:90%;
display: flex;
justify-content: space-between;
align-items: center;
}
.search input{
background-color: #ebfffc;
border-radius: 30%;
height:30px;
width:70px;
color:black;
padding: 10px 25px;
border-radius: 30px;
flex:1;
margin-right: 16px;
font-size: 20px;
margin-top: 18px;
font-weight: 10px;
margin-left: 30px;
}
.search button{
border:0;
outline:0;
background: #ebfffc;
border-radius: 50%;
height:50px;
width:50px;
margin-top: 18px;
}
.search button img{
width:16px;
}
.col img{
width:80px;
margin-right: 20px;
text-align: center;
display: block;
margin: 0 auto;
}
.weather h1{
font-size: 80px;
font-weight: 500;
text-align: center;
color: white;
}
.weather h2{
font-size: 45px;
font-weight: 400;
margin-top:-10px;
text-align: center;
color: #ebfffc;
}
.weather-img{
width:350px;
height: 350px;
margin-top:30px;
margin-left: 100px;
margin-right: 30px;
display: block;
margin: 0 auto;
}
.details{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
width: 80vw;
height: 500px;
padding: 20px;
box-sizing: border-box;
}
.intro{
position: absolute;
top: 0; /* Position at the top of the container */
left: 0; /* Align with the left edge of the container */
z-index: 1;
margin-left: 500px;
margin-top: 55px;
}
.intro h1{
font-size:50px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.col{
background-color: #87bdd8;
padding: 20px;
border: 1px solid #2d2828;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
font-size: 30px;
font-weight: 500;
justify-content: center;
}
.col img{
height: 70px;
width:70px;
border-radius: 10px;
}
.error{
text-align: left;
margin:10px;
font-size:14px;
margin-top:10px;
display: none;
}
.weather-details h1 {
text-align: center; /* Center the title */
/* Adjust the font size */
margin-bottom: 20px; /* Add some space below the title */
}