-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
74 lines (69 loc) · 1.31 KB
/
main.css
File metadata and controls
74 lines (69 loc) · 1.31 KB
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
:root {
--purple: rgb(59, 28, 50);
--off_white: rgb(255, 236, 226);
--black: rgb(10, 10, 10);
}
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
background-color: var(--off_white);
color: var(--black);
}
header {
top: 0;
z-index: 999;
font-size: 1.3em;
background-color: var(--purple);
color: var(--off_white);
padding: 1% 15%;
font-family: 'Oswald', sans-serif;
}
.navbar {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.navbar .logo {
display: flex;
flex-direction: row;
align-items: baseline;
font-size: 1.1em;
}
.navbar ul {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 25%;
}
.navbar li {
display: inline;
}
.navbar a {
text-decoration: none;
color: inherit;
padding: 0.75em;
}
.navbar a:active, .navbar a:hover {
background-color: var(--off_white);
color: var(--purple);
}
body.resume > main {
width: 60%;
max-width: 700px;
margin: 2% auto;
padding: 1.5em;
outline: 1px solid var(--black);
box-shadow: 15px 10px 0px;
background-color: white;
}
body.about > main {
width: 60%;
margin: 0 auto;
padding: 1.5em;
font-size: 1.2em;
}
footer {
text-align: center;
}