-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (101 loc) · 2.18 KB
/
style.css
File metadata and controls
125 lines (101 loc) · 2.18 KB
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
@import url('https://fonts.googleapis.com/css2?family=Alkatra:wght@600&family=Noto+Serif:ital,wght@1,700&family=Nunito:wght@500;900&family=Open+Sans:wght@300&family=Roboto+Slab:wght@900&family=Roboto:ital,wght@1,700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #333;
}
.main{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.weather-app{
max-width: 700px;
/* max-height: 450px ; */
border: 1px solid black;
border-radius: 0 50px;
padding: 50px;
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
border: 5px solid white;
box-shadow: 0 0 15px #fff;
background-image: linear-gradient(114deg, hsl(204, 70%, 53%), hsl(191, 96%, 63%));
}
.search{
width: 300px;
height: 40px;
padding: 10px;
border-radius: 30px;
font-size: 25px;
line-height: 1.1em;
color: rgb(255, 255, 255);
font-weight: 700;
font-family: Verdana, Geneva, Tahoma, sans-serif;
border: 2px solid #121212;
box-shadow: 0 0 5px #121212;
outline: none;
background-color: #33333329;
font-family: 'Alkatra', cursive;
}
.search::placeholder{
color: #ffffffb3;
font-family: 'Alkatra', cursive;
}
.weather-info{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.todays-weather-section{
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.todays-weather{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 30px;
}
.todays-weather >div{
display: flex;
align-items: center;
gap: 40px;
}
.cloud-icon{
width: 100px;
height: 80px;
}
.color-333{
color: #333;
}
.city-name{
font-family: 'Alkatra', cursive;
color: #000;
text-decoration: underline;
}
span{
font-family: 'Alkatra', cursive;
color: #000;
text-decoration: underline;
}
.loading{
font-family: 'Alkatra', cursive;
color: #fff;
text-shadow: 0 0 5px #333;
}
.city-n-f{
font-family: 'Alkatra', cursive;
color: red;
text-shadow: 0 0 5px #fff;
}