-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
80 lines (79 loc) · 1.52 KB
/
style.css
File metadata and controls
80 lines (79 loc) · 1.52 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
body {
margin: 0;
background-color: white;
}
.container {
background-color: white;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
margin: 50px auto;
max-width: 600px;
text-align: center;
border-radius: 5px;
padding: 20px;
}
.container form {
display: flex;
justify-content: center;
align-items: center;
font-size: 18px;
margin-bottom: 20px;
}
.container form input[type=text] {
padding: 10px;
outline: none;
width: 60%;
}
.container form input[type=submit] {
background-color: blue;
color: white;
border: none;
outline: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.container form input[type=submit]:hover {
background-color: purple;
}
.container ul {
list-style: none;
}
.container ul .icon img {
width: 100px;
height: 100px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
.container ul .temperature {
font-size: 48px;
font-weight: bold;
margin: 20px 0;
}
.container ul .description {
font-size: 24px;
margin-bottom: 20px;
}
.container ul .details {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.container ul .details > div {
padding: 20px;
background-color: white;
margin: 10px;
border-radius: 5px;
text-align: center;
}
@media (max-width: 768px) {
.container form {
flex-direction: column;
}
.container form input[type=text] {
width: 100%;
margin-bottom: 10px;
}
}/*# sourceMappingURL=style.css.map */