Files
wordpress-theme-aksrt/assets/css/frontend/single-post/shell.css
T
kate522 6c354fb086 fix(single): restore Zibll float dual-column and article chrome
Align single-post layout/visuals with Zibll: fix sidebar-over-content
float geometry (position:unset, 311px token, kill Bootstrap/container
padding and the 280px sidebar override), demote theme-box to spacing-
only, unify breadcrumb/cover/graphic utilities, and split aksrt-single
render helpers under the file-size limit.
2026-07-16 12:44:09 +08:00

43 lines
1.3 KiB
CSS

/* Single page shell — relies on body.site-layout-1/2/3 float dual-column
* defined in layout.css (Zibll 1:1). Page-owned overrides stay minimal. */
/* Single article stack lives inside .content-layout as direct children;
* do not re-enable the legacy primary/aside grid here. */
body.single main.container .content-layout {
display: block;
min-width: 0;
}
body.single main.container .content-layout > * {
min-width: 0;
max-width: 100%;
}
/* Breadcrumb sits under fixed header (body.nav-fixed already pads top). */
body.single main.container .content-layout > .breadcrumb,
body.single main.container .content-layout > ul.breadcrumb,
body.single main.container .content-layout > .breadcrumb-nav,
body.single main.container .content-layout > .breadcrumbs-wrap {
position: relative;
z-index: 1;
margin-top: 0;
margin-bottom: 12px;
padding-top: 2px;
}
/* Sticky TOC widget in sidebar — parent .sidebar is position:unset like Zibll */
body.single .sidebar .posts-nav-box.toc-widget {
position: sticky;
top: calc(var(--nav-height, 60px) + 16px);
}
body.single .sidebar .zib-widget,
body.single .sidebar .widget {
margin-bottom: 15px;
}
/* Geometry owned by base/layout — keep single shell free of float overrides. */
body.single main.container {
box-sizing: border-box;
}