-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (82 loc) · 1.15 KB
/
style.css
File metadata and controls
104 lines (82 loc) · 1.15 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
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
100
101
102
103
104
.content {
margin-right: auto;
margin-left: auto;
max-width: 60em;
font-size: 14pt;
}
body{
background: #1e2028;
font-family: 'Roberto Mono', monospace;
color: #bbb;
position: relative;
}
li{
padding:0 1em;
}
.header{
text-align:center;
padding:6em;
width:page-width;
}
.navbar {
top:0;
left:0;
z-index:1;
list-style-type:none;
width:100%;
overflow:hidden;
position:fixed;
background:#1e2028;
display:inline flex;
border: 1px solid #bbb;
border-style: solid none;
}
.navbar > li{
margin:0;
padding:0;
flex-grow:1;
width:100%;
display:block;
position:relative;
}
.navbar > li a{
margin: 0;
display:block;
text-align:center;
color: #bbb;
padding:0.5rem;
text-decoration:none;
}
.navbar > li a:hover{
background-color:#555;
}
:target{
animation-name: flash;
animation-duration: 0.5s;
}
@keyframes flash{
from{ background: #bbb4;}
to{ background: #bbb0;}
}
.about > p,
.contact > p,
.work > p {
margin: 0 20px;
}
.project{
padding:0 0 4em;
width: 100%;
position: relative;
display: flex;
margin: 0;
}
.project > div{
padding:0 20px;
overflow:visible;
}
.project > img{
height: 20em;
}
.padding{
padding:5em;
}