-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (81 loc) · 1.37 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:root {
--bg-color: #d9cdf7;
--text-color: #271a45;
}
body {
background-color: var(--bg-color);
height: 100vh;
display: grid;
place-content: center;
}
body * {
color: var(--text-color);
font-family: 'Lato', sans-serif;
line-height: 100%;
}
#btn-close,
#animated {
display: none;
}
#app {
display: flex;
align-items: center;
gap: 63px;
}
#product-image {
position: relative;
}
#product-image button {
position: absolute;
right: 0;
background-color: transparent;
border: 0;
cursor: pointer;
}
html.animated button#btn-360,
html.animated img#static {
display: none;
}
html.animated button#btn-close,
html.animated img#animated {
display: initial;
}
#product-image>img {
width: 449px;
height: 222px;
object-fit: cover;
}
h4 {
font-weight: 300;
font-size: 10px;
}
h1 {
font-family: 'Crimson Pro', serif;
font-weight: 600;
font-size: 32px;
margin-top: 12px;
}
p {
margin-top: 12px;
opacity: 0.67;
}
#product-details button {
font-size: 12px;
line-height: 16px;
padding: 8px 16px;
border: 0.5px solid var(--text-color);
border-radius: 999px;
background-color: transparent;
margin-top: 20px;
transition: 0.2s;
}
#product-details button:hover {
background-color: #d9cdf7;
}