-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (111 loc) · 2.19 KB
/
style.css
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
@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-image: url("img/bg1.jpg");
min-height: 92vh;
overflow: auto;
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
}
.header h4 {
color: #da1e4e;
font-weight: 700;
font-size: 2.4rem;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.app-main {
min-height: 10vh;
width: 30vw;
margin: 50px auto;
padding: 20px;
text-align: center;
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
border-radius: 15px;
background: #c0dfec; /* fallback for old browsers */
background: -webkit-linear-gradient(
to top,
#92fe9d,
#c0dfec
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to top,
#92fe9d,
#c0dfec
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.app-main > * {
margin-bottom: 20px;
}
.input-box {
width: 100%;
background: azure;
color: #e4603a;
font-weight: 500;
border: none;
font-size: 1.7rem;
border-radius: 10px;
padding: 10px;
text-align: center;
outline: none;
border: none;
}
.weather-body {
color: #fff;
padding: 20px;
line-height: 2rem;
border-radius: 10px;
background-color: #eff1f3;
display: none;
background: linear-gradient(
to top,
#da1e4e,
#e4603a
);
}
.location-deatils {
font-weight: bold;
}
.weather-status {
padding: 20px;
}
.temp {
font-size: 5rem;
font-weight: 700;
margin-bottom: 20px 0px;
text-shadow: 2px 4px rgba(0, 0, 0, 0.1);
}
.weather {
margin-top: 25px;
font-size: 2rem;
margin-bottom: 10px;
}
.min-max {
font-size: 1.2rem;
font-weight: 400;
margin-top: 15px;
}
.day_details {
padding: 20px;
}
.sun-detail,
.basic {
font-size: 1rem;
}
#weather-icon {
color: black;
}
@media screen and (max-width: 800px) {
.app-main {
width: 95%;
padding: 10px;
}
body {
min-height: 94vh;
}
}