-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (100 loc) · 1.84 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Montserrat";
font-size: 14px;
font-weight: 400;
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(158, 36%, 37%);
}
.main {
display: flex;
align-items: center;
justify-content: space-between;
background-color: hsl(30, 38%, 92%);
flex-direction: column;
height: 100vh;
}
.image-perfume-mobile {
display: none;
}
.container-product {
background-color: hsl(0, 0%, 100%);
width: 100%;
max-width: 600px;
display: flex;
border-radius: 10px;
}
.image-perfume {
width: 50%;
border-radius: 10px 0px 0px 10px;
}
.product-category {
color: hsl(228, 12%, 48%);
font-family: "";
padding: 30px 0px 0px 20px;
letter-spacing: 7.5px;
}
.title {
font-size: 30px;
font-weight: bold;
padding: 30px;
}
.description {
color: hsl(228, 12%, 48%);
padding: 0px 30px;
font-size: 16px;
}
.price {
color: hsl(158, 36%, 37%);
font-size: 30px;
font-weight: 700;
padding: 20px 5px 20px 20px;
font-family: "Fraunces";
}
.original-price {
text-decoration: line-through;
padding-left: 10px;
}
.prices {
display: flex;
align-items: center;
}
.add-to-cart {
background-color: hsl(158, 36%, 37%);
padding: 15px 30px;
border-radius: 8px;
margin-left: 20px;
border: 0;
width: 80%;
display: flex;
gap: 10px;
align-items: center;
justify-content: center;
margin-bottom: 30px;
}
span {
color: hsl(0, 0%, 100%);
font-weight: 600;
}
@media screen and (max-width: 767px) {
.image-perfume {
display: none;
}
.container-product {
flex-direction: column;
}
.image-perfume-mobile {
display: block;
border-radius: 10px 10px 0px 0px;
}
.main {
padding: 20px;
}
}