-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
110 lines (104 loc) · 1.87 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
: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:375px;
background-color: white;
color:var(--desaturated-blue);
border-radius: 13px;
margin:50px auto;
}
#card img{
border-radius: 13px;
}
h2,h3{
color:black;
font-weight: 900;
}
.hero-image{
width:100%;
}
.container{
text-align: center;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
}
.container .amount{
width:100%;
background-color: var(--very-pale-blue);
display:flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-radius: 12px;
padding: 0;
font-size: 16px;
box-shadow: 3px 14px 14px 4px rgba(56,41,224,0.1);
}
.amount a{
color:var(--bright-blue);
font-size:13px;
font-weight:900;
padding-right: 25px;
}
.amount a:hover{
opacity: 0.8;
text-decoration:none;
}
.amount strong{
color:var(--dark-blue);
}
.amount img{
padding-left:15px
}
.container p{
padding:10px;
line-height:25px;
}
.btn1,.btn2{
width:100%;
padding:10px;
margin-top:20px;
border:0;
font-weight: 700;
cursor: pointer;
border-radius: 10px;
}
.btn1{
background-color: var(--bright-blue);
color:white;
}
.btn1:hover{
opacity:0.8;
}
.btn2{
background-color:white;
color:var(--esaturated-blue);
}
.btn2:hover{
opacity: 0.8;
}
.description{
padding-right: 90px;
line-height: 5px;
padding-top:18px;
}