-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
91 lines (90 loc) · 1.48 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Red+Hat+Display:wght@700&display=swap');
:root
{
--very-dark-blue: hsl(212, 21%, 14%);
--dark-grayish-blue: hsl(228, 12%, 48%);
--white: hsl(0, 0%, 100%);
--cream: hsl(30, 38%, 92%);
--dark-cyan: hsl(158, 36%, 37%);
}
*
{
margin:0;
padding:0;
box-sizing:border-box;
}
body
{
background-image:var(--white);
}
.card
{
display:flex;
flex-direction: row;
height:450px;
max-width:600px;
margin:15rem auto;
font-family: 'Montserrat', sans-serif;
background-color: var(--cream);
border-radius:25px;
}
p
{
opacity:0.5;
}
#title
{
letter-spacing: 5px;
}
.product-image img
{
height:450px;
overflow:hidden;
border-radius:25px 0px 0px 25px;
}
.product-text
{
display:flex;
flex-direction: column;
justify-content: space-evenly;
padding-left:10px;
}
strong,b
{
font-size:32px;
font-weight:700;
word-spacing:10px;
}
b
{
color:var(--dark-cyan)
}
span
{
text-decoration: line-through;
opacity:0.5;
}
.purchase
{
display:flex;
flex-direction:row;
align-items: center;
justify-content: center;
height:50px;
width:250px;
background-color: var(--dark-cyan);
border-radius:10px;
padding-left:10px;
margin:0px auto;
}
.purchase a
{
text-decoration:none;
color:white;
font-size:14px;
font-weight:700;
}
.purchase:hover
{
background-color:var(--very-dark-blue);
}