-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
126 lines (98 loc) · 1.83 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: Montserrat;
background-color: hsl(30, 38%, 92%);
}
h1 {
font-family: Fraunces;
line-height: 32px;
color: hsl(212, 21%, 14%);
}
p {
font-size: 14px;
color: hsl(228, 12%, 48%);
}
h5 {
text-transform: uppercase;
letter-spacing: 5px;
margin: 0 0;
font-weight: 500;
color: hsl(228, 12%, 48%);
}
.card {
display: flex;
flex-direction: row;
max-width: 600px;
border-radius: 12px;
overflow: hidden;
background-color: white;
margin-bottom: 4rem;
}
.perfume {
width: 50%;
object-fit: cover;
}
.content {
display: flex;
flex-direction: column;
padding: 32px;
}
.body-copy {
font-size: 14px;
line-height: 1.6;
margin-top: 0;
}
.pricing {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 0.5rem;
}
.price {
color: hsl(158, 36%, 37%);
display: inline;
}
.strike {
text-decoration-line: line-through;
}
button {
border: none;
border-radius: 8px;
padding: 16px 32px;
cursor: pointer;
transition: all 250ms;
text-align: center;
font-family: Montserrat;
font-weight: 700;
font-size: 14px;
background-color: hsl(158, 36%, 37%);
color: white;
}
button:hover {
background-color: hsl(158, 59%, 26%);
}
.fa-solid {
margin-right: 8px;
}
@media (max-width: 480px) {
body {
margin: 0px 20px;
min-height: 108vh;
}
.card {
flex-direction: column;
}
.perfume {
height: 240px;
width: 100%;
}
.content {
padding: 24px;
}
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(158, 59%, 26%); font-weight: bold; }