-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
92 lines (77 loc) · 1.33 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
html {
background-color: #eee;
}
body {
color: #333;
background-color: #fff;
font-family: Georgia, serif;
max-width: 80ch;
margin: auto;
box-shadow: -1px 0 10px grey, 1px 0 10px grey, 0 1px 10px grey;
min-height: 100vh;
display: flex;
flex-direction: column;
}
header#main-header {
text-align: center;
padding: 2ch;
}
header#main-header h1 {
margin: 0;
}
nav ul {
width: 100%;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: lightblue;
display: flex;
}
nav li {
text-align: center;
float: left;
}
nav a {
display: inline-block;
padding: 5px;
color: inherit;
text-decoration: none;
}
nav a:hover {
background-color: #e6baac;
}
a#current-page {
background-color: #9cc2cf;
}
main {
padding: 0 1ch;
flex-grow: 1;
}
footer#main-footer {
font-size: x-small;
padding: 0 1ch;
height: 100%;
}
.portfolio-panel {
width: 100%;
display: flex;
flex-direction: row;
min-height: 250px;
}
.portfolio-panel h3 {
text-align: center;
}
.portfolio-scroll {
display: flex;
justify-content: center;
align-items: center;
}
.portfolio-scroll button {
height: 100%;
background-color: #fff;
border: solid 1px #aaa;
}
.portfolio-content {
flex-grow: 1;
}