-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct-listing.css
More file actions
118 lines (102 loc) · 2.08 KB
/
product-listing.css
File metadata and controls
118 lines (102 loc) · 2.08 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
117
118
/* General Styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f3f4f6;
color: #fff; /* Changed text color to white */
margin: 0;
padding: 0;
}
h1, h2 {
text-align: center;
color: #fff; /* Changed heading color to white */
}
.container {
max-width: 600px;
margin: 50px auto;
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
header {
background-color: #004d40; /* Dark green background for header */
color: white; /* White text color for header */
padding: 20px 0;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.main-container {
padding: 20px;
}
footer {
text-align: center;
background-color: #004d40; /* Dark green background for footer */
color: white; /* White text color for footer */
padding: 10px 0;
position: fixed;
bottom: 0;
width: 100%;
}
/* Form Styles */
form {
display: flex;
flex-direction: column;
}
label {
margin: 15px 0 5px;
font-weight: bold;
color: #004d40; /* Dark green color for labels */
}
input, textarea {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%;
font-size: 16px;
box-sizing: border-box;
}
textarea {
resize: vertical;
height: 100px;
}
input:focus, textarea:focus {
border-color: #00796b;
outline: none;
}
/* Button Styles */
button {
background-color: #00796b;
color: white;
padding: 12px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
margin-top: 15px;
}
button:hover {
background-color: #004d40;
}
/* Success & Error Message Styles */
#message {
margin-top: 20px;
padding: 10px;
border-radius: 5px;
font-weight: bold;
}
#message.success {
color: #fff;
background-color: #4caf50;
}
#message.error {
color: #fff;
background-color: #f44336;
}
/* Responsive Design */
@media (max-width: 600px) {
.container {
margin: 20px;
padding: 20px;
}
}