-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.css
More file actions
115 lines (112 loc) · 1.87 KB
/
css.css
File metadata and controls
115 lines (112 loc) · 1.87 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Ruda:wght@400;600;700&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.container {
max-width: 1440px;
width: 100%;
margin: 0 auto;
}
header {
background-color: #fff;
padding: 1rem 0;
box-shadow: 1px 2px 10px #000;
}
a {
text-decoration: none;
}
body {
font-family: "poppins", sans-serif;
background-color: #ddd;
}
nav {
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
display: flex;
align-items: center;
}
.logo h3 {
font-size: 2rem;
margin-left: 0.5rem;
color: #2c3e50;
font-weight: 600;
}
.logo img {
width: 20%;
object-fit: cover;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin: 0 1rem;
}
nav ul li a {
padding: 0.5rem 1rem;
border: 1px solid #2c3e50;
color: #000;
border-radius: 5px;
}
.search {
position: relative;
}
.search input {
outline: none;
border: 1px solid #ddd;
padding: 0.5rem 1rem;
border-radius: 5px;
font-family: inherit;
}
.search button {
position: absolute;
top: 0;
right: 0;
padding: 0.55rem;
outline: none;
border: none;
background-color: #2c3e50;
color: #fff;
border-radius: 0px 5px 5px 0px;
font-family: inherit;
cursor: pointer;
}
/* product start */
.products_wrapper {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: 5rem 0;
grid-gap: 2rem;
}
.products {
background-color: #fff;
border-radius: 5px;
cursor: pointer;
}
.pr_img img {
width: 100%;
object-fit: cover;
border-radius: 5px;
}
.content {
padding: 1rem;
}
.content .title {
font-size: 1rem;
color: #2c3e50;
}
.content .release_date {
color: #bdc3c7;
}
.content .price {
background-color: #2c3e50;
padding: 0.5rem;
width: 60%;
color: #fff;
margin: 0.5rem 0;
}