forked from yousinix/portfolYOU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_timeline.scss
46 lines (41 loc) · 812 Bytes
/
_timeline.scss
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
.timeline-body {
position: relative;
border-radius: 0 $rounded-borders $rounded-borders 0;
padding: 5px 0;
&:after {
// Left Border
content: "";
width: 4px;
height: 100%;
background-color: $primary;
position: absolute;
left: -4px;
top: 0;
}
.timeline-item {
position: relative;
&:after {
// Circle
content: "";
width: 20px;
height: 20px;
border-radius: 50%;
border: 4px solid $primary;
background-color: $light;
position: absolute;
left: -12px;
top: 8px;
z-index: 10;
}
.content {
margin: 40px;
padding-bottom: 20px;
border-bottom: 1px dashed $dark;
.date {
margin-top: -5px;
margin-bottom: 15px;
color: #6c757d;
}
}
}
}