-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (104 loc) · 2.02 KB
/
Copy pathstyle.css
File metadata and controls
121 lines (104 loc) · 2.02 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* Usar tipografia de Google */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');
/* Colores y ajustes globales */
:root {
--primary-color: #124559;
--secondary-color: #bc4749;
--background-color: #eaf4f4;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Fira Sans', sans-serif;
background-color: var(--background-color);
}
.container {
display: grid;
grid-template-rows: auto 1fr auto;
justify-items: center;
align-items: center;
background-color: var(--background-color);
padding: 50px 20px;
height: 100%;
margin-top: 3rem;
}
h1 {
font-size: 3rem;
color: var (--primary-color);
}
/* Form */
.search-form {
display: flex;
justify-content: center;
align-items: center;
margin-top: 30px;
margin-bottom: 50px;
}
.search-form input[type="text"] {
font-size: 1.5rem;
background-color: #fff;
padding: 10px;
border-radius: 5px 0 0 5px;
border: none;
width: 400px;
}
.search-form button[type="submit"] {
background-color: var(--secondary-color);
color: white;
font-size: 1.5rem;
padding: 10px 20px;
border: none;
border-radius: 0 5px 5px 0;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
.search-form button[type="submit"]:hover {
background-color: #023047;
}
/* Tarjeta de pronostico */
.weather-info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 30px;
border: 3px solid var(--primary-color);
padding: 2rem;
border-radius: 2%;
}
.weather-icon {
width: 5rem;
height: 5rem;
margin: -20%;
}
.weather-icon-container {
font-size: 4rem;
margin-bottom: 1rem;
}
.weather-details {
text-align: center;
}
.city-name {
font-weight: bold;
margin-bottom: 5px;
font-size: 1.5rem;
}
.date {
font-style: normal;
font-size: 1.1rem;
}
.temperature {
font-size: 2.5rem;
margin-bottom: 5px;
font-weight: bold;
}
.description {
margin-bottom: 5px;
font-size: 1.1rem;
}
.humidity {
font-style: italic;
margin-bottom: 0;
font-size: 0.9rem;
}