-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (115 loc) · 2.17 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import url("Bootstrap/css/bootstrap.min.css"); /* Bootstrap v5.3.3 */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
background-color: #091c2d;
background-image: url("https://images.unsplash.com/photo-1671017896077-f5f739446289");
background-size: cover;
background-repeat: no-repeat;
background-blend-mode: overlay;
background-position: center;
height: 100%;
}
/* Header Styling */
header {
justify-content: space-between;
}
.logo img{
height: 40px;
width: 40px;
}
.logo a {
padding-left: 5px;
text-decoration: none;
color: #00f2fe;
font-size: large;
font-style: oblique;
}
.social-icons img {
width: 30px;
height: 30px;
}
.social-icons .github {
padding-right: 10px;
width: 40px;
height: 40px;
}
/* Salutations Styling */
#displayGreeting {
color: #708090;
}
.q {
color: #708090;
}
/* Weather Section Styling */
form {
border-radius: 15px;
background-color: white;
}
form input {
height: 40px;
padding: 0px 3px;
border: none;
outline: none;
background-color: transparent;
}
form input::placeholder {
font-style: italic
}
form span:hover {
cursor: pointer;
}
.weather-body {
background-color: transparent;
color: #87CEEB;
box-shadow: 0px 0px 10px black;
}
.location-container {
border: none;
}
#flag {
max-height: 40px;
max-width: 40px;
padding-bottom: 20px;
display: inline-block;
}
#cloud-img {
filter: drop-shadow(0px 40px 50px black);
height: 120px;
width: 120px;
}
.weather-icons {
max-height: 40px;
max-width: 40px;
display: inline-block;
padding-bottom: 10px;
}
.weather-items {
background-color: #87CEEB;
}
.weather-items-icon {
color: rgb(8, 101, 177);
}
.js-container-element {
height: 100vh;
width: auto;
} /* This element is created with js for catching and handling an error */
/* MEDIA QUERIES */
@media (min-width: 0px) and (max-width: 536px) {
body {
font-size: 13px;
}
form {
display: flex;
}
form input {
margin-right: 5px;
}
form span {
align-self: center;
}
}