@@ -267,3 +267,77 @@ span.refresh {
267267 background-image : linear-gradient (to bottom, # ee5f5b, # c43c35 );
268268 background-repeat : repeat-x;
269269}
270+
271+ /** Timeline **/
272+ .timeline {
273+ position : relative;
274+ padding : 1em 0 ;
275+ list-style-type : none;
276+ padding-left : 120px ;
277+ }
278+
279+ .timeline : before {
280+ position : absolute;
281+ top : 0 ;
282+ content : ' ' ;
283+ display : block;
284+ width : 6px ;
285+ height : 100% ;
286+ margin-left : 0px ;
287+ background : rgb (80 , 80 , 80 );
288+ 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% );
289+ 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% );
290+ 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% );
291+ 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% );
292+ 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% );
293+ z-index : 5 ;
294+ }
295+
296+ .timeline li {
297+ padding : 1em 0 ;
298+ }
299+
300+ .timeline li : after {
301+ content : "" ;
302+ display : block;
303+ height : 0 ;
304+ clear : both;
305+ visibility : hidden;
306+ }
307+
308+ .timeline .event {
309+ position : relative;
310+ width : 100% ;
311+ display : inline-block;
312+ left : 15px ;
313+ padding-left : 5px ;
314+ cursor : pointer;
315+ }
316+
317+ .timeline .event .time {
318+ position : absolute;
319+ left : -120px ;
320+ margin-left : -25px ;
321+ display : inline-block;
322+ vertical-align : middle;
323+ text-align : right;
324+ width : 120px ;
325+ }
326+
327+ .timeline .event : before {
328+ content : ' ' ;
329+ display : block;
330+ width : 12px ;
331+ height : 12px ;
332+ background : # fff ;
333+ border-radius : 10px ;
334+ border : 4px solid # 6db33f ;
335+ z-index : 10 ;
336+ position : absolute;
337+ left : -6px ;
338+ margin-left : -15px ;
339+ }
340+
341+ .timeline .event : hover : before {
342+ background : # ccc ;
343+ }
0 commit comments