-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
98 lines (82 loc) · 1.43 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
* {
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
.screen {
width: 90vw;
height: 100vh;
display: flex;
margin: 0 auto;
padding: 0;
box-shadow: 1px 1px black;
background-color: antiquewhite;
}
.background-image {
width: 40%;
height: 100%;
background-image: url("./assets/brett-jordan-unsplash.jpg");
background-position: center center;
border-radius: 5px;
}
.lorem {
height: 20%;
width: 100%;
font-size: x-large;
padding-left: 5%;
}
.form-space {
display: flex;
flex-direction: column;
width: 60%;
height: 100%;
}
.inputs {
height: 65%;
display: flex;
flex-direction: column;
justify-content: center;
}
form {
height: 80%;
width: 100%;
padding-left: 5%;
}
.submit {
height: 35%;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
form li {
margin-bottom: 1em;
}
label {
/* Uniform size & alignment */
display: inline-block;
width: 100%;
text-align: left;
margin-bottom: 10px;
}
input {
margin-right: 10%;
/* To make sure that all text fields have the same font settings
By default, textareas have a monospace font */
font: 1em sans-serif;
/* Uniform text field size */
box-sizing: border-box;
/* Match form field borders */
border: 1px solid #999;
width: 80%;
height: 2em;
border-radius: 5px;
}
.list-items {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
form li {
display: flex;
flex-direction: column;
}