forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduct-sublanding.scss
54 lines (44 loc) · 962 Bytes
/
product-sublanding.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
.feature-track {
li {
width: 280px;
}
}
.learning-track {
&--description {
min-height: 1em * $body-line-height * 3;
}
}
.learning-track-container {
width: 440px;
}
.step-circle-text {
color: var(--color-auto-purple-5);
}
.description-text {
opacity: 0.7;
line-height: 1.8em;
}
.uppercase-category-text {
letter-spacing: 0.08em;
font-size: 0.8em;
}
@mixin truncate($maxLine) {
.truncate-overflow-#{$maxLine} {
display: -webkit-box;
-webkit-line-clamp: $maxLine;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
}
@include truncate(3);
@include truncate(8);
.fade-background-left {
background: linear-gradient(to right, var(--color-bg-tertiary), transparent);
}
.fade-background-right {
background: linear-gradient(to left, var(--color-bg-tertiary), transparent);
}
.fade-background-bottom {
background: linear-gradient(to top, var(--color-bg-tertiary), transparent);
}