Repository navigation
Expand file tree
/
Copy pathtest.css
More file actions
76 lines (75 loc) · 1.46 KB
/
Copy pathtest.css
File metadata and controls
76 lines (75 loc) · 1.46 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
body{
font-family: Arial, sans-serif;
background-color: hsl(0, 0%, 95%);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.weatherForm{
margin: 20px;
}
.cityInput{
padding: 10px;
font-size: 2rem;
font-weight: bold;
border: 2px solid hsla(0, 0%, 20%, 0.3);
border-radius: 10px;
margin: 10px;
width: 300px;
}
button[type="submit"]{
padding: 10px 20px;
font-weight: bold;
font-size: 2rem;
background-color: hsl(122, 39%, 50%);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover{
background-color: hsl(122, 39%, 40%);
}
.card{
background: linear-gradient(180deg, hsl(210, 100%, 75%), hsl(40, 100%, 75%));
padding: 50px;
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{
margin-top: 0;
margin-bottom: 25px;
}
p{
font-size: 1.5rem;
margin: 5px 0;
}
.cityDisplay, .tempDisplay{
font-size: 3.5rem;
font-weight: bold;
color: hsla(0, 0%, 0%, 0.8);
margin-bottom: 25px;
}
.humidityDisplay{
font-weight: bold;
margin-bottom: 25px;
}
.descDisplay{
font-style: italic;
font-weight: bold;
font-size: 2rem;
}
.weatherEmoji{
margin: 0;
font-size: 7.5rem;
}
.errorDisplay{
font-size: 2.5rem;
font-weight: bold;
color: hsla(0, 0%, 0%, 0.75);
}