-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
76 lines (65 loc) · 1.1 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
/* @tailwind base;
@tailwind components;
@tailwind utilities; */
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: 'Inter', 'system-ui', sans-serif;
}
* {
box-sizing: content-box;
}
.timeline ul li {
margin: 0 auto;
}
.timeline ul li::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
width: 30px;
height: 30px;
border-radius: 50%;
background: black;
}
.timeline ul li div::before {
content: '';
position: absolute;
bottom: 7px;
width: 0;
height: 0;
border-style: solid;
}
.timeline ul li:nth-child(odd) div {
left: 45px;
}
.timeline ul li:nth-child(odd) div::before {
left: -15px;
border-width: 8px 16px 8px 0;
border-color: transparent black transparent transparent;
}
.timeline ul li:nth-child(even) div {
left: -439px;
}
.timeline ul li:nth-child(even) div::before {
right: -15px;
border-width: 8px 0 8px 16px;
border-color: transparent transparent transparent black;
}
@keyframes pulse {
100% {
opacity: 0;
}
50% {
opacity: 100;
}
0% {
opacity: 0;
}
}
.animation-pulse-slow {
animation: pulse 1.5s linear infinite;
}