-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
84 lines (71 loc) · 1.63 KB
/
styles.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
/* -------------------------------------
* vertical timeline
* ------------------------------------- */
.vertical-timeline ul {
list-style: none;
margin: 0 0 0 90px;
padding-left: 30px;
border-left: 4px solid lightgrey;
}
.vertical-timeline li{
position: relative;
margin-bottom: 20px;
}
.vertical-timeline li:last-child{
margin-bottom: 0px;
}
.vertical-timeline .date {
left: -120px;
position: absolute;
top: calc(50% - 20px);
}
.vertical-timeline .circle {
top: calc(50% - 8px);
left: -40px;
width: 12px;
height: 12px;
background: white;
border: 2px solid #ab0d25;
border-radius: 50%;
display: block;
position: absolute;
}
.vertical-timeline .content {
border-color: #ab0d25;
border-width: 2px;
border-style: solid;
border-radius: 0.5em;
}
.vertical-timeline .inactive .content{
border-color: transparent;
}
.vertical-timeline .inactive .content h4:hover{
color: #ab0d25;
cursor: pointer;
}
.vertical-timeline .inactive .comments{
display: none;
}
.vertical-timeline .active .circle {
background: #ab0d25;
}
.vertical-timeline .active .content {
padding-left: 10px;
transform: translateX(-5px);
transition:0.3s;
}
.vertical-timeline .content:before, .content:after {
content: "";
width: 0;
height: 0;
border: solid transparent;
position: absolute;
right: 100%;
}
.vertical-timeline .content:before {
border-right-color: inherit;
border-width: 10px;
top: 50%;
margin-top: -11px;
}
.well {background-color: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset; margin-bottom: 20px; min-height: 20px; padding: 19px;}