207 lines
4.6 KiB
CSS
207 lines
4.6 KiB
CSS
/* AJAX tab error state */
|
|
.aksrt-homepage__tab-error {
|
|
padding: 32px 16px;
|
|
text-align: center;
|
|
color: var(--color-ink-4, #999);
|
|
font-size: 14px;
|
|
background: var(--surface-1);
|
|
border: none;
|
|
border-radius: var(--main-radius, var(--radius, 8px));
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.aksrt-homepage__tab-retry {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 12px;
|
|
padding: 8px 16px;
|
|
border: 1px solid var(--color-line);
|
|
border-radius: var(--radius-btn, 4px);
|
|
background: var(--surface-4, #fff);
|
|
color: var(--color-ink-3, #777);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: color 0.2s, border-color 0.2s, background 0.2s;
|
|
}
|
|
|
|
.aksrt-homepage__tab-retry:hover {
|
|
color: var(--color-primary, var(--color-primary));
|
|
border-color: var(--color-primary, var(--color-primary));
|
|
background: var(--color-primary-soft);
|
|
}
|
|
|
|
/* ================================================================
|
|
14. RESPONSIVE — TABLET (max-width: 991px)
|
|
================================================================ */
|
|
|
|
@media (max-width: 991.98px) {
|
|
.aksrt-homepage__shell.content-shell,
|
|
.aksrt-homepage__fluid-zone.content-shell {
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list {
|
|
padding: 15px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list .item-thumbnail {
|
|
width: 160px;
|
|
min-width: 160px;
|
|
padding-bottom: calc(160px * 0.7);
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span {
|
|
width: calc(33.333% - 6px);
|
|
padding-bottom: calc(var(--posts-list-scale, 70%) / 3);
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span:nth-child(4) {
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
/* ================================================================
|
|
15. RESPONSIVE — MOBILE (max-width: 767px)
|
|
================================================================ */
|
|
|
|
@media (max-width: 767px) {
|
|
.aksrt-homepage__shell.content-shell {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list {
|
|
padding: 12px;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list .item-thumbnail {
|
|
width: 120px;
|
|
min-width: 120px;
|
|
padding-bottom: calc(120px * 0.7);
|
|
}
|
|
|
|
.aksrt-homepage__posts .item-heading {
|
|
font-size: 15px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.aksrt-homepage__posts .item-excerpt {
|
|
display: none;
|
|
}
|
|
|
|
.aksrt-homepage__posts .meta-right {
|
|
display: none;
|
|
}
|
|
|
|
/* Zibll keeps article cards in two columns throughout the mobile range. */
|
|
.aksrt-homepage__posts[data-view="card"] {
|
|
margin: -5px;
|
|
}
|
|
|
|
.aksrt-homepage__posts[data-view="card"] > .posts-item {
|
|
width: calc(50% - 10px);
|
|
margin: 5px;
|
|
}
|
|
|
|
/* Tab skeleton: smaller thumb */
|
|
.aksrt-homepage__tab-skeleton-thumb {
|
|
width: 120px;
|
|
min-width: 120px;
|
|
height: 84px;
|
|
}
|
|
}
|
|
|
|
/* ================================================================
|
|
16. RESPONSIVE — SMALL MOBILE (max-width: 640px)
|
|
================================================================ */
|
|
|
|
@media (max-width: 640px) {
|
|
.aksrt-homepage__stream-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.aksrt-homepage__stream-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.aksrt-homepage__stream-subtitle {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.aksrt-homepage__tabs,
|
|
.aksrt-homepage__titlebox {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.aksrt-homepage__admin-link {
|
|
margin-left: 0;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
|
|
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.aksrt-homepage__sortbar {
|
|
gap: 10px;
|
|
margin-bottom: 12px;
|
|
padding-bottom: 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list {
|
|
padding: 10px;
|
|
gap: 10px;
|
|
border-radius: var(--radius, 8px);
|
|
}
|
|
|
|
.aksrt-homepage__posts > .posts-item.list .item-thumbnail {
|
|
width: 96px;
|
|
min-width: 96px;
|
|
padding-bottom: calc(96px * 0.7);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.aksrt-homepage__posts .item-heading {
|
|
font-size: 15px;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.aksrt-homepage__posts .item-tags .badge {
|
|
font-size: 11px;
|
|
padding: 2px 5px;
|
|
}
|
|
|
|
.aksrt-homepage__posts .item-meta {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.aksrt-homepage__posts .meta-avatar {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.aksrt-homepage__posts .meta-item {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Tab skeleton: adapt */
|
|
.aksrt-homepage__tab-skeleton-thumb {
|
|
width: 96px;
|
|
min-width: 96px;
|
|
height: 67px;
|
|
}
|
|
}
|
|
|