-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
164 lines (140 loc) · 2.64 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
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
:root {
--left-space: 48px;
}
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
@font-face {
font-family: "Norse Bold";
src: url("./Norse-Bold.otf");
}
.content {
min-height: 100vh;
display: flex;
}
.image-section {
background-position: center center;
background-image: url("./leaf-image.jpg");
background-size: cover;
display: flex;
flex: 3;
flex-direction: column;
justify-content: space-between;
color: white;
text-align: center;
}
a {
color: white;
}
.banner {
display: flex;
justify-content: center;
align-items: center;
font-size: 5.5rem;
font-family: "Norse Bold";
margin-top: 20vh;
padding: 16px 0;
background-color: rgba(0, 0, 0, 0.4);
}
.banner img {
height: 125px;
}
.banner h2 {
margin: 0;
}
.attribution {
font-size: 0.9rem;
}
.text-section {
display: flex;
flex: 5;
flex-direction: column;
justify-content: center;
background-color: #f9fafb;
}
.text-section > p {
font-size: 1.4rem;
margin-left: var(--left-space);
font-weight: bold;
max-width: 80%;
margin-bottom: 8px;
}
.text-section p:first-child {
margin-top: 0;
}
.inputs-section {
color: black;
background-color: white;
margin-top: 32px;
padding-top: 16px;
padding-bottom: 16px;
padding-left: var(--left-space);
box-shadow: 0 5px 5px 4px rgba(0, 0, 0, 0.1);
}
.inputs-section label {
font-size: 0.7rem;
letter-spacing: 0.1rem;
margin-bottom: 1px;
}
.inputs-section input {
box-sizing: border-box;
border: 1px solid #e5e7eb;
border-radius: 4px;
padding: 4px 8px;
width: 100%;
font-size: 1rem;
margin-right: 32px;
}
.inputs-section h3 {
font-size: 1.25rem;
font-weight: 400;
margin-top: 0;
margin-bottom: 24px;
}
.inputs > div {
display: flex;
flex-wrap: wrap;
column-gap: 84px;
row-gap: 18px;
margin-bottom: 18px;
}
.inputs label {
display: block;
}
input.focus {
border: 1px solid blue;
box-shadow: 2px 1px 2px 2px rgba(0, 0, 0, 0.1);
}
input.error {
border: 1px solid red;
}
.error-message {
margin-top: 0;
font-size: 0.8rem;
color: red;
}
#create-account {
margin-left: var(--left-space);
margin-top: 32px;
border: none;
background-color: #596D48;
padding: 12px 48px;
border-radius: 8px;
box-shadow: 2px 5px 5px 4px rgba(0, 0, 0, 0.1);
cursor: pointer;
color: white;
font-weight: 700;
font-size: 1.1rem;
}
p.log-in {
font-weight: 400;
font-size: 1rem;
margin-top: 32px;
}
.log-in a {
color: #596D48;
font-weight: bold;
text-decoration: none;
}