This repository has been archived by the owner on May 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
timeline.css
92 lines (85 loc) · 2.09 KB
/
timeline.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
85
86
87
88
89
90
91
92
/* ================ The Timeline ================ */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.timeline {
position: relative;
width: 660px;
margin-left: 5px;
padding: 1em 0;
list-style-type: none;
}
.timeline:before {
position: absolute;
top: 0;
content: ' ';
display: block;
width: 6px;
height: 100%;
background: rgb(80,80,80);
background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
z-index: 5;
}
.timeline li {
position: relative;
padding: 5px 0;
}
.timeline li:after {
content: "";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.flag {
position: relative;
display: inline;
width: 20%;
padding-left: 10px;
border-radius: 5px;
font-size: medium;
font-weight: 500;
text-align: left;
}
.flag:before {
position: absolute;
top: -5px;;
left: -9px;
content: ' ';
display: block;
width: 15px;
height: 15px;
background: #fff;
border-radius: 10px;
border: 4px solid #3b8fb8;
z-index: 10;
}
.flag-wrapper {
background: #3b8fb8;
padding: 5px;
border-radius: 5px;
margin-left: 15px;
}
.flag-wrapper:before {
content: ' ';
top: -5px;
left: 14px;
height: 0;
width: 0;
position: absolute;
border-bottom: 14.5px solid transparent;
border-top: 14.5px solid transparent;
border-right: 14px solid #3b8fb8;
}
.desc {
margin-top: 20px;
margin-left: 30px;
margin-bottom: 10px;
}