-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposts.css
More file actions
125 lines (107 loc) · 2.19 KB
/
Copy pathposts.css
File metadata and controls
125 lines (107 loc) · 2.19 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* Posts index: editorial list aligned with the same content column and catalogue system as the rest of the site. */
.qs-post-catalogue,
.qs-post-list {
width: 100%;
max-width: 100%;
margin: 0;
box-sizing: border-box;
}
.qs-post-row {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
gap: 1.5rem;
align-items: center;
width: 100%;
max-width: 100%;
min-height: 170px;
padding: 1.25rem 0 1.45rem;
box-sizing: border-box;
}
.qs-post-row + .qs-post-row {
border-top: 1px solid rgba(49, 79, 96, .10);
}
.qs-post-copy { min-width: 0; }
.qs-post-copy h3 {
margin: 0;
color: var(--qs-ocean-deep);
font-size: 1.42rem;
font-weight: 800;
letter-spacing: -.02em;
line-height: 1.2;
}
.qs-post-copy h3 a {
color: inherit;
text-decoration: none;
}
.qs-post-copy h3 a:hover,
.qs-post-copy h3 a:focus-visible {
color: var(--qs-ocean-mid);
text-decoration: underline;
text-underline-offset: .14em;
}
.qs-post-summary {
max-width: none;
margin: .5rem 0 0;
color: var(--qs-ink);
font-size: 1.05rem;
line-height: 1.5;
}
.qs-post-badges {
display: flex;
width: fit-content;
margin-top: .65rem;
}
.qs-post-thumb {
display: grid;
place-items: center;
width: 100%;
max-width: 190px;
height: 120px;
overflow: hidden;
justify-self: end;
border-radius: .35rem;
background: #fff;
text-decoration: none;
}
.qs-post-thumb img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.qs-post-thumb-fallback {
border: 1px solid var(--qs-border);
background: var(--qs-panel);
color: var(--qs-ocean-mid);
}
.qs-post-thumb-fallback span {
font-size: 1.7rem;
font-weight: 800;
letter-spacing: -.05em;
}
@media (max-width: 760px) {
.qs-post-row {
grid-template-columns: minmax(0, 1fr) 104px;
gap: 1rem;
min-height: 145px;
padding: 1.15rem 0 1.3rem;
}
.qs-post-copy h3 { font-size: 1.24rem; }
.qs-post-summary {
font-size: 1rem;
line-height: 1.45;
}
.qs-post-thumb {
width: 104px;
height: 82px;
}
}
@media (max-width: 520px) {
.qs-post-row { grid-template-columns: 1fr; }
.qs-post-thumb {
grid-row: 1;
width: 132px;
height: 88px;
justify-self: start;
}
}