-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (107 loc) · 1.95 KB
/
Copy pathstyle.css
File metadata and controls
127 lines (107 loc) · 1.95 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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500&family=Tilt+Prism&display=swap');
:root {
--text-color: #e5e8e9;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html {
font-size: 62.5%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
body {
font-size: 1.6rem;
font-family: 'Nunito', sans-serif;
color: var(--text-color);
background-color: #f6f6f6;
}
.app {
width: 350px;
/* height: 500px; */
background-image: linear-gradient(45deg ,#2b9cba, #58c1dc);
border-radius: 6px;
}
.main {
text-align: center;
padding: 20px 0 40px 0;
}
.search {
display: inline-block;
position: relative;
border-bottom: 2px solid var(--text-color);
}
/*
.sun {
position: relative;
top: 0;
left: 0;
}
.sunrise {
width: 100px;
height: 100px;
} */
.search input {
font-size: 1.2rem;
border: none;
outline: none;
background-color: transparent;
margin-left: 15px;
caret-color: var(--text-color);
color: var(--text-color);
padding: 6px 10px;font-size: 1.5rem;
}
::-webkit-input-placeholder {
color: var(--text-color);
}
.search .icon {
position: absolute;
top: 50%;
transform: translateY(-50%);
font-size: 1.4rem;
}
.city-name {
font-size: 2rem;
font-weight: 500;
margin-top: 50px;
}
.weather-state {
font-size: 1.2rem;
font-weight: 400;
line-height: 2rem;
}
.temperature {
font-size: 6rem;
position: relative;
}
.temperature::after {
content: "o";
font-size: 2rem;
position: absolute;
}
.footer {
border-top: 1px solid var(--text-color);
}
.row {
display: flex;
padding: 20px 15px;
}
.column {
flex-grow: 1;
}
.label {
font-size: 1.4rem;
font-weight: 500;
line-height: 2rem;
color: white;
}
.value {
font-size: 1.2rem;
font-weight: 400;
line-height: 1.8rem;
color: var(--text-color)
}