-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
95 lines (80 loc) · 1.65 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* {
padding: 0px;
}
body {
background-color: hsl(30, 38%, 92%);
min-height: 100vh;
font-size: 14px;
font-family: "Montserrat", sans-serif;
color: hsl(228, 12%, 48%);
}
h1 {
font-family: "Fraunces", serif;
color: hsl(212, 21%, 14%);
font-size: 2rem;
}
main {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.area {
background-color: hsl(0, 0%, 100%);
display: flex;
flex-direction: row;
border-radius: 20px;
width: 600px;
}
img {
flex: 1 0 50%;
object-fit: cover;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
.perfume {
text-transform: uppercase;
letter-spacing: 4px;
}
.description {
padding: 35px;
}
.prices {
display: flex;
align-items: center;
margin-top: 40px;
margin-bottom: 40px;
}
.sale-price {
font-family: "Fraunces", serif;
color:hsl(158, 36%, 37%);
font-size: 1.7rem;
margin-right: 20px;
}
.real-price {
text-decoration: line-through;
}
button {
font-family: "Montserrat", sans-serif;
font-weight: 700;
background-color: hsl(158, 36%, 37%);
color: hsl(0, 0%, 100%);
padding: 20px;
border-style: none;
border-radius: 10px;
height: 50px;
width: 100%;
}
button:hover {
background-color: hsl(158, 45%, 20%);
}
button:active {
background-color: hsl(158, 45%, 20%);
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(158, 36%, 37%);
}