forked from prograd-org/weather-forecast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (83 loc) · 1.52 KB
/
style.css
File metadata and controls
91 lines (83 loc) · 1.52 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
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');
body{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
margin: 0;
overflow: hidden;
background: url(25501.jpg), linear-gradient(rgb(0,0,0, 0.0), rgb(0,0,0, 0.0));
background-size:cover;
background-repeat: no-repeat;
background-blend-mode: saturation;
font-family: 'Mochiy Pop One', sans-serif;
-webkit-user-select: none;
user-select: none;
}
header{
display: flex;
align-items: center;
}
.search-box{
width: 400px;
height: 25px;
font-size: larger;
padding: 10px;
border-radius: 5px;
border: none;
box-shadow: 0px 0px 6px rgb(0,0,0, 0.2);
}
.search-box:focus{
outline: 3px solid gold;
}
#search-button{
-webkit-filter: drop-shadow(0px 0px 6px rgb(0,0,0, 0.2));
filter: drop-shadow(0px 0px 6px rgb(0,0,0, 0.2));
cursor: pointer;
}
#search-button:hover{
fill: gold;
transform: scale(1.05);
}
.city{
font-weight: bold;
font-size: 30px;
}
.sun{
display: none;
position: absolute;
top: 10%;
left: 0%;
z-index: -1;
}
.moon{
display: none;
position: absolute;
top: 10%;
left: 0;
z-index: -1;
}
#mask{
position: absolute;
height: 100%;
width: 100%;
z-index: -1;
}
main{
color: white;
}
.location{
margin: 20px 0;
}
.hi-low{
width: 90px;
margin: 20px 0;
}
.temp{
font-size: 50px;
font-weight: 800;
}
.weather{
font-size: 30px;
}