-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (86 loc) · 1.46 KB
/
styles.css
File metadata and controls
100 lines (86 loc) · 1.46 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
body {
font-family: Arial, sans-serif;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
table, th, td {
border: 1px solid black;
}
th, td {
padding: 10px;
text-align: left;
}
/* time line style */
.timeline {
position: relative;
margin: 0 auto;
padding: 20px 0;
width: 90%;
}
.timeline:before {
content: '';
position: absolute;
top: 0;
left: 50%;
margin-left: -1px;
width: 2px;
height: 100%;
background: #C5C5C5;
}
.timeline-item {
position: relative;
margin: 20px 0;
width: 45%;
}
.timeline-item:nth-child(odd) {
left: 0;
}
.timeline-item:nth-child(even) {
left: 50%;
}
.timeline-item:before {
content: '';
position: absolute;
top: 20px;
right: -9px;
width: 18px;
height: 18px;
border-radius: 50%;
background: #fff;
border: 2px solid #6c757d;
z-index: 1;
}
.timeline-item:nth-child(even):before {
left: -9px;
}
.timeline-icon {
position: absolute;
top: 12px;
right: -25px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #6c757d;
z-index: 2;
}
.timeline-item:nth-child(even) .timeline-icon {
left: -25px;
}
.timeline-content {
padding: 20px;
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 5px;
}
.timeline-title {
margin-top: 0;
color: #343a40;
}
.timeline-date {
font-size: 0.85em;
color: #6c757d;
margin-bottom: 10px;
}