-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
98 lines (82 loc) · 1.35 KB
/
style.scss
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
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap");
body {
background: #eee;
font-family: "Crimson Text", serif;
}
h1 {
font-size: 48px;
margin: 40px 0 46px;
}
h2 {
margin: 36px 0 20px;
font-size: 30px;
}
p {
font-size: 22px;
line-height: 28px;
&.note {
padding-left: 18px;
border-left: 8px solid #ccc;
font-size: 18px;
line-height: 20px;
}
}
.article {
max-width: 700px;
margin: 0 auto 120px;
.interactive-example {
width: 100%;
}
}
.point {
&.point-draggable {
.point-dot {
cursor: grab;
fill: #4a74c5;
stroke: black;
}
&.dragging {
.point-dot {
cursor: grabbing;
}
}
}
.point-dot {
fill: #333;
}
.point-label {
font-size: 18px;
.label-outline {
stroke-width: 4px;
}
}
}
.label {
user-select: none;
.label-outline {
fill-opacity: 1;
stroke: #fff;
stroke-width: 4px;
stroke-linecap: butt;
stroke-linejoin: miter;
stroke-opacity: 1;
}
}
@keyframes bouncy-animation {
0% {
transform: translateX(-10px);
}
50% {
transform: translateX(0);
}
100% {
transform: translateX(-10px);
}
}
.tutorial-marker {
animation-name: bouncy-animation;
animation-duration: 1.5s;
animation-iteration-count: infinite;
font-size: 25px;
user-select: none;
}