-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbody.css
More file actions
137 lines (117 loc) · 2.39 KB
/
body.css
File metadata and controls
137 lines (117 loc) · 2.39 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: blue;
color: #333;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
background-color:#F98B88; /* Blue header */
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
header .logo h1 {
margin: 0;
color: white;
font-size: 2rem;
}
nav ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
margin-right: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 1.1rem;
text-transform: uppercase;
transition: color 0.3s ease;
}
nav ul li a:hover {
color: #ff6347; /* Hover effect with tomato color */
}
.main-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
text-align: center;
}
.main-content h2 {
font-size: 2rem;
color: #2c3e50;
margin-bottom: 20px;
}
.main-content p {
max-width: 800px;
margin-bottom: 20px;
font-size: 1.1rem;
color: #555;
}
button {
padding: 12px 24px;
background-color: #ff6347; /* Tomato color */
color: white;
border: none;
cursor: pointer;
border-radius: 5px;
font-size: 16px;
transition: background-color 0.3s, transform 0.3s;
}
button:hover {
background-color: #ff4500;
transform: translateY(-2px);
}
.product-boxes {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
margin-top: 30px;
}
.product-box {
background-color: white;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 30%;
text-align: center;
transition: transform 0.3s ease;
}
.product-box:hover {
transform: translateY(-10px);
}
.product-box img {
max-width: 100%;
border-radius: 10px;
}
.product-box h3 {
font-size: 1.3rem;
margin-top: 10px;
}
.product-box p {
font-size: 1rem;
color: #666;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
footer a {
color: #ff6347; /* Tomato color for links */
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}