-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (99 loc) · 1.72 KB
/
Copy pathstyle.css
File metadata and controls
106 lines (99 loc) · 1.72 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
105
106
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700);
html {
font-size: 16px;
}
html,
body {
height: 100%;
min-height: 415px;
}
body {
background-color: pink;
font-size: 13px;
}
#main {
position: absolute;
width: 300px;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
text-align: center;
}
/* timeline */
.timeline {
overflow: hidden;
position: relative;
margin-top: 2.25em;
padding-left: 100px;
}
.timeline:before,
.timeline:after {
content: "";
width: 75px;
position: absolute;
top: 0;
height: 96px;
z-index: 1;
}
.timeline:before {
left: 0;
background-image: linear-gradient(to right, pink, rgba(76, 202, 220, 0));
}
.timeline:after {
right: 0;
background-image: linear-gradient(to right, rgba(6, 7, 7, 0), pink);
}
/* timeline ul */
.timeline-list {
margin: 0;
padding: 0;
white-space: nowrap;
list-style: none;
transition: transform 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.timeline-item {
display: inline-block;
vertical-align: top;
width: 24px;
}
.timeline-item:before {
content: "";
display: block;
margin: 0 auto;
width: 2px;
height: 8px;
background: #141414;
}
.timeline-item.-date {
width: 36px;
}
.timeline-item.-date span {
font-family: "Roboto", sans-serif;
display: block;
margin: 2em 0;
font-weight: 700;
}
.timeline-item.-date:before {
width: 4px;
height: 14px;
}
.c {
position: fixed;
bottom: 0;
right: 0;
display: inline-block;
font-size: 1rem;
padding: 1.5em 2em;
font-family: Monaco, monospace;
color: #8f1c5f;
}
.d {
position: fixed;
bottom: 0;
left: 0;
display: inline-block;
font-size: 1rem;
padding: 1.5em 2em;
font-family: Monaco, monospace;
color: #8f1c5f;
}