-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (120 loc) · 2.76 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],700&family=Red+Hat+Display:wght@500;700;900&display=swap');
: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-color: hsl(225, 100%, 94%);
font-size: 16px;
font-family: 'Red Hat Display', sans-serif;
background-image: url(./images/pattern-background-mobile.svg);
background-repeat: no-repeat;
background-size: 100%;
}
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
line-height: 1.5;
}
.container{
width: 350px;
height: 590px;
background-color:white;
border-radius: 15px;
margin: 30px auto ;
overflow: hidden;
justify-content: center;
text-align: center;
box-sizing: border-box;
}
.container-image{
width: 100%;
}
.title{
color: var(--Dark-blue);
margin: 1em auto .5em;
font-weight: 900
}
.description{
color: var(--Desaturated-blue);
margin: 1em 2.5em;
}
.plan-box{
background-color: var(--Very-pale-blue);
display: flex;
width: 300px;
height: 80px;
margin: 1.7em auto;
border-radius: 12px;
font-size: 1em;
align-items: center;
}
.plan-box-title{
color: var(--Dark-blue);
font-size: 1em;
}
.plan-box-price{
color: var(--Desaturated-blue);
text-align: left;
font-size: 1em;
margin-left: .3em;
}
.plan-box-img{
width: 50px;
height: 50px;
margin: 1.2em ;
}
.plan-box-change{
margin-left:3.5em;
font-weight: bold;
font-size: .9em;
}
.plan-box-change:hover{
color:hwb(245 40% 5%);
text-decoration: none;
}
.pay-button{
width: 300px;
height: 50px;
background-color: var(--Bright-blue);
font-weight:bold;
color: white;
font-size: 1.1em;
border: none;
border-radius: 12px;
box-shadow: 0px 10px 20px hsl(246, 48%, 76%);
cursor: pointer;
}
.pay-button:hover{
background-color: hwb(245 40% 5%) ;
}
.cancel-button{
background-color: white;
color:var(--Desaturated-blue);
font-size: 1.1em;
font-weight:bolder;
border: none;
margin: 1.7em auto;
cursor: pointer;
}
.cancel-button:hover{
color: var(--Dark-blue);
}
/*-------DESKTOP DESING---------*/
@media (min-width:400px){
body{
background-image: url(./images/pattern-background-desktop.svg);
background-repeat: no-repeat;
background-size: 100%;
}
.container{
margin: 150px auto;
width: 400px;
height: 630px;
}
}
/*-------code by @MisaelCamarena---------*/