-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
77 lines (66 loc) · 1.19 KB
/
styles.css
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
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background: #f8f8f8;
color: #333;
}
header {
background: #1a1a1a;
color: #fff;
padding: 10px;
text-align: center;
font-size: 1.2em;
}
header nav a {
color: #fff;
margin: 0 15px;
text-decoration: none;
}
.hero {
text-align: center;
background: linear-gradient(to right, #1a1a1a, #333);
color: #fff;
padding: 40px 20px;
}
.hero h2 {
font-size: 2em;
}
.product-list {
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
}
.product {
display: flex;
gap: 20px;
align-items: center;
border: 1px solid #ddd;
border-radius: 5px;
background: #fff;
padding: 15px;
width: 90%;
max-width: 800px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.product img {
max-width: 150px;
border-radius: 5px;
}
button {
background: #1a1a1a;
color: #fff;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background: #333;
}
form input, form textarea, form button {
font-size: 1em;
}