-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (98 loc) · 1.91 KB
/
style.css
File metadata and controls
113 lines (98 loc) · 1.91 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
@import url("https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap");
:root {
--cyan: hsl(179, 62%, 43%);
--cyan2: hsl(179, 47%, 51%);
--bright-yellow: hsl(71, 73%, 54%);
--light-gray: hsl(204, 43%, 93%);
--grayish-blue: hsl(218, 22%, 67%);
--background: hsl(206, 47%, 93%);
--radius: 10px;
}
html,
body {
width: 100%;
height: 100%;
font-family: "Karla";
}
body {
background-color: var(--background);
display: flex;
flex-direction: column;
margin: 0;
}
.container {
display: grid;
place-items: center;
flex: 1;
}
.wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: min-content min-content;
grid-template-areas:
"top top"
"left right";
}
@media only screen and (max-width: 375px) {
.wrapper {
grid-template-columns: 1fr;
grid-template-rows: min-content;
grid-template-areas:
"top"
"left"
"right";
}
}
.primary {
background-color: white;
grid-area: top;
padding: 45px;
border-radius: var(--radius) var(--radius) 0 0;
}
.primary-title {
color: var(--cyan);
font-weight: 700;
}
.primary-subtitle {
color: var(--bright-yellow);
font-weight: 400;
}
.primary-text {
color: var(--grayish-blue);
}
.subscription {
grid-area: left;
background-color: var(--cyan);
color: var(--light-gray);
padding: 44px;
border-radius: 0px 0px 0px var(--radius);
}
.secondary-title {
font-weight: 700;
}
.secondary-subtitle {
font-size: 32px;
font-weight: 700;
}
.button {
background-color: var(--bright-yellow);
border: none;
border-radius: 6px;
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
color: var(--light-gray);
width: 100%;
padding: 15px;
font-family: inherit;
font-weight: 700;
}
.whyus {
grid-area: right;
background-color: var(--cyan2);
color: var(--light-gray);
padding: 44px;
border-radius: 0px 0px var(--radius);
}
li {
list-style-type: none;
margin-bottom: 3px;
}