-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
155 lines (132 loc) · 2.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
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root{
/* colours */
--red-primary: hsl(0, 100%, 74%);
--green-primary: hsl(154, 59%, 51%);
--accent-blue: hsl(248, 32%, 49%);
--dark-blue: hsl(249 24% 71%);
--grayish-blue: hsl(246, 25%, 77%);
--shadow: 0 8px 1px hsla(280, 6%, 10%, 0.205);
font-size: 16px;
}
body{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
background: var(--red-primary) url(./images/bg-intro-mobile.png);
display: flex;
flex-direction: column;
}
.container{
width: 100%;
max-width: 375px;
margin: auto;
}
header{
color: white;
text-align: center;
margin: 2rem;
}
.paragraph{
line-height: 1.5;
opacity: 0.8;
}
.trial{
background-color: var(--accent-blue);
padding: 1rem 4.5rem;
text-align: center;
color: white;
border-radius: 10px;
box-shadow: var(--shadow);
line-height: 2;
font-weight: 700;
margin: 0 20px 2rem 20px;
width: auto;
}
.trial span{
font-weight: 400;
opacity: 0.8;
}
form{
display: flex;
flex-direction: column;
background-color: white;
border-radius: 10px;
box-shadow: var(--shadow);
width: 90%;
margin: auto;
}
form input{
margin: 20px 20px 10px 20px;
border: 1px solid var(--grayish-blue);
border-radius: 5px;
padding: 0.5rem;
font-family: 'Poppins', sans-serif;
font-size: 1rem;
font-weight: 600;
color: rgba(17, 10, 10, 0.644);
}
form button{
margin: 10px 20px 20px 20px;
border: 1px solid var(--grayish-blue);
border-radius: 5px;
padding: 0.5rem;
background: var(--green-primary);
outline: none;
color: white;
text-transform: uppercase;
font-family: 'Poppins', sans-serif;
font-weight: 600;
box-shadow: 0 3px 1px hsl(153, 45%, 37%);
}
form p{
margin: 0 20px 20px 20px;
font-size: 0.8rem;
text-align: center;
padding: 0 2rem;
color: var(--grayish-blue);
}
.tsa{
color: var(--red-primary);
font-weight: 600;
}
footer{
margin: 20px 0;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media (min-width: 769px){
body{
background: url(./images/bg-intro-desktop.png) var(--red-primary);
}
.container{
width: 100%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-evenly;
}
header{
width: 50%;
/* justify-content: center; */
align-self: center;
text-align: left;
}
.heading{
font-size: 3rem;
line-height: 1.5;
}
.paragraph{
text-align: left;
padding: 0 2rem 0 0;
line-height: 2;
}
main{
width: 70%;
margin: 50px;
}
.trial{
margin: 30px;
}
}