-
Notifications
You must be signed in to change notification settings - Fork 1
/
productsstyle.css
117 lines (101 loc) · 1.99 KB
/
productsstyle.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
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
body{
width: 100%;
margin: 0%;
box-sizing: border-box;
font-family: "Roboto";
}
.mainContainer{
display: flex;
justify-content: center;
}
main{
width: 80rem;
margin: 0%;
padding: 0%;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas:
"productImageContainer productInfoContainer"
"productDescriptionContainer productDescriptionContainer";
padding: 0 1rem;
}
.productDescriptionContainer {
grid-area: productDescriptionContainer;
}
.productImageContainer {
grid-area: productImageContainer;
display: flex;
align-items: center;
}
.productInfoContainer {
grid-area: productInfoContainer;
}
.logo-text {
padding: 5px;
margin: 10px;
}
header {
display: flex;
justify-content: space-between;
padding: 0 20px;
border-bottom: 1px solid lightgray;
box-shadow: 1px 1px 5px rgba(10, 10, 10, 0.5);
margin-bottom: 2rem;
}
.nav {
display: flex;
justify-content: space-between;
gap: 60px;
margin: 20px;
list-style-type: none;
}
a {
text-decoration: none;
color: black;
}
a:hover {
color: rgb(147, 144, 144);
}
.logo {
display: flex;
justify-content: flex-start;
align-items: center;
}
.addToCardButtonContainer{
display: block;
}
.addToCardButtonContainer button{
background-color: #0B4D01;
color: #fff;
border: none;
width: 8rem;
font-weight: bold;
font-size: 1.1rem;
height: 2.5rem;
border-radius: 10px;
cursor: pointer;
}
.rating{
display: flex;
align-items: center;
flex-direction: row;
}
@media screen and (max-width:650px) {
body{
padding: 0%;
}
main{
display: block;
}
.productImageContainer {
justify-content: center;
}
}
@media screen and (max-width:400px) {
.productImage{
width: 90%;
}
}