-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
98 lines (97 loc) · 1.89 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
transition: 0.3s !important;
}
body {
color: rgb(248, 232, 232);
min-height: 100vh;
background-image: linear-gradient(
to bottom,
rgba(13, 241, 173, 0.74),
rgba(72, 76, 136, 0.904)
);
background-repeat: no-repeat;
display: flex;
justify-content: center;
padding-top: 50px;
}
body * {
padding: 8px 0;
margin: 8px 0;
transition: 0.3s;
}
.view {
text-align: center;
background-color: #273541;
border-radius: 10px;
padding: 40px 60px;
min-width: 300px;
/* background-image: url("http://media.idownloadblog.com/wp-content/uploads/2017/04/WeatherLock-Lock-screen-730x480.jpg"); */
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
#search {
padding: 15px 20px;
width: 300px;
border: none;
font-size: 16px;
border-radius: 30px;
margin-bottom: 20px;
color: rgb(81, 81, 104);
background-color: rgb(236, 241, 241);
}
#search:focus {
background-color: #fff;
color: #454545;
border: none;
}
.location {
font-family: calibri;
font-size: 13px;
font-weight: 400;
text-transform: uppercase;
margin-top: -20px;
}
.temp {
font-size: 50px;
font-weight: 900;
}
.temp .deg {
position: relative;
top: -22px;
left: -12px;
font-size: 18px;
font-weight: 200;
}
.weather-desc {
margin: 0 !important;
}
#icon {
margin: 0px;
}
.humidity {
position: relative;
margin: 0;
font-weight: 300;
font-size: 18px;
}
.humid-icon {
position: absolute;
top: -8px;
width: 40px;
height: 30px;
background-image: url("http://cdn.onlinewebfonts.com/svg/img_285841.svg");
background-repeat: no-repeat;
}
#error {
margin: 0;
padding: 0;
font-family: monospace;
font-size: 15px;
font-weight: bold;
color: rgb(173, 33, 33);
}