-
Notifications
You must be signed in to change notification settings - Fork 602
Expand file tree
/
Copy path_main.css
More file actions
90 lines (90 loc) · 1.43 KB
/
Copy path_main.css
File metadata and controls
90 lines (90 loc) · 1.43 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
html{
font-family: Open Sans, Helvetica, Arial, sans-serif;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
}
html{
height: 100%;
}
body{
min-height: 100%;
color: #fff;
background-color: #384047;
margin: 0;
padding: 0;
font-size: 12px;
-webkit-text-size-adjust: none;
position: relative;
}
a{
color: #fff;
}
header{
position: fixed;
bottom: 0;
margin: 0;
padding: 20px;
}
header a{
margin-left: 1em;
opacity: .3;
text-decoration: none;
}
header a:hover{
opacity: .7;
text-decoration: underline;
}
h1{
display: inline;
font-size: 20px;
font-weight: normal;
line-height: 1em;
opacity: .5;
z-index: 3;
font-weight: 300;
white-space: nowrap;
}
#life{
padding-top: 40px;
padding-bottom: 5em;
}
#life section.year{
min-height: 100%;
box-sizing: border-box;
-moz-box-sizing: border-box;
border-left: 1px dashed rgba(255,255,255,.1);
color: rgba(255,255,255,.3);
position: absolute;
top: 0;
bottom: 0;
padding-left: 10px;
padding-top: 10px;
pointer-events: none;
font-weight: 300;
white-space: nowrap;
}
#life .event{
padding-right: 20px;
padding-bottom: 5px;
vertical-align: middle;
white-space: nowrap;
}
#life .event b{
font-weight: normal;
color: rgba(255,255,255,.5);
}
#life .event .time{
display: inline-block;
overflow: hidden;
height: 0;
border: 4px solid #fff;
border-radius: 4px;
margin-right: 10px;
opacity: .3;
position: relative;
left: -2px;
}
#life .event:hover .time{
opacity: .5;
}