-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
90 lines (76 loc) · 1.63 KB
/
index.css
File metadata and controls
90 lines (76 loc) · 1.63 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
body{
background-image: url('images/normal weather.jpg');
background-size: cover;
width:100vw;
height:100vh;
overflow: hidden;
background-position: top center;
color:rgb(255, 255, 255);
font-size: 20px;
}
.main-box{
width:40vw;
height:74vh;
background-color:rgba(250, 235, 215, 0.504);
margin:60px auto;
text-align: center;
}
/* all the child elements of main-box will have margin of 20px */
/* working on searching part */
.search{
position:absolute;
margin:40px;
padding:5px;
align-content: center;
width:33vw;
height:9vh;
background-color: rgba(6, 253, 253, 0.227);
text-align: center;
}
/* this is a section for Enter city part */
#enter-city{
width:370px;
margin:12px;
padding:12px;
border:2px solid skyblue;
border-radius: 12px;
color:black;
background-color: rgba(255, 255, 255, 0.856);
font-family: "Gill Sans", sans-serif;
font-size: 20px;
text-align: center;
}
.enter-city:focus{
background-color: azure;
}
/* working on details block */
.details{
position:absolute;
margin:135px 25px ;
text-align: center;
width:33vw;
color:black;
padding:20px;
line-height:2rem;
border-radius:10px;
background-color: rgba(6, 253, 253, 0.227);
height:49vh;
}
.location-details{
font-weight: bold;
}
.weather-details{
padding:20px;
color:black;
font-size: 22px;
}
.temp{
font-size: 50pt;
font-weight: 700;
margin:20px 0;
text-shadow: 2px 4px rgba(0,0,0,0.3);
}
.temp-day-night-min-max, .weathertype{
font-size:12pt;
font-weight:600;
}