-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
146 lines (128 loc) · 2.31 KB
/
style.css
File metadata and controls
146 lines (128 loc) · 2.31 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
background-color: rgb(104, 211, 200);
}
.title h1 {
text-align: center;
margin: 25px auto 0 auto;
font-size: 50px;
font-weight: 1000;
background-image: linear-gradient(
45deg,
rgb(255, 0, 0),
rgb(64, 66, 107),
rgb(0, 46, 43)
);
background-clip: text;
color: transparent;
}
.screen {
width: 90%;
max-width: 500px;
color: rgb(30, 18, 26);
background-image: linear-gradient(
rgb(112, 218, 250),
rgb(84, 84, 190),
rgb(64, 153, 222)
);
opacity: 1;
box-shadow: 0 6px 10px rgba(0, 76, 255, 0.2), 0 6px 10px rgba(51, 0, 255, 0.2),
0 6px 10px rgba(60, 0, 255, 0.2);
margin: 20px auto 0;
border-radius: 20px;
text-align: center;
padding: 40px 35px;
}
.search {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.search input {
padding: 10px 25px;
border-radius: 10px;
border: 2pt solid rgb(16, 203, 255);
outline: 0;
height: 50px;
background: rgb(255, 255, 255);
color: rgb(0, 0, 0);
margin-right: 16px;
flex: 1;
font-size: 18px;
}
.search button {
width: 50px;
height: 50px;
border-radius: 50%;
border: 1pt solid rgb(4, 86, 111);
outline: 0;
cursor: pointer;
background: rgb(255, 255, 255);
}
.search button img {
width: 40px;
}
.weather h1 {
font-size: 60px;
font-weight: 500;
}
.weather h2 {
font-size: 35px;
font-weight: 400;
}
.details {
display: flex;
justify-content: space-around;
background: #bad3f3;
padding: 15px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.detail-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.detail-card img {
width: 40px;
margin-bottom: 10px;
}
.detail-card p {
font-size: 18px;
font-weight: bold;
margin: 5px 0;
}
.detail-card span {
font-size: 14px;
color: #555;
}
.search button:hover {
background-color: #ccdbef;
}
@media only screen and (max-width: 420px) {
.search {
width: 100%;
display: flex;
flex-direction: column;
}
.search input {
width: 100%;
border-radius: 10px;
height: 150px;
font-size: 22px;
margin-bottom: 20px;
}
.search button {
width: 50%;
height: 50px;
border-radius: 20px;
}
}