-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
73 lines (67 loc) · 1.6 KB
/
main.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
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#navbar {
/*
- Change background color to #BF4141
- Add a 15px-thick black border on the bottom
- Turn the navbar into a flex container w/ space between items
- Align the items vertically across the center
- Add a bottom margin of 25px
*/
background-color: #BF4141;
border-bottom: 15px solid black;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}
.title > h1 {
/*
- Change font color to white
- Add a left margin of 16px
*/
color: white;
margin-left: 16px;
}
.nav-buttons a {
/*
- Change font color to white
- Increase the font size to 18px
- Add a right margin of 16px
- Get rid of the link underline with text-decoration
*/
color: white;
font-size: 18px;
margin-right: 16px;
text-decoration: none;
}
.create-page {
/*
- Make it a flex container where items are spaced evenly and aligned to the center
*/
display: flex;
justify-content: space-evenly;
align-items: center;
}
.pokemon-form {
/*
- Add a 1px black border around the form
- Add 20px of padding inside the form
- Make the form only 35% wide
*/
border: 1px solid black;
padding: 20px;
width: 35%;
}
.form-row {
/*
- Add a 16px bottom margin
*/
margin-bottom: 16px;
}