-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (100 loc) · 2.13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Red Hat Display', sans-serif;
}
body {
background-image: url("images/pattern-background-desktop.svg");
background-repeat: no-repeat;
background-size: 100%;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
padding: 1rem;
}
main {
background-color: #fff;
max-width: 416px;
border-radius: 0.8rem;
}
main img {
width: 100%;
border-radius: 1rem 1rem 0 0;
}
main section {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 2rem;
height: 100%;
width: 100%;
}
main section h1 {
color: hsl(223, 47%, 23%);
margin-top: 2rem;
margin-bottom: 1rem;
}
main section span {
text-align: center;
color: hsl(224, 23%, 55%);
}
main .informations {
display: flex;
justify-content: space-between;
width: 100%;
align-items: center;
background-color: hsl(231, 81%, 84%);
border-radius: 1rem;
padding: 1.5rem 1rem;
margin: 2rem 0;
}
main .informations .music-price {
display: flex;
align-items: center;
}
main .informations img {
width: 48px;
margin-right: 1rem;
}
main .informations .price {
display: flex;
flex-direction: column;
}
main .informations a {
font-weight: 600;
font-size: 90%;
color:hsl(245, 75%, 52%);
transition: all 0.3s;
}
main .informations a:hover {
color:hsl(223, 47%, 23%);
text-decoration: none;
}
button {
cursor: pointer;
font-weight: 600;
border: none;
color: white;
background-color: hsl(245, 75%, 52%);
width: 100%;
border-radius: 0.8rem;
margin-bottom: 1.5rem;
padding: 1rem 0;
box-shadow: 0px 20px 20px rgba(56, 42, 255, 0.3);
transition: background 0.3s;
}
main button:hover {
background: #766cf1;
}
#cancel-order {
text-decoration: none;
color: hsl(224, 23%, 55%);
font-weight: 600;
margin-bottom: 2rem;
font-size: 0.9rem;
}