Spaces:
Running
Running
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 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 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
* {
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
font-size: 'Poppins', 'sans-serif';
|
| 5 |
+
box-sizing: border-box;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
body {
|
| 9 |
+
background: #222;
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
+
.card {
|
| 13 |
+
width: 90%;
|
| 14 |
+
max-width: 470px;
|
| 15 |
+
background: linear-gradient(0deg, #9E579D, #564BBF);
|
| 16 |
+
color: #fff;
|
| 17 |
+
margin: 100px auto 0;
|
| 18 |
+
border-radius: 20px;
|
| 19 |
+
padding: 40px 35px;
|
| 20 |
+
text-align: center;
|
| 21 |
}
|
| 22 |
|
| 23 |
+
.search {
|
| 24 |
+
width: 100%;
|
| 25 |
+
display: flex;
|
| 26 |
+
align-items: center;
|
| 27 |
+
justify-content: space-between;
|
| 28 |
}
|
| 29 |
|
| 30 |
+
.search input {
|
| 31 |
+
border: 0;
|
| 32 |
+
outline: 0;
|
| 33 |
+
background-color: #ebfffc;
|
| 34 |
+
color: #555;
|
| 35 |
+
padding: 10px 25px;
|
| 36 |
+
height: 60px;
|
| 37 |
+
border-radius: 30px;
|
| 38 |
+
flex: 1;
|
| 39 |
+
margin-right: 16px;
|
| 40 |
+
font-size: 18px;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.search button {
|
| 44 |
+
border: 0;
|
| 45 |
+
outline: 0;
|
| 46 |
+
background-color: #ebfffc;
|
| 47 |
+
border-radius: 50%;
|
| 48 |
+
width: 60px;
|
| 49 |
+
height: 60px;
|
| 50 |
+
cursor: pointer;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.search button img {
|
| 54 |
+
width: 16px;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.weather-icon {
|
| 58 |
+
|
| 59 |
+
mix-blend-mode: multiply;
|
| 60 |
+
|
| 61 |
+
width: 300px;
|
| 62 |
+
height: 300px;
|
| 63 |
+
|
| 64 |
}
|
| 65 |
|
| 66 |
+
.weather h1 {
|
| 67 |
+
font-size: 80px;
|
| 68 |
+
font-weight: 500;
|
| 69 |
}
|
| 70 |
+
|
| 71 |
+
.weather h2 {
|
| 72 |
+
font-size: 45px;
|
| 73 |
+
font-weight: 400;
|
| 74 |
+
margin-top: -10px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.col img {
|
| 78 |
+
width: 40px;
|
| 79 |
+
margin-right: 10px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.col {
|
| 83 |
+
display: flex;
|
| 84 |
+
align-items: center;
|
| 85 |
+
text-align: left;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.detail {
|
| 89 |
+
display: flex;
|
| 90 |
+
align-items: center;
|
| 91 |
+
justify-content: space-between;
|
| 92 |
+
padding: 0 20px;
|
| 93 |
+
margin-top: 50px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.Humidity,
|
| 97 |
+
.Wind {
|
| 98 |
+
font-size: 28px;
|
| 99 |
+
margin-top: -6px;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.weather {
|
| 103 |
+
display: none;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.error {
|
| 107 |
+
text-align: left;
|
| 108 |
+
margin-left: 10px;
|
| 109 |
+
font-size: 14px;
|
| 110 |
+
margin-top: 10px;
|
| 111 |
+
display: none;
|
| 112 |
+
}
|