-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
91 lines (80 loc) · 1.66 KB
/
main.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
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');
body{
background: #FFF;
}
.wrapper{
position: relative;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url(images/pattern-background-mobile.svg) no-repeat center/100% 500%;
}
.card-wrapper{
text-align: center;
background: #FFF;
border-radius: 15px;
width: 90%;
box-shadow: 0 10px 40px hsl(224, 100%, 84%);
}
.text-wrapper{
padding: 10px;
}
img{
width: 100%;
border-top-right-radius: 15px;
border-top-left-radius: 15px;
}
h2, p, span, .plan{
font-family: 'Red Hat Display', sans-serif;
}
.main{
font-size: 16px;
padding: 0 27px;
}
.price, .main{
color: hsl(224, 23%, 55%)
}
.plan{
display: flex;
justify-content: space-between;
align-items: center;
background-color: hsl(225, 100%, 98%);
padding: 5px 10px;
border-radius: 10px;
margin: 0 15px;
}
#music{
width: 50px;
height: 50px;
}
a{
align-self: center;
}
.pay{
padding: 15px 20%;
border-radius: 10px;
background-color: hsl(245, 75%, 52%);
color: #FFF;
font-size: 16px;
box-shadow: 0 10px 40px hsl(225, 100%, 94%);
border: 0;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media(min-width: 768px){
.card-wrapper{
width: 70%;
height: 65%;
}
}
@media(min-width: 1024px){
.wrapper{
background: url(images/pattern-background-desktop.svg) no-repeat center/100% 500%;
}
.card-wrapper{
width: 35%;
height: 70%;
}
}