-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
121 lines (103 loc) · 2.41 KB
/
styles.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
117
118
119
120
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
}
body {
font-family: 'Roboto', sans-serif;
background: linear-gradient(to top, rgb(46, 41, 38), rgb(77, 39, 39), rgb(47, 45, 40));
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.container {
width: 50vw;
height: 80vh;
/* background: rgb(7, 19, 28); */
background-image: url("bg.png");
background-size: cover;
background-repeat: no-repeat;
background-position: left;
border-radius: 1em;
box-shadow: 0 0 1em rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
align-items: center;
}
.search-bar {
margin-top: 4em;
display: flex;
justify-content: space-between;
gap: 0.5em;
}
.search-bar input {
padding: 0.5em;
border-radius: 0.5em;
border: none;
outline: none;
font-size: 1.1em;
width: 15em;
background-color: #F7DCB7;
color: radial-gradient(circle, rgba(4,3,3,1) 4%, rgba(3,3,3,1) 28%, rgba(248,221,182,1) 100%);
box-shadow: 0 0 0.5em rgba(252, 230, 191, 0.5);
}
.search-bar button {
padding: 0.5em;
border-radius: 0.5em;
border: none;
outline: none;
font-size: 1em;
background-color: #383938;
color: #EDECF0;
cursor: pointer;
}
/* .search-bar button:hover {
background-color: #EDECF0;
color: #383938;
} */
.weather {
margin-top: 10em;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.2em;
}
.weather h1 {
margin-top: 0.1em;
font-size: 5em;
background: linear-gradient(to bottom, #0B222B, #FDE6BF, #183038);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.weather h2 {
margin-top: 1em;
font-size: 1.5em;
color: #EDECF0;
}
.details {
margin-top: 4em;
display: flex;
justify-content: space-between;
gap: 2em;
padding: 1em;
}
.details .card {
width: 7em;
height: 7em;
/* background: linear-gradient(to top, rgb(30, 31, 33), rgb(32, 38, 38), rgb(36, 40, 39)); */
padding: 1em;
display: flex;
flex-direction: column;
gap: 0.1em;
align-items: center;
justify-content: center;
border-radius: 0.5em;
background-color: #183038;
color: rgb(4,3,3);
font-weight: 900;
box-shadow: 0 0 0.5em rgba(252, 230, 191, 0.5);
}