-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
209 lines (179 loc) · 4.11 KB
/
main.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
#product-overview {
background: linear-gradient(to top, rgba(80, 68, 18, 0.6) 10%, transparent), url("./shared/images/freedom.jpg") left 15% top 20%/cover no-repeat padding-box border-box scroll, #ff1b68;
/* background-color: #0e4f1f; */
/* // background property
background-image: url("./shared/images/freedom.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: left 15% top 33%;
background-origin: padding-box;
background-clip: border-box;
background-attachment: scroll;
*/
/* // linear gradient
background-image: linear-gradient(to bottom left, green, red);
background-image: linear-gradient(180deg, green, red, #fa923f, transparent);
background-image: linear-gradient(73deg, green 30%, red 60%, #fa923f, transparent);
*/
/* // radial gradient
background-image: radial-gradient(red, rgb(49, 108, 49), purple);
background-image: radial-gradient(circle, red, green, purple);
background-image: radial-gradient(circle at top left, red, green, purple);
background-image: radial-gradient(circle at 20% 40%, red, green, purple);
background-image: radial-gradient(circle 10rem, red, green, purple);
background-image: radial-gradient(ellipse 27rem 10rem, red, green, purple);
background-image: radial-gradient(ellipse closest-side at 20% 50%, red 25%, green 30%, purple);
background-image: radial-gradient(ellipse farthest-side at 20% 50%, red, green, purple);
background-image: radial-gradient(ellipse closest-corner at 20% 50%, red, green, purple);
*/
width: 100vw;
height: 33vh;
position: relative;
}
#product-overview h1 {
color: white;
font-family: 'Anton', sans-serif;
position: absolute;
bottom: 5%;
left: 3%;
font-size: 1.6rem;
}
.section-title {
color: #2ddf5c;
text-align: center;
font-family: 'Belta bold', sans-serif;
font-weight: bold;
font-size: 1.8rem;
}
.plan {
background: #d5ffdc;
text-align: center;
padding: 1rem;
margin: .5rem 0;
display: block;
width: 100%;
}
.plan--highlighted {
background: #19b84c;
color: white;
}
.plan__annotation {
background: white;
color: #19b84c;
padding: .5rem;
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5);
border-radius: 8px;
}
.plan__title {
color: #0e4f1f;
}
.plan__price {
color: #858585;
}
.plan--highlighted .plan__title {
color: white;
}
.plan--highlighted .plan__price {
color: #0e4f1f;
}
.plan__features {
list-style: none;
margin: 0;
padding: 0;
}
.plan__feature {
margin: .5rem 0;
}
#key-features {
background: #ff1b68;
margin-top: 5rem;
padding: 1rem;
}
#key-features .section-title {
color: white;
margin: 2rem;
}
.key-feature__list {
list-style: none;
margin: 0;
padding: 0;
text-align: center;
}
.key-feature__image {
background: #ffcede;
width: 128px;
height: 128px;
border: 2px solid #424242;
border-radius: 50%;
margin: auto;
padding: 1.5rem;
}
.key-feature__description {
text-align: center;
font-weight: bold;
color: white;
font-size: 1.2rem;
}
/* h1 {
font-family: sans-serif;
} */
@media (min-width: 40rem) and (min-height: 40rem) {
#product-overview {
height: 43vh;
background-position: 50% 18%;
}
#product-overview h1 {
font-size: 3rem;
}
}
@media (min-width: 40rem) {
.plan__list {
width: 100%;
/* text-align: center; */
display: flex;
justify-content: center;
align-items: center;
}
.plan {
/*
display: inline-block;
vertical-align: middle;
margin: .5rem;
*/
width: 30%;
min-width: 13rem;
max-width: 25rem;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 28rem;
}
.plan--highlighted {
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5);
height: 30rem;
z-index: 50;
}
.key-feature__list {
display: flex;
justify-content: center;
}
.key-feature {
/*
vertical-align: top;
display: inline-block;
*/
width: 30%;
max-width: 25rem;
}
}
/*
@media (min-width: 60rem) {
#product-overview {
height: 50vh;
background-position: 50% 25%;
}
#product-overview h1 {
font-size: 5rem;
}
}
*/