-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
123 lines (104 loc) · 2.36 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@300&family=Red+Hat+Display:wght@500;600;700&display=swap');
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: 'Red Hat Display', sans-serif;
text-align: center;
}
:root {
--pale-blue: hsl(225, 100%, 94%);
--bright-blue: hsl(245, 75%, 52%);
--very-pale-blue: hsl(225, 100%, 98%);
--desaturated-blue: hsl(224, 23%, 55%);
--dark-blue: hsl(223, 47%, 23%);
}
body {
background-image: url(./images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size: cover;
background-color: var(--pale-blue);
}
.order-description {
padding: 0 40px;
/* spaces between lines */
line-height: 25px;
}
.card {
overflow: hidden;
width: 450px;
color: var(--desaturated-blue);
background-color: white;
text-align: center;
margin: 3rem auto 1rem auto;
border-radius: 25px;
}
.image {
width: 100%;
}
.container {
padding: 30px;
}
/* means that all of the children of this container will have the following traits */
.container > * {
/* ephemeral unit of 1 realtive to it's parent (the same font as it's parent) */
margin: 1em 0;
}
p {
line-height: 25px;
font-size: 16px;
}
button {
width: 100%;
font-size: 0.9rem;
border: none;
cursor: pointer;
display: block;
font-weight: 700;
border-radius: 12px;
padding: 1rem 0;
}
.proceed-button {
background-color: var(--bright-blue);
color: white;
box-shadow: 0px 1px 20px 5px lightgrey;
padding: 1rem 0;
}
.proceed-button:hover {
opacity: 0.8;
}
.cancel-button {
color: var(--desaturated-blue );
background-color: transparent;
margin-top: 20px;
}
.cancel-button:hover {
color: black;
}
.plan-container {
font-size: 16px;
background-color: var(--very-pale-blue);
padding: 25px;
border-radius: 12px;
display: flex;
flex-direction: row;
justify-content: space-between;
/* somehow makes the music icon not be stretched out */
align-items: center;
}
.plan-description {
margin-right: 75px;
line-height: 20px;
}
.plan-container a:hover {
text-decoration: none;
color: var(--bright-blue-hover);
}
.plan-description strong {
color: black;
}
h2 {
color: var(--dark-blue);
font-size: 2rem;
font-weight: 700;
}