-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
111 lines (96 loc) · 1.65 KB
/
Copy pathstyles.css
File metadata and controls
111 lines (96 loc) · 1.65 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
/* styles.css */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #121212;
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #1e1e1e;
padding: 20px;
border-radius: 10px;
width: 400px;
box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
text-align: center;
}
h1 {
margin-bottom: 20px;
font-size: 24px;
color: cyan;
font-weight: bolder;
}
.input-container {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
input[type="text"] {
width: 70%;
padding: 10px;
background-color: #333333;
border: none;
border-radius: 5px;
color: #fff;
outline: none;
}
button {
width: 25%;
padding: 10px;
background-color: #6200ea;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #3700b3;
}
#weather-info {
margin-top: 20px;
}
.hidden {
display: none;
}
#error-message {
color: #ff5722;
margin-top: 20px;
}
body.light {
background-color: #f0f0f0;
color: #121212;
}
body.light .container {
background-color: #ffffff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
body.light .container h1 {
color: black;
}
body.light input[type="text"] {
background-color: #e0e0e0;
color: #000;
}
body.light button {
background-color: #1976d2;
}
body.light button:hover {
background-color: #0d47a1;
}
body.light #error-message {
color: #d32f2f;
}
#weather-info p:last-child {
margin-bottom: 20px; /* Adds gap below weather description */
}
.theme-btn {
width: 100%;
}