-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (87 loc) · 1.63 KB
/
style.css
File metadata and controls
89 lines (87 loc) · 1.63 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
header {
background-color: #003366;
color: #ffffff;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
header h2 {
margin: 0;
}
header p {
font-size: 10px;
}
.logo {
width: 150px; /* Adjusted the logo size for responsiveness */
height: auto;
}
.container {
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
justify-content: center;
}
.product-card {
background-color: #ffffff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 200px;
text-align: center;
padding: 20px;
transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.product-card img {
width: 100%;
border-radius: 8px;
}
.product-card h3 {
color: #003366;
}
.product-card p {
font-size: 1em;
color: #27ae60;
}
.footer {
background-color: #003366;
color: white;
text-align: center;
padding: 5px; /* Reduced padding */
font-size: 12px; /* Reduced font size */
position: fixed;
bottom: 0;
width: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.product-card {
width: 100%; /* Full width on smaller screens */
max-width: 300px;
}
.logo {
width: 100px;
}
}
@media (max-width: 480px) {
header h2 {
font-size: 1.2em;
}
header p {
font-size: 8px;
}
.container {
padding: 10px;
}
}