-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
executable file
·94 lines (80 loc) · 1.78 KB
/
styles.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
/* Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #252525; /* Dark background */
padding: 12px;
font-size: 12px;
color: #ececec;
}
h1 {
font-size: 13px;
margin-bottom: 10px;
color: #ffffff; /* White color for headings */
}
img {
max-width: 100%;
margin-bottom: 20px;
}
.video {
width: 100%; /* Ensure video fills the container width */
height: auto; /* Maintain aspect ratio */
display: block; /* Ensure block-level display */
margin-bottom: 20px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
background-color: #1e1f2f; /* Darker background for container */
padding: 20px;
}
iframe {
width:100%;
}
.weather-widget {
margin: 0 auto;
width: 100%;
max-width: 400px;
background-color: #353545; /* Darker background for widget */
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* Slightly darker shadow */
padding: 20px;
margin-bottom: 20px;
}
.weather-widget h1 {
font-size: 16px;
margin-bottom: 14px;
color: #ffffff; /* White color for widget headings */
}
.weather-info div {
margin-bottom: 10px;
}
.weather-data {
display: flex;
margin-top: 5px;
align-items: middle;
}
.weather-data img {
margin-right: 10px;
}
.weather-info a, .container a {
color: #add8e6; /* Light blue color for links */
text-decoration: none; /* Remove underline */
}
.weather-info a:hover, .container a:hover {
color: #87ceeb; /* Light blue color on hover */
text-decoration: underline; /* Add underline on hover */
}
@media (max-width: 600px) {
.container {
padding: 0 10px;
}
.weather-widget {
max-width: none;
}
}