-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
92 lines (73 loc) · 1.52 KB
/
style.css
File metadata and controls
92 lines (73 loc) · 1.52 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
body{
font-family: Arial, Helvetica, sans-serif;
background-color: hsl(0%, 0%, 95%);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.weatherform{
margin: 20px;
}
.city-input{
padding: 5px;
font-size: 2rem;
font-weight: bold;
border: 2px solid hsla(0%, 0%, 20%, 0.3);
margin: 10px;
width:300px;
}
button[type="submit"]{
padding: 5px 5px;
font-weight: bold;
font-size: 1.5rem;
background-color: hsl(122, 39%, 50%);
color: white;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover{
background-color: hsl(217, 48%, 55%);
}
.card{
background: linear-gradient(180deg, hsl(210, 100%, 75%),hsl(39, 100%, 75%));
padding: 25px;
border-radius: 10px;
box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.5);
min-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
}
h1{
font-size: 3.5rem;
margin-top: 0px;
margin-bottom: 25px;
}
p{
font-size: 1rem;
margin: 10px 0;
}
.cityDispaly,.tempDisplay{
font-size: 3.5rem;
font-weight: bold;
color: hwb(0 0% 100% / 0.823);
margin-bottom: 15px;
}
.humidityDisplay{
font-weight: bold;
margin-bottom: 15px;
}
.descDisplay{
font-style: italic;
font-weight: bold;
font-size: 1.5rem;
}
.weatherEmoji{
margin: 0;
font-size: 3rem;
}
.errorDisplay{
font-size: 1.1rem;
font-weight: bold;
}