Repository navigation
Expand file tree
/
Copy pathweather.css
More file actions
127 lines (113 loc) · 2.14 KB
/
Copy pathweather.css
File metadata and controls
127 lines (113 loc) · 2.14 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
122
123
124
125
126
127
*{
padding:0px;
margin:0px;
}
body{
font-family: 'Oswald',sans-seriff;
background-image: url('https://github.com/Subhash2807/test1/blob/master/ian-tuck-lieECYO-yTo-unsplash.jpg?raw=true');
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color:rgba(170, 183, 197, 0.959);
}
@media screen and (min-width: 500px){
#WeatherContent {
height: 500px;
width :400px;
background-color:#769BBE;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
border-radius:50px;
box-shadow: 12px 12px 15px #444141;
font-size: 20px;
}
input{
height:30px;
width:300px;
/* border-radius:20px; */
background:transparent;
border:0px;
outline:0px;
border-bottom:3px solid rgba(1,1,11,1);
text-align: center;
font-size: 25px;
}
::placeholder{
color:black;
font-size:20px;
text-align: center;
}
#dis{
padding-top:50px;
}
button{
margin-top:30px;
height:40px;
width:120px;
font-size:20px;
border-radius: 12px;
border:0;
box-shadow: 3px 3px 3px rgba(1,1,11,1);
outline:none;
}
}
@media screen and (max-width: 500px)
{
#WeatherContent {
height: 300px;
width :200px;
background-color:#769BBE;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
border-radius:25px;
box-shadow: 6px 6px 8px #444141;
font-size: 20px;
}
input{
height:15px;
width:150px;
/* border-radius:20px; */
background:transparent;
border:0px;
outline:0px;
border-bottom:1.5px solid rgb(28, 32, 39);
text-align: center;
font-size: 12px;
margin-top:-12px;
}
::placeholder{
color:black;
font-size:10px;
text-align: center;
/* font-weight: ; */
}
#dis{
padding-top:50px;
}
button{
margin-top:15px;
height:20px;
width:60px;
font-size:10px;
border-radius: 6px;
border:0;
box-shadow: 1.5px 1.5px 1.5px rgba(1,1,11,1);
outline:none;
margin-top:25px
}
#temp{
font-size:13px;
}
img{
height: 50px;
}
#dis{
font-size:12.5px;
margin-top:-15px;
}
}