forked from bitan2504/Weather-App
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedback.css
More file actions
116 lines (98 loc) · 1.97 KB
/
feedback.css
File metadata and controls
116 lines (98 loc) · 1.97 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
112
113
114
115
116
/* General styling */
body {
font-family: Arial, sans-serif;
background: rgb(81, 81, 240);
color: white;
display: flex;
flex-direction: column;
margin: 0;
}
:root {
--bg-color: rgb(81, 81, 240);
--text-color: #1e1e1e;
--header-bg: #5691d0;
--border-color: rgb(0, 184, 245);
--footer-bg: #5691d0;
--btn-bg: rgb(81, 81, 240) !important;
--btn-hover: #f6fafc;
--form-bg: aliceblue;
--hover-bg: #ffcb00;
--hover-text: #000;
}
.dark-mode {
--bg-color: #1e1e1e;
--text-color: #ffffff;
--header-bg: #333;
--border-color: #444;
--btn-bg:#444;
--btn-hover: #eeb116;
--footer-bg: #333;
--form-bg: #2c2c2c;
--hover-bg: #ffcb00;
--hover-text: #000;
}
/* Feedback container */
.feedback-container {
background: var(--form-bg);
padding: 20px;
border-radius: 12px;
color: var(--text-color);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
width: 350px;
text-align: center;
margin: 80px auto; /* Centers horizontally */
}
/* Title */
.feedback-title {
font-size: 24px;
font-weight: bold;
}
/* Subtext */
.feedback-subtext {
font-size: 14px;
margin-bottom: 15px;
}
/* Input fields */
.feedback-input,
.feedback-textarea {
width: 90%;
padding: 10px;
margin: 8px 0;
border: none;
border-radius: 6px;
font-size: 14px;
color: var(--text-color);
}
.feedback-textarea {
resize: none;
}
/* Button */
.feedback-button {
width: 100%;
padding: 10px;
margin-top: 10px;
background-color: var(--btn-bg);
color: var(--text-color);
border: none;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
transition: background 0.3s;
}
.feedback-button:hover {
background-color: #e68900;
}
/* Message */
.feedback-message {
margin-top: 10px;
font-size: 14px;
}
@media (max-width: 480px) {
.feedback-container {
width: 90%; /* Adjust width for smaller screens */
margin-top: 100px; /* Increased margin for proper spacing */
}
.feedback-title {
font-size: 20px; /* Slightly reduce text size */
}
}