-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (98 loc) · 2.02 KB
/
styles.css
File metadata and controls
103 lines (98 loc) · 2.02 KB
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
: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%);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-image: url(./images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size: cover;
background-color: var(--pale-blue);
font-size: 16px;
font-family: "Red Hat Display",sans-serif;
}
.card{
width: 450px;
background-color: white;
color: var(--desaturated-blue);
border-radius: 20px;
overflow: hidden;
margin: 50px auto;
}
.title{
color: var(--dark-blue);
font-weight: 900;
font-size: 32px;
}
.container{
padding: 30px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
font-size: 18px;
}
/* all the childern of container will have margin that is specified below */
.container > *{
margin: 13px 0;
}
.order-description{
line-height: 25px;
}
.plain-container{
font-size: 16px;
background-color: var(--very-pale-blue);
padding: 25px;
border-radius: 12px;
display: flex;
justify-content: space-between;
align-items: center;
}
.plain-container a{
color: var(--bright-blue);
font-size: 13px;
font-weight: 700;
text-decoration: none;
}
.plain-container a:hover{
opacity: 0.8;
}
.plain-container strong{
color: var(--dark-blue);
}
.plain-description{
line-height: 20px;
margin-right: 75px;
}
button{
width: 100%;
border: none;
font-weight: 700;
font-size: 0.9rem;
border-radius: 12px;
cursor: pointer;
}
.proceed-button{
background-color: var(--bright-blue);
padding: 1rem 0;
color: white;
box-shadow: 0 20px 30px --8px rgb(197, 189, 245);
}
.proceed-button:hover{
opacity: 0.8;
}
.cancel-button{
background-color: white;
color: var(--desaturated-blue);
margin-top: 22px;
}
.cancel-button:hover{
color: black;
}