Remove deprecated widget locations and widgets, standardize sidebar labels, and render a compact paid-post purchase card in the article sidebar.
49 lines
1.8 KiB
CSS
49 lines
1.8 KiB
CSS
/**
|
|
* Batch3c: highlights.
|
|
*/
|
|
|
|
.aksrt-highlights { margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
|
|
.aksrt-highlights__row {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
.aksrt-highlights__row.is-large { grid-template-columns: 1fr; }
|
|
.aksrt-highlights__row.is-medium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.aksrt-highlights__row.is-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
@media (max-width: 767.98px) {
|
|
.aksrt-highlights__row.is-medium,
|
|
.aksrt-highlights__row.is-small { grid-template-columns: 1fr; }
|
|
}
|
|
.aksrt-hl-card {
|
|
display: flex;
|
|
gap: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--color-line, #e5e7eb);
|
|
background: var(--surface-1, #fff);
|
|
padding: 14px;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
overflow: hidden;
|
|
min-height: 100%;
|
|
}
|
|
.aksrt-hl-card.color-blue { --hl: #3b82f6; }
|
|
.aksrt-hl-card.color-pink { --hl: #ec4899; }
|
|
.aksrt-hl-card.color-purple { --hl: #a855f7; }
|
|
.aksrt-hl-card.color-green { --hl: #22c55e; }
|
|
.aksrt-hl-card.color-orange { --hl: #f97316; }
|
|
.aksrt-hl-card.color-cyan { --hl: #06b6d4; }
|
|
.aksrt-hl-card.size-large { min-height: 140px; }
|
|
.aksrt-hl-card__media {
|
|
width: 96px;
|
|
flex-shrink: 0;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: var(--surface-2, #f3f4f6);
|
|
}
|
|
.aksrt-hl-card.size-large .aksrt-hl-card__media { width: 160px; }
|
|
.aksrt-hl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 80px; }
|
|
.aksrt-hl-card__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
|
|
.aksrt-hl-card__icon { color: var(--hl, #3b82f6); font-size: 22px; margin-bottom: 8px; }
|
|
.aksrt-hl-card__title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
|
|
.aksrt-hl-card__desc { font-size: 12px; color: var(--muted-2-color, #888); line-height: 1.5; }
|