-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.css
173 lines (166 loc) · 3.14 KB
/
output.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
a:link {
color: inherit; /* no blue default link color */
text-decoration: none;
}
a:visited {
color: inherit; /* no purple visited links */
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: "Red Hat Display", sans-serif;
font-weight: 500, 700, 900;
background-color: hsl(225, 100%, 94%);
width: 100svw;
height: 100svh;
text-align: center;
}
section {
border-radius: 16px;
background-color: #FFFFFF;
max-width: 18em;
height: auto;
}
section img {
float: top;
max-width: 100%;
border-radius: 16px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin: 0;
}
section img .music-icon {
border-radius: 16px;
}
section h1 {
font-size: 1.4em;
font-weight: 900;
color: hsl(223, 47%, 23%);
margin: 30px 30px 15px 30px;
}
section h2 {
font-size: 0.8em;
color: hsl(224, 23%, 55%);
font-weight: 500;
margin: 10px 40px;
line-height: 160%;
}
section aside {
background-color: hsl(225, 100%, 98%);
padding: 10px 10px;
margin: 20px;
border-radius: 16px;
display: flex;
justify-content: space-between;
align-items: center;
}
section aside p {
font-size: 0.7em;
}
section aside div {
display: flex;
justify-content: center;
align-items: center;
}
section aside div img {
width: 30%;
}
section aside div .deal {
margin: 5px 10px;
display: flex;
flex-direction: column;
justify-content: center;
}
section aside div .deal .plan {
font-weight: 900;
margin: 2px;
}
section aside div .deal .price {
color: hsl(224, 23%, 55%);
font-weight: 700;
margin: 2px;
}
section aside .change {
font-weight: 900;
color: hsl(245, 75%, 52%);
text-decoration: underline;
font-size: 0.88em;
}
section a p {
font-weight: 900;
font-size: 0.8em;
letter-spacing: 0.5px;
}
section a .payment {
background-color: hsl(245, 75%, 52%);
color: hsl(225, 100%, 94%);
margin: 20px;
border-radius: 12px;
padding: 15px 30px;
box-shadow: 0px 10px 27px -4px hsla(245, 75%, 52%, 0.5);
margin-bottom: 0px;
}
section a .cancel {
color: hsl(224, 23%, 55%);
margin: 20px;
border-radius: 12px;
padding: 15px 30px;
margin: 10px 0 20px 0;
padding: 10px 0 30px 0;
}
footer {
display: flex;
justify-content: center;
font-size: 0.5em;
margin: 30px;
}
@media screen and (min-width: 1024px) {
section {
height: auto;
max-width: 21em;
}
section h1 {
font-size: 1.3em;
}
section h2 {
font-size: 0.75em;
}
section aside {
margin: 20px 40px;
}
section aside .change {
font-size: 0.85em;
}
section aside .change :hover {
opacity: 50%;
}
section aside a.change:link:hover {
text-decoration: none;
}
a p {
font-size: 0.65em;
}
a .payment, a .cancel {
margin: 5px 40px 10px 40px;
padding: 10px 30px;
border-radius: 10px;
}
a .cancel {
padding: 10px 0 35px 0;
}
a .payment:hover {
opacity: 50%;
}
a .cancel:hover {
color: hsl(223, 47%, 23%);
}
}
/*# sourceMappingURL=output.css.map */