-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
106 lines (93 loc) · 2.07 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&display=swap');
.flex{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.card{
background-color: hsl(30, 38%, 92%);
width: 1300px;
height: 720px;
margin-top: 70px;
margin-bottom: 70px;
margin-left: 168px;
margin-right: 168px;
box-shadow: 5px 5px 20px rgb(212, 212, 212);
}
.preview{
background-color: hsl(0, 0%, 100%);
border-radius: 9px;
width: 545px;
height: 408px;
margin-top: 156px;
margin-bottom: 156px;
margin-left: 377.5px;
margin-right: 377.5px;
position: relative;
}
.card-img{
width: 272.5px;
height: 408px;
border-top-left-radius: 9px;
border-bottom-left-radius: 9px;
}
.text{
position: absolute;
right: 20px;
bottom: 20px;
width: 232.5px;
height: 368px;
}
p.one{
font-family: 'Fraunces', serif;
font-weight: 700;
font-size: 31px;
color: hsl(212, 21%, 14%);
margin: auto;
}
p.two{
font-family: 'Montserrat', sans-serif;
font-weight: 500;
font-size: 14px;
color: hsl(228, 12%, 48%);
}
h6{
letter-spacing: 4px;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
font-size: 10px;
color: hsl(228, 12%, 48%);
margin-top: 15px;
margin-bottom: 15px;
}
.price{
font-family: 'Fraunces', serif;
color: hsl(158, 36%, 37%);
font-weight: 500;
font-size: 30px;
}
.original{
font-family: 'Montserrat', sans-serif;
font-weight: 500;
font-size: 12px;
color: hsl(228, 12%, 48%);
padding-left: 10px;
}
.button{
background-color: hsl(158, 36%, 37%);
color: hsl(0, 0%, 100%);
border: none;
border-radius: 10px;
padding:15px;
min-height:30px;
min-width: 232.5px;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
font-size: 15px;
text-align: center;
}
.button:hover {
background-color: hsl(158, 36%, 19%);
transition: 0.7s;
}