-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
99 lines (98 loc) · 2.1 KB
/
index.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
body {
color: white;
background-color: black;
font-family: monospace;
font-size: 1.25em;
padding-left: 100px;
padding-right: 100px;
}
h1, h2 {
color: red;
}
/* The reason I chose black, white, red, green, and orange as my main colors is because I was inspired how older computers looked. My goal was the replicate the boxy lettering
with monospace and the color scheme with a black background and green/red/orange/white text. I found white to be the most legible, so I decided to use that for the body. */
h1 {
text-align: center;
}
h2 {
padding-top: 50px;
}
h3 {
color: orange;
text-decoration: underline;
}
.title {
padding-top: 30px;
}
/* Menu bar. I thought it would be easier to navigate different pages with a menu */
.topnav {
background-color: black;
overflow: hidden;
}
.topnav a {
float: left;
color: green;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
font-family: monospace;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
dropbtn {
background-color: black;
color: green;
}
/* drop down menu. I thought it would be the best way to display the different types of careers. */
.dropdown {
float: left;
overflow: hidden;
}
.dropdown .dropbtn {
font-size: 17px;
border: none;
outline: none;
color: green;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbtn {
background-color: #ddd;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #ddd;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
float: none;
color: green;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
/* end of menu bar */
div {
text-align: center;
}
.figure {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 800px;
}