-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (86 loc) · 1.74 KB
/
style.css
File metadata and controls
99 lines (86 loc) · 1.74 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
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
background-image: url(./images/default.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
max-width: 600px;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
}
.weatherForm {
margin: 20px;
}
.cityInput {
padding: 10px;
font-size: larger;
font-weight: bold;
border: 2px solid gray;
border-radius: 10px;
margin: 10px;
width: 300px;
}
button[type="submit"] {
padding: 10px 20px;
font-weight: bold;
font-size: larger;
background-color: #6495ED;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 2px 2px 5px gray;
transition: background-color 0.2s ease-in-out;
}
button[type="submit"]:hover {
background-color: #00bcd4;
}
.card {
background: linear-gradient(180deg, #6495ED, #FFFACD);
padding: 50px;
box-shadow: 2px 2px 5px gray;
min-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 10px;
}
.card:hover {
transform: scale(1.02);
transition: transform 0.2s;
}
h1 {
margin-top: 0;
margin-bottom: 25px;
}
p {
font-size: larger;
margin: 5px 0;
}
.cityDisplay,
.tempDisplay {
font-size: x-large;
color: black;
margin-bottom: 25px;
}
.humidityDisplay {
font-weight: bold;
margin-bottom: 25px;
}
.descDisplay {
font-style: italic;
font-weight: bold;
font-size: larger;
}
.weatherEmoji {
margin: 0;
font-size: 8rem;
}
.errorDisplay {
font-size: larger;
font-weight: bold;
color: black;
}