-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
109 lines (91 loc) · 2.63 KB
/
styles.scss
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
@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Montserrat:wght@500&display=swap");
$dark-cyan: hsl(158, 36%, 37%);
$cream: hsl(30, 38%, 92%);
$very-dark-blue: hsl(212, 21%, 14%);
$dark-grayish-blue: hsl(228, 12%, 48%);
$white: hsl(0, 0%, 100%);
$dark-blue: hsl(180, 100%, 18.65%);
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: $cream !important;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
}
.container {
max-width: 900px;
width: 100%;
.product-card{
background-color: hsl(0, 0%, 100%);
border-radius: 1.1rem;
overflow: hidden;
margin: 100px auto 10px auto;
.image-section {
flex: 1.1;
picture {
img {
width: 100%;
height: auto;
}
}
}
.content-section {
flex: 1;
.category {
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 500;
color: $dark-grayish-blue;
letter-spacing: 5px;
}
.product-title {
font-family: 'Fraunces', serif;
font-size: 3.4rem;
font-weight: 700;
color: $very-dark-blue;
line-height: 1;
}
.product-description {
font-size: 1.2rem;
color: $dark-grayish-blue;
}
.price-wrapper {
.current-price{
font-family: 'Fraunces', serif;
font-size: 2.8rem;
color: $dark-cyan;
}
.original-price {
font-size: 1rem;
color: $dark-grayish-blue;
margin-left: 15px;
}
}
.btn-add-to-cart {
background-color: $dark-cyan;
color: $white;
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
border: none;
border-radius: 10px;
transition: all 0.3s ease;
&:hover {
background-color: $dark-blue;
transform: scale(1.05);
box-shadow: 0 4px 14px darken($color: $dark-blue, $amount: 2%);
}
}
}
}
}
footer{
color: $very-dark-blue;
a,
a:visited{
font-family: 'Fraunces', serif;
color: $dark-blue;
}
}