-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
88 lines (76 loc) · 1.4 KB
/
style.css
File metadata and controls
88 lines (76 loc) · 1.4 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
/* style.css */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f0f4f8;
}
header {
background-color: #a8dadc;
color: #1d3557;
padding: 10px 20px;
text-align: center;
}
header nav ul {
list-style-type: none;
padding: 0;
}
header nav ul li {
display: inline;
margin: 0 15px;
}
header nav ul li a {
color: #1d3557;
text-decoration: none;
padding: 10px 15px;
border-radius: 5px;
transition: background-color 0.3s ease, color 0.3s ease;
}
header nav ul li a:hover {
background-color: #457b9d;
color: #f1faee;
}
.products {
display: flex;
justify-content: space-around;
padding: 20px;
}
.product {
border: 1px solid #ddd;
border-radius: 5px;
padding: 15px;
text-align: center;
width: 30%;
background-color: #f1faee;
}
.product h2 {
font-size: 1.5rem;
color: #457b9d;
}
.product button {
background-color: #e63946;
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
border-radius: 5px;
}
.product button:hover {
background-color: #d62828;
}
.cart {
padding: 20px;
background-color: #f8f9fa;
text-align: center;
color: #1d3557;
}
footer {
background-color: #a8dadc;
color: #1d3557;
text-align: center;
padding: 10px;
position: fixed;
width: 100%;
bottom: 0;
}