-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (66 loc) · 1.21 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
:root {
--gradientStart: royalblue;
--gradientEnd: RebeccaPurple;
}
header {
text-align: center;
background-image: linear-gradient(to right, var(--gradientStart) , var(--gradientEnd));
}
header h1 {
font-size: 50px;
color: aliceblue;
font-weight: bold;
}
.search-section {
margin: 40px;
}
/*The left box */
#Location {
font-weight: bold;
}
.spacing {
margin-bottom: 10px;
}
.breakLine {
border: 1px solid black;
}
.weather-section {
overflow: hidden;
}
/*The right box */
.info-box-main {
border-style: solid;
margin-right: 20px;
padding: 10px;
}
@media only screen and (max-width: 770px) {
.info-box-main {
border-style: solid;
margin-right: 20px;
margin-left: 20px;
padding: 10px;
}
}
.five-day-forecast {
margin-right: 20px;
}
@media only screen and (max-width: 770px) {
.five-day-forecast {
margin-right: 20px;
margin-left: 20px;
}
}
.sub-sub-header {
font-weight: bold;
}
.card-holder {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.card {
padding: 10px;
color:white;
object-fit: cover;
object-position: center;
}