forked from amandadeogr/weather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (69 loc) · 1.37 KB
/
style.css
File metadata and controls
80 lines (69 loc) · 1.37 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
box-sizing: border-box;
font-family: 'Poppins';
list-style: none;
margin: 0;
padding: 0;
text-decoration: none;
}
body {
background-image: url(/assets/images/clear.jpg);
background-repeat: no-repeat;
}
.container {
background-color: rgba(241, 241, 241, 0.747);
border: 1px solid #ccc;
border-radius: 10px;
margin: 1rem auto;
min-width: 300px;
width: 30%;
}
.container__input {
display: flex;
justify-content: center;
padding: 2.5rem;
}
input {
border: 1px solid #ccc;
border-radius: 5px;
outline: 0;
padding: 1rem;
width: 90%;
}
/* Podemos seguir o estilo de nome que voce ja esta usando em todas as outras classes btn__search */
.btn-search {
background-color: transparent;
border: none;
cursor: pointer;
padding: 1px;
width: 10%;
}
.container__image {
display: flex;
justify-content: center;
}
img {
width: 50%;
padding: 1rem 0 2rem 0;
}
.temperature {
font-size: 4rem;
font-weight: 400;
padding-left: 2rem;
}
.container__description {
border-bottom: 1px solid #ccc;
margin: auto;
padding: 0 0 2rem 1rem;
width: 90%;
}
.container__condition, .container__location{
font-size: 1.2rem;
padding: 2rem;
}
@media (max-width: 550px) {
.container {
width: 90%;
}
}