-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpashmina-disc.css
100 lines (81 loc) · 1.49 KB
/
pashmina-disc.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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
h1, p {
font-family: "Open Sans";
}
.prod-name {
text-align: center;
margin: 0;
padding: 0;
margin-top: 30px;
transform: translate(-240px, 25px);
font-size: 35px;
}
.wrapper {
display: flex;
margin: 30px;
text-align: justify;
}
.img1 {
height: 300px;
aspect-ratio: 1 / 1;
margin-right: 30px;
transform: translate(0, -50px);
box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.35);
border-radius: 8px;
transition: transform 0.15s ease-in-out;
}
.img1:hover {
transform: scale(1.1) translate(3px, -50px);
}
.img1 img {
object-fit: cover;
height: 100%;
width: 100%;
border-radius: 8px;
}
.detail-area {
display: flex;
flex-direction: column;
flex: 1;
margin-right: 20px;
}
.detail-area .rel-img {
display: flex;
justify-content: space-between;
}
.rel-img .prod-img {
background: none;
height: 320px;
aspect-ratio: 1.72 / 1;
box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.45);
border-radius: 10px;
}
.rel-img .prod-img img {
object-fit: cover;
height: 100%;
width: 100%;
border-radius: 10px;
}
.stats {
display: flex;
justify-content: space-between;
margin-top: 30px;
}
.stat-box {
height: 200px;
aspect-ratio: 1 / 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
box-shadow: 0 0 13px rgba(0, 0, 0, .13);
}
.stat-icon {
font-size: 30px;
margin-bottom: 30px;
text-align: center;
}
.stat-num {
text-align: center;
font-size: 30px;
}