File size: 1,476 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "@wordpress/base-styles/colors.native";

.related-plugins {
	margin-top: 48px;
	margin-bottom: 32px;
}

.related-plugins__header {
	display: flex;
	flex-direction: row;
	line-height: 40px;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;

	h2 {
		font-family: $brand-serif;
		font-size: $font-title-large;
		overflow-wrap: anywhere;
		color: $gray-100;
	}

}

.related-plugins__list {
	display: grid;
	grid-template-columns: repeat(2, calc(50% - 12px));
	column-gap: 24px;
	row-gap: 32px;

	.related-plugins-item {
		text-decoration: none;
	}

	.related-plugins-item__icon {
		float: left;
		margin-right: 16px;
		width: 70px;
		height: 70px;
	}

	.related-plugins-item__info,
	.related-plugins-item__excerpt,
	.related-plugins-item__title {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.related-plugins-item__info {
		color: $gray-60;
		font-family: var(--font-sf-pro-text);
		font-size: $font-body-small;
		line-height: 20px;
	}

	.related-plugins-item__title {
		color: $gray-100;
		font-weight: 500;
		font-size: $font-body;
		line-height: 24px;
	}

	.related-plugins-item__excerpt {
		color: $gray-60;
	}

	.related-plugins-item__details {
		margin-top: 8px;
		line-height: 18px;
		font-size: $font-body-extra-small;
		color: $gray-70;
	}

	.related-plugins-item__category {
		color: $gray-60;
		text-transform: capitalize;

		&::before {
			color: $gray-20;
			content: "•";
			margin: 0 8px;
		}
	}
}