-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (100 loc) · 2.02 KB
/
style.css
File metadata and controls
120 lines (100 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
* {
font-family: 'Karla', sans-serif;
}
body {
padding: 40px;
}
p {
line-height: 25px;
}
.mainbox {
box-shadow: 0 5px 10px 10px rgba(0, 0, 0, 0.05);
margin: auto;
border-radius: 10px;
width: 650px;
/*width: 325px;*/
}
.grid-container {
display: grid;
grid-template-areas: 'box1 box1' 'box2 box3';
/*grid-template-areas: 'box1' 'box2' 'box3';*/
}
.grid-container > div {
padding: 20px 40px;
}
.topbox {
background-color: white;
color: hsl(218, 22%, 67%);
font-size: 16px;
grid-area: box1;
}
.bottomleft {
background-color: hsl(179, 62%, 43%);
color: hsl(204, 43%, 93%);
grid-area: box2;
}
.bottomright {
background-color: rgb(74,189,189);
grid-area: box3;
}
h1 {
color: hsl(179, 62%, 43%);
font-size: 24px;
font-weight: 700;
}
h2 {
color: hsl(71, 73%, 54%);
font-size: 20px;
font-weight: 700;
}
h3 {
color:hsl(204, 43%, 93%);
font-size: 18px;
}
.price {
font-size: 32px;
font-weight: 700;
vertical-align: middle; /* No idea why this needs to be here to align .permonth correctly */
line-height: normal;
}
.permonth {
display: inline-block;
font-weight: 400;
font-size: 14px;
color: rgb(105,210,213);
margin-left: 10px;
/* vertical-align: middle; */
}
.feature-list {
list-style-type: none;
margin: 0;
padding: 0;
color:hsl(204, 43%, 93%);
opacity: 0.9;
font-size: 14px;
font-weight: 400;
}
.feature-list li {
line-height: 20px;
}
button {
background-color: hsl(71, 73%, 54%);
border-radius: 5px;
border: none;
box-shadow: 5px 5px 10px 10px rgba(0, 0, 0, 0.05);
font-size: 18px;
font-weight: 400;
padding: 15px 0;
color: hsl(204, 43%, 93%);
width: 100%;
margin-top: 15px;
margin-bottom: 15px;
}
button:hover {
filter: brightness(110%);
box-shadow: 5px 5px 10px 20px rgba(0, 0, 0, 0.05);
}
@media (max-width: 650px) {
.grid-container { grid-template-areas: 'box1' 'box2' 'box3'; }
.mainbox { width: 325px; }
}