补充主题静态资源与归档模板

This commit is contained in:
kate522 committed 2026-07-03 23:15:11 +08:00
1 parent 1268a55dd0
commit 3247db7ed1
265 files changed
+59174

No files matched your search

@@ -0,0 +1,197 @@
/* AJAX tab error state */
.aksrt-homepage__tab-error {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
font-size: 14px;
}
.aksrt-homepage__tab-retry {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 12px;
padding: 6px 14px;
border: 1px solid var(--color-line);
border-radius: var(--radius, 8px);
background: var(--surface-1, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
cursor: pointer;
transition: color 0.2s, border-color 0.2s;
}
.aksrt-homepage__tab-retry:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
}
/* ================================================================
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;
}
/* Card mode: 2 columns */
.aksrt-homepage__posts[data-view="card"] > .posts-item {
width: calc(50% - 16px);
}
}
/* ================================================================
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;
}
/* Card mode: 2 columns (match Zibll) */
.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__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;
}
/* Card mode: single column */
.aksrt-homepage__posts[data-view="card"] {
margin: 0;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item {
width: 100%;
margin: 0 0 10px;
}
/* Tab skeleton: adapt */
.aksrt-homepage__tab-skeleton-thumb {
width: 96px;
min-width: 96px;
height: 67px;
}
}
@@ -0,0 +1,51 @@
/* AJAX tab skeleton placeholder */
.aksrt-homepage__tab-skeleton {
display: flex;
flex-direction: column;
gap: 15px;
padding: 10px 0;
}
.aksrt-homepage__tab-skeleton-item {
display: flex;
gap: 16px;
padding: 20px;
background: var(--surface-1, #fff);
border-radius: var(--radius, 8px);
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
.aksrt-homepage__tab-skeleton-thumb {
width: 190px;
min-width: 190px;
height: 133px;
background: var(--surface-2, #eee);
border-radius: var(--radius, 8px);
}
.aksrt-homepage__tab-skeleton-body {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.aksrt-homepage__tab-skeleton-line {
height: 14px;
background: var(--surface-2, #eee);
border-radius: 4px;
}
.aksrt-homepage__tab-skeleton-line:first-child {
width: 70%;
height: 18px;
}
.aksrt-homepage__tab-skeleton-line:nth-child(2) {
width: 100%;
}
.aksrt-homepage__tab-skeleton-line:nth-child(3) {
width: 40%;
}
@@ -0,0 +1,401 @@
/**
* Homepage Fixed Layout — Zibll Visual Parity
*
* Implements Zibll's homepage visual language:
* - System font stack with Chinese fallbacks
* - 1200px container, 311px sidebar
* - Post cards: list mode (190px thumb) + card mode (3-col grid)
* - Zibll shadow/radius/spacing values
* - scale(1.02) thumbnail hover
* - Lazy-load animations (blur/fade/scale)
* - Full responsive: 1200/991/767/640px breakpoints
*/
/* ================================================================
0. ANIMATIONS
================================================================ */
@keyframes aksrt-lazy-blur {
from { filter: blur(5px); opacity: 0.6; }
to { filter: blur(0); opacity: 1; }
}
@keyframes aksrt-lazy-fade {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes aksrt-lazy-scale {
from { transform: scale(1.1); opacity: 0.8; }
to { transform: scale(1); opacity: 1; }
}
@keyframes aksrt-skeleton-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
/* ================================================================
1. HOMEPAGE CONTAINER & TYPOGRAPHY
================================================================ */
.aksrt-homepage {
font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
font-size: 16px;
line-height: 1.42857143;
color: var(--main-color, #4e5358);
background: transparent;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.aksrt-homepage a[href] {
transition: color 0.2s, background 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
}
.aksrt-homepage img.aksrt-loaded {
animation: aksrt-lazy-blur 0.6s ease;
}
.aksrt-homepage img.aksrt-loaded.img-icon {
animation: aksrt-lazy-fade 0.6s ease;
}
.aksrt-homepage .aksrt-skeleton {
animation: aksrt-skeleton-pulse 1.5s ease-in-out infinite;
}
/* ================================================================
2. LAYOUT SHELL
================================================================ */
.aksrt-homepage__fluid-zone.content-shell,
.aksrt-homepage__shell.content-shell {
max-width: min(100%, var(--container, 1200px));
}
.aksrt-homepage__fluid-zone.content-shell {
padding-top: 18px;
padding-bottom: 0;
}
.aksrt-homepage__hero {
width: 100vw;
max-width: 100vw;
margin: 0 calc(-50vw + 50%) 24px;
}
.aksrt-homepage__hero .header-components-container {
margin-bottom: 0;
}
.aksrt-homepage__shell.content-shell {
padding-top: 0;
padding-bottom: 36px;
}
.aksrt-homepage__content-layout {
gap: 20px;
}
@media (min-width: 992px) {
.aksrt-homepage__content-layout {
grid-template-columns: minmax(0, 1fr) var(--sidebar-width, 311px);
}
}
@media (max-width: 1200px) {
.aksrt-homepage__fluid-zone.content-shell,
.aksrt-homepage__shell.content-shell {
max-width: 95%;
}
}
.aksrt-homepage__content-zone,
.aksrt-homepage__fluid-zone,
.aksrt-homepage__aside {
display: block;
}
.aksrt-homepage__system-modules {
gap: 0;
padding-bottom: 0;
}
.aksrt-homepage__content-zone.aksrt-homepage__system-modules {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--featured {
margin-bottom: 20px;
}
.aksrt-homepage__content-zone--featured.home-modules {
gap: 24px;
padding-bottom: 0;
}
.aksrt-homepage__content-zone .widget-card:last-child,
.aksrt-homepage__aside .widget:last-child,
.aksrt-homepage__fluid-zone .widget-fluid:last-child {
margin-bottom: 0;
}
/* ================================================================
3. FLUID WIDGETS
================================================================ */
.aksrt-homepage__fluid-zone .widget-fluid {
margin-bottom: 20px;
background: transparent;
padding: 0;
border: 0;
box-shadow: none;
}
.aksrt-homepage .widget-fluid.widget_aksrt_tab_posts,
.aksrt-homepage .widget-fluid.widget_aksrt_category_block,
.aksrt-homepage .widget-fluid.widget_aksrt_category_tabs,
.aksrt-homepage .widget-fluid.widget_aksrt_category_recommend {
padding: 15px;
background: var(--surface-1, #fff);
border-radius: var(--radius, 8px);
box-shadow: 0 0 10px var(--shadow, rgba(116, 116, 116, 0.08));
}
.aksrt-homepage__content-zone .widget-card,
.aksrt-homepage__aside .widget {
background: var(--surface-1, #fff);
padding: 15px;
border: none;
border-radius: var(--radius, 8px);
box-shadow: 0 0 10px var(--shadow, rgba(116, 116, 116, 0.08));
}
/* ================================================================
4. STREAM CONTAINER
================================================================ */
.aksrt-homepage__stream,
.aksrt-homepage__stream.widget-card {
overflow: visible;
padding: 0;
background: transparent;
border: 0;
border-radius: 0;
box-shadow: none;
margin-bottom: 0;
}
/* ================================================================
5. TABS
================================================================ */
.aksrt-homepage__tabs,
.aksrt-homepage__titlebox {
margin-bottom: 10px;
padding-bottom: 0;
border-bottom: 0;
}
.aksrt-homepage__tabs.box-body,
.aksrt-homepage__titlebox.box-body {
padding: 0;
}
.aksrt-homepage__tabs-sentinel {
width: 100%;
height: 1px;
margin: 0;
pointer-events: none;
}
.aksrt-homepage__tabs.home-tab-nav-box {
position: static;
z-index: auto;
background: transparent;
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"] {
position: sticky;
top: var(--nav-height, 60px);
z-index: 995;
background: transparent;
transition: background-color 0.2s ease,
box-shadow 0.2s ease,
border-radius 0.2s ease,
padding 0.2s ease,
margin 0.2s ease,
backdrop-filter 0.2s ease,
-webkit-backdrop-filter 0.2s ease;
}
.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 {
margin-bottom: 14px;
padding: 10px 16px;
background: rgba(255, 255, 255, 0.92);
border-radius: 12px;
box-shadow: 0 10px 28px rgba(24, 24, 24, 0.08);
backdrop-filter: saturate(1.6) blur(20px);
-webkit-backdrop-filter: saturate(1.6) blur(20px);
}
.aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
position: fixed;
}
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-stuck,
html.dark .aksrt-homepage__tabs.home-tab-nav-box[data-sticky-tabs="true"].is-affixed {
background: rgba(24, 24, 24, 0.82);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.aksrt-homepage__tab-list {
list-style: none;
display: flex;
align-items: center;
gap: 4px;
margin: 0;
padding: 0;
}
.aksrt-homepage__admin-link {
margin-left: auto;
}
.scroll-x {
overflow-x: auto;
overflow-y: hidden;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.aksrt-homepage__tab-item {
display: inline-flex;
flex: 0 0 auto;
padding: 0;
margin: 0;
border-radius: 20px;
font-weight: 500;
transition: background 0.2s ease, color 0.2s ease;
}
.aksrt-homepage__tab-button {
padding: 6px 14px;
border: 0;
background: transparent;
color: var(--color-ink);
font-family: inherit;
font-size: 14px;
font-weight: inherit;
line-height: 1.2;
white-space: nowrap;
border-radius: inherit;
cursor: pointer;
}
.aksrt-homepage__tab-button:hover {
color: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active {
background: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__tab-item.is-active .aksrt-homepage__tab-button,
.aksrt-homepage__tab-button[aria-selected="true"] {
color: #fff !important;
}
/* ================================================================
6. SORTBAR + VIEW TOGGLE
================================================================ */
.aksrt-homepage__sortbar {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 16px;
padding: 2px 0 14px;
border-bottom: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
color: var(--color-ink-3, #777);
font-size: 14px;
}
.aksrt-homepage__sortbar-label {
flex: 0 0 auto;
color: var(--color-ink);
font-weight: 700;
}
.aksrt-homepage__sortbar-links {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0;
flex: 1 1 auto;
}
.aksrt-homepage__sortbar-link {
position: relative;
display: inline-flex;
align-items: center;
padding: 0 12px;
color: var(--color-ink-3, #777);
text-decoration: none;
line-height: 1.4;
}
.aksrt-homepage__sortbar-link:first-child {
padding-left: 0;
}
.aksrt-homepage__sortbar-link + .aksrt-homepage__sortbar-link::before {
content: "\00b7";
position: absolute;
left: -2px;
color: var(--color-ink-4, #b1b1b1);
}
.aksrt-homepage__sortbar-link:hover,
.aksrt-homepage__sortbar-link.is-active {
color: var(--color-ink);
}
.aksrt-homepage__view-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: auto;
flex: 0 0 auto;
}
.aksrt-homepage__view-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
padding: 0;
border: 0;
background: transparent;
color: var(--color-ink-4, #999);
border-radius: 4px;
cursor: pointer;
transition: color 0.2s, background 0.2s;
}
.aksrt-homepage__view-btn:hover {
color: var(--color-ink);
background: var(--surface-2, #eee);
}
@@ -0,0 +1,400 @@
.aksrt-homepage__view-btn.is-active {
color: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__view-btn svg {
width: 16px;
height: 16px;
fill: currentColor;
}
/* ================================================================
7. TITLE THEME (sidebar section headers)
================================================================ */
.title-theme {
position: relative;
padding-left: 1.2em;
font-size: 15px;
font-weight: 700;
line-height: 1.4;
}
.title-theme::before {
position: absolute;
content: "";
width: 4px;
background: var(--color-primary, var(--color-primary));
top: 10%;
left: 2px;
bottom: 10%;
border-radius: 5px;
box-shadow: 1px 1px 3px -1px var(--color-primary, var(--color-primary));
}
.aksrt-homepage__page-indicator {
margin-left: 10px;
font-size: 80%;
font-weight: 400;
opacity: 0.7;
}
/* ================================================================
8. PANELS
================================================================ */
.aksrt-homepage__panel[hidden] {
display: none !important;
}
.aksrt-homepage__panels {
display: block;
}
.home-tab-content {
display: block;
}
.index-tab-main .tab-pane[hidden],
.home-tab-content .tab-pane[hidden] {
display: none !important;
}
.aksrt-homepage__panel {
opacity: 0;
transition: opacity 0.3s ease;
}
.aksrt-homepage__panel.is-active,
.aksrt-homepage__panel:not([hidden]) {
opacity: 1;
}
/* ================================================================
9. POST LIST — LIST MODE
================================================================ */
.aksrt-homepage__posts {
display: block;
margin: 0;
}
.aksrt-homepage__posts > .posts-item.list {
width: 100%;
margin: 15px 0;
padding: 20px;
display: flex;
flex-direction: row;
gap: 16px;
min-width: 0;
background: var(--surface-1, #fff);
border: none;
border-radius: var(--radius, 8px);
box-shadow: 0 0 10px var(--shadow, rgba(116, 116, 116, 0.08));
overflow: hidden;
transition: box-shadow 0.2s, transform 0.2s;
}
.aksrt-homepage__posts > .posts-item.list:last-child {
margin-bottom: 0;
}
.aksrt-homepage__posts > .posts-item.list:hover {
box-shadow: 0 4px 16px rgba(116, 116, 116, 0.16);
transform: translateY(-1px);
}
html.dark .aksrt-homepage__posts > .posts-item.list:hover,
html.dark .aksrt-homepage__posts > .posts-item.list:hover {
box-shadow: 0 4px 16px rgba(24, 24, 24, 0.22);
}
.aksrt-homepage__posts > .posts-item.list .item-thumbnail {
position: relative;
width: 190px;
min-width: 190px;
height: 0;
padding-top: 0;
padding-bottom: calc(190px * 0.7);
border-radius: var(--radius, 8px);
overflow: hidden;
flex-shrink: 0;
}
.aksrt-homepage__posts > .posts-item.list .item-thumbnail > a {
position: absolute;
inset: 0;
display: block;
}
.aksrt-homepage__posts > .posts-item.list .item-thumbnail img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.aksrt-homepage__posts > .posts-item.list:hover .item-thumbnail img {
transform: scale(1.02);
}
.aksrt-homepage__posts > .posts-item.list .item-thumbnail .aksrt-skeleton {
position: absolute;
inset: 0;
background: var(--surface-2, #eee);
border-radius: inherit;
}
.aksrt-homepage__posts > .posts-item.list .item-thumbnail .img-badge {
position: absolute;
top: 8px;
left: 8px;
padding: 2px 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
line-height: 1.4;
background: rgba(0, 0, 0, 0.6);
color: #fff;
z-index: 1;
}
.aksrt-homepage__posts > .posts-item.list .thumb-items {
display: none;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb {
display: block;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .item-thumbnail {
display: none;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items {
display: block;
margin: 0 -3px 6px;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span {
position: relative;
display: inline-block;
width: calc(25% - 6px);
height: 0;
margin: 0 3px;
padding-bottom: calc(var(--posts-list-scale, 70%) / 4);
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items.contain > span {
overflow: hidden;
background: var(--color-line, rgba(50, 50, 50, 0.06));
border-radius: var(--radius, 8px);
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span .aksrt-skeleton,
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span > img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .thumb-items > span > img {
object-fit: cover;
transition: transform 0.3s;
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb:hover .thumb-items > span > img {
transform: scale(1.02);
}
.aksrt-homepage__posts > .posts-item.list.mult-thumb .item-body {
width: 100%;
padding: 2px 0 0;
}
.aksrt-homepage__posts > .posts-item.list .item-body {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 8px;
margin: 0;
padding: 2px 0;
min-width: 0;
flex: 1 1 auto;
}
.aksrt-homepage__posts .item-heading {
margin: 0 0 2px;
font-size: 18px;
font-weight: 500;
line-height: 1.4;
min-height: 0;
max-height: 2.8em;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
color: var(--color-ink);
}
.aksrt-homepage__posts .item-heading a {
color: inherit;
text-decoration: none;
}
.aksrt-homepage__posts .item-heading a:hover {
color: var(--color-primary, var(--color-primary));
}
.aksrt-homepage__posts .item-excerpt {
margin: 0;
color: var(--main-color, #4e5358);
font-size: 14px;
line-height: 1.6;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.aksrt-homepage__posts .item-tags {
display: flex;
align-items: center;
min-height: 0;
margin-bottom: 0;
gap: 5px;
flex-wrap: wrap;
overflow: visible;
}
.aksrt-homepage__posts .item-tags .badge {
min-height: auto;
margin-right: 0;
padding: 2px 5px;
border-radius: 4px;
font-size: 11px;
line-height: 1.4;
font-weight: 400;
}
.aksrt-homepage__posts .item-meta {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0;
padding-top: 0;
border-top: 0;
font-size: 13px;
color: var(--color-ink-3, #777);
}
.aksrt-homepage__posts .meta-author,
.aksrt-homepage__posts .meta-right {
display: flex;
align-items: center;
gap: 8px;
}
.aksrt-homepage__posts .meta-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
}
.aksrt-homepage__posts .meta-name {
color: var(--color-ink);
font-weight: 500;
}
.aksrt-homepage__posts .meta-dot {
width: 4px;
height: 4px;
border-radius: 999px;
background: var(--color-ink-4, #b1b1b1);
}
.aksrt-homepage__posts .meta-item {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 13px;
white-space: nowrap;
color: var(--color-ink-3, #777);
}
.aksrt-homepage__posts .meta-item i {
font-size: 12px;
}
/* ================================================================
10. POST CARDS — CARD MODE (3-column grid)
================================================================ */
.aksrt-homepage__posts[data-view="card"] {
display: flex;
flex-wrap: wrap;
margin: -8px;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item {
width: calc(33.333% - 16px);
margin: 8px;
padding: 10px;
display: flex;
flex-direction: column;
background: var(--surface-1, #fff);
border: none;
border-radius: var(--radius, 8px);
box-shadow: none;
overflow: hidden;
transition: box-shadow 0.3s, transform 0.2s;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item:hover {
box-shadow: 0 0 10px var(--shadow, rgba(116, 116, 116, 0.08));
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.style2 {
background: transparent;
box-shadow: none;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.style2:hover {
background: var(--surface-1, #fff);
box-shadow: 0 0 10px var(--shadow, rgba(116, 116, 116, 0.08));
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.style3 {
padding: 0;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-thumbnail {
position: relative;
display: block;
width: 100%;
height: 0;
padding-top: 0;
padding-bottom: var(--posts-card-scale, 70%);
min-width: unset;
border-radius: var(--radius, 8px);
overflow: hidden;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-thumbnail > a {
position: absolute;
inset: 0;
display: block;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-thumbnail img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
@@ -0,0 +1,245 @@
transition: transform 0.3s;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.mult-thumb .thumb-items {
display: none;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.mult-thumb .item-thumbnail {
display: block;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.style3 .item-thumbnail,
.aksrt-homepage__posts[data-view="card"] > .posts-item.style3 .item-thumbnail img {
border-radius: var(--radius, 8px) var(--radius, 8px) 0 0;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item:hover .item-thumbnail img {
transform: scale(1.02);
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-body {
width: 100%;
margin: 10px 0 0;
padding: 0;
gap: 6px;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item.style3 .item-body {
margin: 0;
padding: 10px;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-heading {
font-size: 14px;
font-weight: 500;
line-height: 1.4;
min-height: 2.8em;
-webkit-line-clamp: 2;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-excerpt {
display: none;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .item-meta {
font-size: 12px;
}
.aksrt-homepage__posts[data-view="card"] > .posts-item .meta-right {
display: none;
}
/* ================================================================
11. PAGINATION
================================================================ */
.aksrt-homepage__panel-footer {
display: flex;
justify-content: center;
margin-top: 18px;
}
.aksrt-homepage__more,
.aksrt-homepage .aksrt-load-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border: 1px solid var(--color-line, rgba(50, 50, 50, 0.06));
border-radius: var(--radius, 8px);
background: var(--surface-1, #fff);
color: var(--color-ink-3, #777);
font-size: 13px;
font-weight: 500;
transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.aksrt-homepage__more:hover,
.aksrt-homepage .aksrt-load-more-btn:hover {
color: var(--color-primary, var(--color-primary));
border-color: var(--color-primary, var(--color-primary));
box-shadow: none;
transform: none;
}
.aksrt-homepage .ajax-pagination {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-top: 20px;
}
.aksrt-homepage .navigation.pagination .nav-links,
.aksrt-homepage .pagination {
gap: 0;
margin: 20px 0 10px;
}
.aksrt-homepage .navigation.pagination .page-numbers,
.aksrt-homepage .pagination .page-numbers {
min-width: 31px;
height: auto;
padding: 6px 9px 5px;
margin: 3px;
border: 0;
border-radius: 3px;
background: var(--surface-2, #eee);
color: var(--color-ink-3, #777);
font-size: 13px;
line-height: 1.4;
}
.aksrt-homepage .navigation.pagination .page-numbers:hover,
.aksrt-homepage .pagination .page-numbers:hover {
opacity: 0.7;
}
.aksrt-homepage .navigation.pagination .current,
.aksrt-homepage .pagination .current {
background: var(--color-primary, var(--color-primary)) !important;
color: #fff !important;
}
/* ================================================================
12. SIDEBAR
================================================================ */
.aksrt-homepage__aside .widget-list li,
.aksrt-homepage__aside .widget_recent_entries li,
.aksrt-homepage__aside .recent-posts-row {
padding-top: 8px;
padding-bottom: 8px;
}
.aksrt-homepage__aside .widget-title,
.aksrt-homepage__content-zone .widget-title {
margin-bottom: 12px;
}
.aksrt-homepage__aside .widget-title {
position: relative;
margin: 0 0 10px;
padding-left: 1.2em;
padding-bottom: 8px;
font-size: 15px;
font-weight: 700;
line-height: 1.4;
}
.aksrt-homepage__aside .widget-title::before {
content: "";
position: absolute;
top: 10%;
bottom: 10%;
left: 2px;
width: 4px;
height: auto;
background: var(--color-primary, var(--color-primary));
border-radius: 5px;
box-shadow: 1px 1px 3px -1px var(--color-primary, var(--color-primary));
transition: transform 0.4s ease;
transform-origin: left;
}
.aksrt-homepage__aside .widget_recent_entries li a,
.aksrt-homepage__aside .widget-list li a {
font-size: 13px;
font-weight: 500;
line-height: 1.5;
}
.aksrt-homepage__aside .widget_recent_entries li {
display: block;
}
.aksrt-homepage__aside .widget_search .search-field {
height: 40px;
border-radius: 30px;
background: var(--surface-2, #eee);
}
.aksrt-homepage__aside .widget_search .search-submit {
top: 4px;
right: 4px;
height: 32px;
padding: 0 12px;
border-radius: 30px;
font-size: 12px;
}
.aksrt-homepage__aside .tag-cloud {
gap: 6px;
}
.aksrt-homepage__aside .tag-cloud a {
padding: 4px 10px;
border-radius: 20px;
font-size: 12px;
border: 0;
background: var(--surface-2, #eee);
transition: background 0.2s, color 0.2s;
}
.aksrt-homepage__aside .tag-cloud a:hover {
background: var(--color-primary, var(--color-primary));
color: #fff;
}
.aksrt-homepage .widget.notop,
.aksrt-homepage .box-body.notop {
padding-top: 0;
}
.aksrt-homepage .widget.nobottom,
.aksrt-homepage .box-body.nobottom {
padding-bottom: 0;
}
.aksrt-homepage .widget.widget_custom_html {
padding: 0;
background: transparent;
box-shadow: none;
border-radius: 0;
}
/* ================================================================
13. LOADING & EMPTY STATES
================================================================ */
.aksrt-homepage .aksrt-loading-indicator {
display: flex;
align-items: center;
gap: 8px;
color: var(--color-ink-3, #777);
font-size: 13px;
}
.aksrt-homepage__stream .no-results {
padding: 32px 16px;
text-align: center;
color: var(--color-ink-4, #999);
}
@@ -0,0 +1,3 @@
@import url("base-1.css");
@import url("base-2.css");
@import url("base-3.css");