-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (77 loc) · 1.62 KB
/
style.css
File metadata and controls
90 lines (77 loc) · 1.62 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
body {
background-image: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2076&q=80");
background-size: cover;
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
height: 100vh;
}
::placeholder {
color: #fff;
}
input {
background-color: #575757;
border: none;
border-radius: 25px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
font-family: inherit;
font-size: 1rem;
padding: 1rem;
min-width: 300px;
color: #fff;
transition: 0.2s;
}
input#search:hover {
background: #65747b;
}
input:focus {
outline: none;
align-items: center;
margin-bottom: 0;
padding-left: 85px;
}
.weather {
font-size: 2rem;
text-align: center;
}
.weather h2 {
display: flex;
align-items: center;
margin-bottom: 0;
padding-left: 90px;
}
.card {
background: #000000b2;
width: 100%;
max-width: 470px;
height: 70%;
padding: 2.5em;
text-align: center;
border-radius: 30px;
color: white;
}
.more-info p {
font-size: 20px;
}
.more-info span {
font-weight: 600;
}
#weather-container {
background-color: #fff;
padding: 20px;
border-radius: 5px;
margin: 20px auto;
width: 80%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
h1 {
font-size: 24px;
}
#weather-chart {
max-width: 600px;
margin: 20px auto;
}