-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
116 lines (109 loc) · 2.41 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=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
body {
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
background-image: url('https://picsum.photos/1920/1080');
background-repeat: none;
background-attachment: fixed;
font-size: 120%;
height: 100vh;
}
main {
display: flex;
justify-content: center;
height: 90vh;
}
.inter {
display: flex;
flex-direction: column;
justify-content: center;
align-items:center;
text-align: right;
border-radius: 10px;
box-shadow: 0 0 10px rgba(8, 8, 8, 0.507);
padding: 15px;
margin: 50px 30px;
max-width: 900px;
backdrop-filter: blur(9px) brightness(0.5);
/*filter: blur(9px) brightness(0.5);*/
}
.icon {
background-color: rgba(203, 207, 224, 0.897);
padding: 5px;
margin: 0px;
border-radius: 50%;
cursor: pointer;
}
.inter h2 {
font-family: 'Raleway', sans-serif;
color: rgb(255, 255, 255);
padding-bottom: 20px;
}
.weatherloading {
background-color: #63f182;
background-image: linear-gradient(#ba3cbe, #e2d742, #d83261);
background-size: 100%;
-webkit-background-clip: text;
-moz-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
}
.card {
color: white;
padding: 20px 20px;
border-radius: 10px;
width: auto;
margin: 0px 20px;
}
.search {
display: flex;
align-items: center;
justify-content: center;
}
button {
margin: 0.5em;
border-radius: 50%;
border: none;
height: 44px;
width: 44px;
outline: none;
background: #000000b7;
color: white;
cursor: pointer;
transition: 0.2s ease-in-out;
}
.weather_loading {
display: flex;
flex-basis: 1, 1, 50%;
font-family: 'Raleway',sans-serif;
font-size: 16px;
}
input.search-bar{
border: none;
outline: none;
padding: .4em 1em;
border-radius: 24px;
background: #ebe8ff;
color: rgb(46, 57, 66);
font-family: inherit;
font-size: 105%;
max-width:calc(100%-100px);
}
button:hover{
background-color: aqua;
}
h1.temp{
margin: 1;
margin-bottom: 0;
}
@media screen and (max-width: 1080px) {
input.search-bar {
max-width: 200px;
}
.footer-col h4 {
text-align: left;
padding: 0 35%;
}
}