Files
wordpress-theme-aksrt/assets/css/frontend/widgets/part-4.css
T

96 lines
1.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
padding: 9px 0;
border-bottom: 1px dashed var(--color-line);
}
.aksrt-category-recommend__post:last-child {
border-bottom: 0;
}
.aksrt-category-recommend__post-link {
flex: 1 1 auto;
min-width: 0;
font-size: 13px;
line-height: 1.45;
color: var(--color-ink);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.aksrt-category-recommend__post-link:hover {
color: var(--color-primary);
}
.aksrt-category-recommend__date {
flex: 0 0 auto;
color: var(--color-ink-4);
font-size: 11px;
white-space: nowrap;
}
@media (max-width: 767.98px) {
.aksrt-home-widget__header,
.aksrt-home-widget__header--tabs {
align-items: flex-start;
flex-direction: column;
}
.aksrt-home-widget__tab-nav.widget-tab-posts__nav {
justify-content: flex-start;
}
}
/* ============================================================
* 流体挂件区(Fluid Widget Areas)
* 模仿 zibll 的 all_top_fluid / single_top_fluid 等全宽挂载位
* ============================================================ */
.aksrt-fluid-widget {
width: 100%;
max-width: var(--container-wide, 1440px);
margin: 0 auto;
padding: 0 16px;
}
@media (min-width: 768px) {
.aksrt-fluid-widget {
padding: 0 24px;
}
}
.aksrt-fluid-widget .widget {
margin-bottom: 0;
}
.aksrt-fluid-widget--all-top {
padding-top: 16px;
}
.aksrt-fluid-widget--all-bottom {
padding-bottom: 16px;
}
.aksrt-fluid-widget--home-top {
margin-bottom: 24px;
}
.aksrt-fluid-widget--single-top {
margin-bottom: 24px;
}
.aksrt-fluid-widget--single-bottom {
margin-top: 24px;
}
.aksrt-fluid-widget--archive-bottom {
margin-top: 24px;
}
/* 流体挂件区内无边框无背景(全宽展示) */
.aksrt-fluid-widget .widget_custom_html {
background: transparent;
border: none;
box-shadow: none;
padding: 0;
}