-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (71 loc) · 1.46 KB
/
style.css
File metadata and controls
86 lines (71 loc) · 1.46 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
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Barlow Condensed', sans-serif !important;
background-image: url('https://p4.wallpaperbetter.com/wallpaper/968/865/313/weather-background-miui-8-minimal-wallpaper-preview.jpg');
background-position: right;
background-repeat: no-repeat;
background-size: cover;
color: white;
}
.container {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: rgba(185, 207, 190, 0.562);
}
header {
display: flex;
justify-content: center;
align-items: center;
padding: 10vh 30vw;
}
header input {
width: 100%;
max-width: 280px;
padding: 15px 30px;
font-size: 1.5rem;
border: none;
outline: none;
font-family: 'Barlow Condensed', sans-serif;
text-align: center;
background-color: rgba(223, 223, 223, 0.473);
color: white;
}
main {
display: flex;
flex-direction: column;
}
main div {
display: flex;
justify-content: center;
padding: 0.5rem;
}
#location{
font-size: 3rem;
font-weight: bold;
}
#temperature{
font-size: 8rem;
font-weight: bold;
}
#date{
font-size: 1.5rem;
}
#weather{
font-size: 1.5rem;
}
#min-max{
font-size: 1.5rem;
font-style: italic;
}
#weather_icon{
width: 64px;
height: auto;
display: block;
margin: auto;
}