-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
80 lines (79 loc) · 1.4 KB
/
styles.css
File metadata and controls
80 lines (79 loc) · 1.4 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;
font-family:"Montserrat",sans-serif;
background-color:#f7f7f7
}
.container{
background-color:#fff;
box-shadow: 0 0 20px rgba(0,0,0,.2);
margin-top:50px;
text-align:center;
max-width:600px;
margin:0 auto;
border-radius:5px;
padding:20px;
}
form{
display:flex;
justify-content:center;
align-items:center;
}
form input[type="text"]{
padding:10px;
border:none;
outline:none;
font-size:18px;
width:60%;
}
form input[type="submit"]{
background-color:#007bff;
color:#fff;
border:none;
padding: 10px 20px;
border-radius: 5px;
font-size : 18px;
cursor:pointer;
outline:none;
}
form input[type="submit"]:hover{
background-color:#0062cc;
}
.icon img{
width:100px;
height:100px;
background-repeat:no-repeat;
background-position:center center;
}
.temperature{
font-size: 48px;
font-weight:bold;
margin: 20px 0;
}
.description{
font-size: 20px;
margin-bottom:20px;
}
.details{
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
}
.details >div{
padding:20px;
background-color:#f1f1f1;
margin:10px;
flex:1;
border-radius:5px;
text-align:center;
min-height:45px;
}
@media (max-width: 768px){
form{
flex-direction:column;
}
form input[type="text"]{
width:100%;
margin-bottom:10px;
}
}