-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (88 loc) · 1.86 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
/*****************************
* Google Fonts
****************************/
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap");
*,
*::after,
*::before {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-family: "Outfit", sans-serif;
}
body {
background: rgb(255, 240, 247);
background: linear-gradient(
90deg,
rgba(255, 240, 247, 1) 0%,
rgba(232, 243, 255, 1) 100%
);
height: 100vh;
display: grid;
place-items: center;
}
.weather {
box-shadow: 2px 0px 44px 1px rgba(213, 213, 213, 1);
-webkit-box-shadow: 2px 0px 44px 1px rgba(213, 213, 213, 1);
-moz-box-shadow: 2px 0px 44px 1px rgba(213, 213, 213, 1);
border-radius: 50px;
background-color: white;
width: 90%;
max-width: max-content;
padding: 40px 40px;
}
.weather__heading-title {
font-size: 26px;
font-weight: 700;
text-align: center;
}
.weather__input {
display: flex;
justify-content: center;
align-items: center;
padding: 20px 0px 20px;
margin-bottom: 0px;
}
.weather__input-searchBox {
width: 100%;
max-width: 280px;
padding: 10px 15px;
outline: none;
border-radius: 50px;
border: 2px solid #000;
transition: all 200ms ease-in-out;
}
.weather__input-searchBox:is(:active, :focus-visible) {
outline: 1px solid #000;
}
.weather__input-searchBox::placeholder {
color: #000;
}
.weather__input-button {
margin-left: 10px;
padding: 10px 15px;
border-radius: 50px;
border: 2px solid #000;
background-color: #fff;
transition: all 200ms ease-in-out;
}
.weather__input-button:is(:hover, :focus-visible) {
color: #fff;
background-color: #000;
}
.weather__details {
text-align: center;
font-weight: 500;
font-size: 1.5rem;
}
.weather__details-date {
font-weight: 300;
font-size: 1rem;
margin-block-end: 16px;
}
.weather__details-temp {
font-size: 1rem;
font-weight: 300;
}