-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
108 lines (92 loc) · 1.77 KB
/
index.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
* {
margin: 0%;
padding: 0%;
}
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit
}
body {
background-color: hsl(225, 100%, 94%);
background-image: url(images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size: contain;
min-height: 100vh;
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
font-family: 'Red Hat Display', sans-serif;
}
.container {
background-color: white;
max-width: 350px;
align-items: center;
margin: 10px auto;
border-radius: 20px;
overflow: hidden;
}
.text-container {
padding: 7%;
text-align: center;
}
h2 {
text-align: center;
color: hsl(223, 47%, 23%);
font-weight: 900;
margin-bottom: 15px;
}
p {
font-size: 16px;
color: hsl(224, 23%, 55%);
}
.subtitle {
margin-bottom: 15px;
}
.box {
background-color: hsl(225, 100%, 98%);
align-items: center;
display: flex;
justify-content: space-between;
padding: 20px;
border-radius: 12px;
}
.box-left {
display: flex;
}
h5 , .price {
margin-left: 20px;
}
.proceed-btn {
background-color: hsl(245, 75%, 52%);
display: block;
text-decoration: none;
color: white;
padding: 15px 0;
border-radius: 12px;
margin: 15px 0;
}
.cancel-btn {
text-decoration: none;
color: hsl(224, 23%, 55%);
font-weight: 900;
}
.cancel:hover {
text-decoration: none;
transition: ease;
}
.proceed-btn:hover {
background-color: hsl(223, 47%, 23%);
}
@media only screen and (max-width:425px;) {
.container {
max-width: 350px;
}
body {
background-image: url(images/pattern-background-mobile.svg);
}
}