-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (71 loc) · 1.19 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%; /* 1rem = 10px */
color: #271a45;
}
.container {
width: 100%;
height: 100vh;
background-color: #d9cdf7;
}
.content {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 1.3rem;
}
.content .img {
position: relative;
width: 44.9rem;
height: auto;
}
.content .img__button {
position: absolute;
top: 1rem;
right: 5rem;
z-index: 1;
cursor: pointer;
}
.content .img__button #toggleButton {
border: none;
background-color: transparent;
}
.content .img img {
width: 100%;
}
.content h2 {
margin: 1.2rem 0;
font-family: 'Crimson Pro';
font-weight: 600;
font-size: 3.2rem;
}
.content span {
font-family: 'Lato';
font-weight: 300;
font-size: 1rem;
}
.content .price {
font-weight: 400;
font-size: 1.6rem;
}
.content input {
margin-top: 2rem;
border: 0.5px solid #271a45;
border-radius: 999px;
padding: 0.8rem 1.6rem;
background: transparent;
font-weight: 400;
font-size: 1.2rem;
line-height: 1.6rem;
cursor: pointer;
transition: 2.5ms ease-in-out;
}
.content input:hover {
background-color: #271a45;
color: white;
}