-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathlearn-cards.css
More file actions
111 lines (91 loc) · 2.24 KB
/
learn-cards.css
File metadata and controls
111 lines (91 loc) · 2.24 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
101
102
103
104
105
106
107
108
109
110
111
.learn-card {
max-width: 696px;
}
.learn-card .card__cta_section {
padding: 0;
}
.learn-card__row {
display: flex;
align-items: flex-start;
gap: var(--space-large);
align-self: stretch;
flex-direction: row;
}
.learn-card__link-column {
gap: var(--space-s);
}
@media (max-width: 1280px) {
.learn-card__row {
flex-direction: column;
}
.learn-card .square-card-image {
flex: 1 0 auto;
aspect-ratio: 16/9;
}
.learn-card__link-column {
margin-bottom: var(--space-xxl);
}
}
.learn-card__column {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
flex: 1 0 0;
align-self: stretch;
}
.learn-card__title {
color: var(--color-text-primary);
font-family: var(--font-display);
font-size: var(--font-size-large);
font-weight: var(--font-weight-medium);
line-height: var(--line-height-tight);
letter-spacing: -0.24px;
}
.learn-card__text {
color: var(--color-text-secondary);
font-family: var(--font-sans);
font-size: var(--font-size-base);
font-weight: var(--font-weight-medium);
letter-spacing: -0.16px;
}
.learn-card__link-container {
display: flex;
min-width: 128px;
align-items: center;
gap: var(--space-s);
}
.learn-card__link-icon {
fill: var(--color-icon-primary);
}
.learn-card__link-container:hover {
color: var(--color-text-link-accent);
}
.learn-card__link-container:hover .learn-card__link-icon {
fill: var(--color-text-link-accent);
}
.learn-card__link {
font-size: var(--font-size-small);
font-weight: var(--font-weight-medium);
line-height: 124%;
letter-spacing: -0.14px;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: 7.5%;
text-underline-offset: 15.2%;
text-underline-position: from-font;
}
.learn-card__link-tag {
text-decoration: none;
color: inherit;
}
.learn-card__link-tag:focus-visible {
outline: none;
}
.learn-card__link-tag:focus-visible .learn-card__link-container {
outline: 2px solid Highlight;
outline: 2px solid -webkit-focus-ring-color;
outline-offset: 2px;
border-radius: 2px;
}