-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
76 lines (66 loc) · 1.38 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
:root {
--primary-color: #3498db;
--secondary-color: #2ecc71;
--background-color: #ecf0f1;
--text-color: #34495e;
--card-background: #ffffff;
--shadow-color: rgba(0, 0, 0, 0.1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
background-color: var(--background-color);
color: var(--text-color);
padding: 20px;
}
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
h1 {
text-align: center;
color: var(--primary-color);
font-size: 2.5em;
margin-bottom: 30px;
}
form {
display: flex;
gap: 10px;
margin-bottom: 30px;
}
form .product-input {
flex-grow: 1;
padding: 12px;
font-size: 16px;
border: 2px solid var(--primary-color);
border-radius: 25px;
outline: none;
}
form .product-input:focus{
box-shadow: 0 0 5px var(--primary-color);
}
form button {
padding: 12px 25px;
background-color: var(--primary-color);
border: none;
cursor: pointer;
font-size: 16px;
color: var(--background-color);
border-radius: 25px;
transition: 0.5s;
}
form button:hover {
background-color: #2980b9;
}
.product-list {
background-color: var(--card-background);
border-radius: 10px;
box-shadow: 0 4px 6px var(--shadow-color);
text-align: center;
}